segfault at 215 ip 00007f10985b40c7 sp 00007f10657f9268 error 4 in libc-2.17.so[7f1098520000+1b8000],
error 4表示用户态进程访问了无效地址,
hex(0x00007f10985b40c7-0x7f1098520000)得到偏移0x940c7,
objdump -D /lib64/libc-2.17.so反汇编,找到0x940c7
segfault at 215 ip 00007f10985b40c7 sp 00007f10657f9268 error 4 in libc-2.17.so[7f1098520000+1b8000],
error 4表示用户态进程访问了无效地址,
hex(0x00007f10985b40c7-0x7f1098520000)得到偏移0x940c7,
objdump -D /lib64/libc-2.17.so反汇编,找到0x940c7