Skip to content

Instantly share code, notes, and snippets.

@nh2
Created November 13, 2018 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nh2/71decd35a0a6b97f389a6742f38843c8 to your computer and use it in GitHub Desktop.
Save nh2/71decd35a0a6b97f389a6742f38843c8 to your computer and use it in GitHub Desktop.
Program crash with patched glibc at load time with LD_PRELOAD
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fde227dce96 in _dl_vdso_vsym ()
from /nix/store/3fxy1lxsvg8jajyk3w4jhsabingzvhwz-glibc-2.26-131/lib/libc.so.6
(gdb) bt
#0 0x00007fde227dce96 in _dl_vdso_vsym () from /nix/store/3fxy1lxsvg8jajyk3w4jhsabingzvhwz-glibc-2.26-131/lib/libc.so.6
#1 0x00007fde22764aa3 in time_ifunc () from /nix/store/3fxy1lxsvg8jajyk3w4jhsabingzvhwz-glibc-2.26-131/lib/libc.so.6
#2 0x00007fde2385de0a in _dl_relocate_object () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/ld-linux-x86-64.so.2
#3 0x00007fde23855efa in dl_main () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/ld-linux-x86-64.so.2
#4 0x00007fde2386a579 in _dl_sysdep_start () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/ld-linux-x86-64.so.2
#5 0x00007fde23853d4a in _dl_start () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/ld-linux-x86-64.so.2
#6 0x00007fde23852ea8 in _start () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/ld-linux-x86-64.so.2
#7 0x0000000000000001 in ?? ()
#8 0x00007ffd432490a1 in ?? ()
#9 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment