Skip to content

Instantly share code, notes, and snippets.

@antifuchs
Created June 28, 2010 23:23
Show Gist options
  • Save antifuchs/456535 to your computer and use it in GitHub Desktop.
Save antifuchs/456535 to your computer and use it in GitHub Desktop.
asf@baker:~/dl/src/tmux-1.2> ldd tmux
linux-vdso.so.1 => (0x00007fff3ba91000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00007f14f34fc000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f14f32c4000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f14f30c1000)
libevent-1.4.so.2 => /usr/local/lib/libevent-1.4.so.2 (0x00007f14f2ea6000)
libc.so.6 => /lib/libc.so.6 (0x00007f14f2b53000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f14f294f000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f14f2737000)
librt.so.1 => /lib/librt.so.1 (0x00007f14f252e000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f14f231a000)
/lib64/ld-linux-x86-64.so.2 (0x00007f14f373b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f14f20fe000)
asf@baker:~/dl/src/tmux-1.2> ./tmux
fatal: main_dispatch: imsg_read failed
asf@baker:~/dl/src/tmux-1.2> gdb ./tmux
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) set follow-fork-mode child
(gdb) run
Starting program: /home/asf/dl/src/tmux-1.2/tmux
[Thread debugging using libthread_db enabled]
[Thread debugging using libthread_db enabled]
[New Thread 0x7f88589506e0 (LWP 3571)]
[Thread debugging using libthread_db enabled]
[New Thread 0x7f88589506e0 (LWP 3572)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f88589506e0 (LWP 3572)]
0x00007f8857bd7a0e in ?? () from /lib/libc.so.6
(gdb) backtrace
#0 0x00007f8857bd7a0e in ?? () from /lib/libc.so.6
#1 0x00007f8857bda2a6 in ?? () from /lib/libc.so.6
#2 0x00007f8857bdba58 in malloc () from /lib/libc.so.6
#3 0x000000000044192e in imsg_get ()
#4 0x00000000004280c1 in server_client_msg_dispatch ()
#5 0x000000000042741c in server_client_callback ()
#6 0x00007f8857ebe538 in event_base_loop (base=0x1307030, flags=<value optimized out>) at event.c:395
#7 0x000000000042a662 in server_loop ()
#8 0x000000000042a648 in server_start ()
#9 0x0000000000403b5e in client_init ()
#10 0x0000000000431b10 in main ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment