Here's what I get:

> gdb tmux core.8841
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6)
Copyright (C) 2010 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /cad/abc/apps/gnu/linux/x86_64/6/bin/tmux...(no
debugging symbols found)...done.

warning: core file may not match specified executable file.
[New Thread 8841]
Missing separate debuginfo for /dgagent/lib64/preload.so
Try: yum --enablerepo='*-debug*' install
/usr/lib/debug/.build-id/c8/6a4819d6051f6303e89794963394b6ec709996
Missing separate debuginfo for
/cad/abc/apps/gnu/linux/x86_64/6/lib/libevent-2.0.so.5
Try: yum --enablerepo='*-debug*' install
/usr/lib/debug/.build-id/30/82f454498a3b8ee0e860b1869c6403d216cd69
Missing separate debuginfo for
Try: yum --enablerepo='*-debug*' install
/usr/lib/debug/.build-id/08/e42c6c3d2cd1e5d68a43b717c9eb3d310f2df0
Reading symbols from /dgagent/lib64/preload.so...(no debugging symbols
found)...done.
Loaded symbols for /dgagent/lib64/preload.so
Reading symbols from /lib64/libutil.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libutil.so.1
Reading symbols from /lib64/libncurses.so.5...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libncurses.so.5
Reading symbols from
/cad/abc/apps/gnu/linux/x86_64/6/lib/libevent-2.0.so.5...done.
Loaded symbols for /cad/abc/apps/gnu/linux/x86_64/6/lib/libevent-2.0.so.5
Reading symbols from /lib64/librt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libtinfo.so.5...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libtinfo.so.5
Reading symbols from /lib64/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols
found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `tmux -vvvv'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000405c8d in cfg_default_done ()
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.166.el6_7.7.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64
(gdb) bt full
#0  0x0000000000405c8d in cfg_default_done ()
No symbol table info available.
#1  0x000000000040fcf5 in cmdq_continue ()
No symbol table info available.
#2  0x0000000000433cda in server_start ()
No symbol table info available.
#3  0x0000000000406580 in client_connect ()
No symbol table info available.
#4  0x0000000000406917 in client_main ()
No symbol table info available.
#5  0x0000000000439c03 in main ()
No symbol table info available.
(gdb)

On Fri, Jan 13, 2017 at 11:08 AM Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> Don't attach the core file, attach to it with:
>
> gdb tmux core.8841
>
> Then do "bt full" and show me the output.
>
>
> On Fri, Jan 13, 2017 at 03:58:17PM +0000, Kaushal Modi wrote:
> >    Thanks for the quick reply.
> >    The tmux that I build myself works fine. But this version of tmux that
> >    fails is built by the company software team. So I do not have control
> over
> >    their build env.
> >    How can I figure out which libevent version was used to build tmux vs
> the
> >    one available?
> >    ldd returns this:
> >    >ldd `which tmux`
> >    ** ** ** ** linux-vdso.so.1 => **(0x00007fffd33ff000)
> >    ** ** ** ** libutil.so.1 => /lib64/libutil.so.1 (0x00000036fcc00000)
> >    ** ** ** ** libncurses.so.5 => /lib64/libncurses.so.5
> (0x0000003703400000)
> >    ** ** ** ** libevent-2.0.so.5 =>
> >    /cad/abc/apps/gnu/linux/x86_64/6/lib/libevent-2.0.so.5
> >    (0x00002ae6e9131000)
> >    ** ** ** ** librt.so.1 => /lib64/librt.so.1 (0x00000036ed400000)
> >    ** ** ** ** libresolv.so.2 => /lib64/libresolv.so.2
> (0x00000036ed800000)
> >    ** ** ** ** libc.so.6 => /lib64/libc.so.6 (0x00000036ec000000)
> >    ** ** ** ** libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003700c00000)
> >    ** ** ** ** libdl.so.2 => /lib64/libdl.so.2 (0x00000036ec800000)
> >    ** ** ** ** libpthread.so.0 => /lib64/libpthread.so.0
> (0x00000036ec400000)
> >    ** ** ** ** /lib64/ld-linux-x86-64.so.2 (0x00000036ebc00000)
> >    I have attached the core file this time.
> >    Thanks!
> >    On Fri, Jan 13, 2017 at 10:45 AM Nicholas Marriott
> >    <[1]nicholas.marri...@gmail.com> wrote:
> >
> >      Hi
> >
> >      It probably crashed.
> >
> >      Are you sure you are using the same libevent version as the
> libevent you
> >      built against?
> >
> >      Does it generate a core file? (You may need to do "ulimit
> -cunlimited"
> >      first.)
> >
> >    --
> >
> >    Kaushal Modi
> >
> >    --
> >    You received this message because you are subscribed to the Google
> Groups
> >    "tmux-users" group.
> >    To unsubscribe from this group and stop receiving emails from it,
> send an
> >    email to [2]tmux-users+unsubscr...@googlegroups.com.
> >    To post to this group, send email to [3]tmux-users@googlegroups.com.
> >    For more options, visit [4]https://groups.google.com/d/optout.
> >
> > References
> >
> >    Visible links
> >    1. mailto:nicholas.marri...@gmail.com
> >    2. mailto:tmux-users+unsubscr...@googlegroups.com
> >    3. mailto:tmux-users@googlegroups.com
> >    4. https://groups.google.com/d/optout
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tmux-users+unsubscr...@googlegroups.com.
> To post to this group, send an email to tmux-users@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Kaushal Modi

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tmux-users+unsubscr...@googlegroups.com.
To post to this group, send an email to tmux-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to