> Date: Fri, 17 Apr 2015 09:04:26 +0100
> From: Nicholas Marriott <[email protected]>
> 
> Hi
> 
> No not much use without symbols unfortunately.

Stuart,

If your didn't update your source tree, building tmux with make
DEBUG=-g and it should be possible to use the new binary to produce
backtraces with the old core dump.  Just ignore the warning that GDB
gives you ;).

Do check though that the optimization options don't change if you pass
DEBUG=-g.  Sometimes that leaves off the -O2 option.  In that case,
build with DEBUG="-g -O2".  If you're paranoid you can disassemble the
critical bits of code in the original binary and compare with the new
binary.

> On Fri, Apr 17, 2015 at 08:18:53AM +0100, Stuart Henderson wrote:
> > I'm not sure how much use this is without symbols, but thought I should
> > mention it anyway. I was just typing into tmux->ssh->mutt at the time.
> > 
> > Core was generated by `tmux'.
> > Program terminated with signal 11, Segmentation fault.
> > (no debugging symbols found)
> > Loaded symbols for /usr/bin/tmux
> > Reading symbols from /usr/lib/libutil.so.12.1...done.
> > Loaded symbols for /usr/lib/libutil.so.12.1
> > Reading symbols from /usr/lib/libcurses.so.14.0...done.
> > Loaded symbols for /usr/lib/libcurses.so.14.0
> > Reading symbols from /usr/lib/libevent.so.4.1...done.
> > Loaded symbols for /usr/lib/libevent.so.4.1
> > Reading symbols from /usr/lib/libc.so.78.1...done.
> > Loaded symbols for /usr/lib/libc.so.78.1
> > Reading symbols from /usr/libexec/ld.so...done.
> > Loaded symbols for /usr/libexec/ld.so
> > #0  0x00000d5772447633 in tty_cmd_insertline () from /usr/bin/tmux
> > (gdb) bt
> > #0  0x00000d5772447633 in tty_cmd_insertline () from /usr/bin/tmux
> > #1  0x00000d5772447a3d in tty_cmd_insertline () from /usr/bin/tmux
> > #2  0x00000d577244856f in tty_cmd_insertline () from /usr/bin/tmux
> > #3  0x00000d5772450b2c in tty_cmd_insertline () from /usr/bin/tmux
> > #4  0x00000d577242e146 in control_callback () from /usr/bin/tmux
> > #5  0x00000d5772433522 in control_callback () from /usr/bin/tmux
> > #6  0x00000d5772437160 in control_callback () from /usr/bin/tmux
> > #7  0x00000d577243861d in server_client_callback ()
> >    from /usr/bin/tmux
> > #8  0x00000d59c57191a8 in event_base_loop (base=0xd5a215d9000,
> >     flags=Variable "flags" is not available.
> > ) at /usr/src/lib/libevent/event.c:350
> > #9  0x00000d577243aaa0 in server_client_callback ()
> >    from /usr/bin/tmux
> > #10 0x00000d577243b05a in server_client_callback ()
> >    from /usr/bin/tmux
> > #11 0x00000d57724128d2 in cfg_default_done () from /usr/bin/tmux
> > #12 0x00000d57724129c8 in cfg_default_done () from /usr/bin/tmux
> > #13 0x00000d57724420a0 in server_client_callback ()
> >    from /usr/bin/tmux
> > #14 0x00000d577240fdb1 in ?? () from /usr/bin/tmux
> > #15 0x0000000000000000 in ?? ()
> > 
> 
> 

Reply via email to