On Sat, Nov 17, 2012 at 09:12:37PM +0000, Thomas Adam wrote:
> On Sat, Nov 17, 2012 at 12:07:40PM -0800, John Schmitt wrote:
...
> Well, compile up tmux with "-g -ggdb" and see if it core dumps.

After having done this I've been able to reproduce my issue.  Do you want me to 
email you whole core files?

GNU gdb (GDB) Fedora (7.4.50.20120120-52.fc17)
Copyright (C) 2012 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 /usr/local/bin/tmux...done.
[New LWP 28019]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `tmux new-session -d -s LinuxSystemsProgramming'.
Program terminated with signal 6, Aborted.
#0  0x00007fac21950935 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0  0x00007fac21950935 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fac219520e8 in __GI_abort () at abort.c:91
#2  0x00007fac2198fe8b in __libc_message (do_abort=do_abort@entry=2, 
fmt=fmt@entry=0x7fac21a93928 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#3  0x00007fac2199700e in malloc_printerr (ptr=0x15c29310, str=0x7fac21a93a38 
"free(): invalid next size (fast)", action=3) at malloc.c:5027
#4  _int_free (av=0x7fac21ccb720, p=0x15c29300, have_lock=0) at malloc.c:3948
#5  0x000000000041aa19 in format_free (ft=0x105ba730) at format.c:108
#6  0x0000000000409097 in cmd_display_message_exec (self=0x70b9a20, 
ctx=0x7fffb1ee3210) at cmd-display-message.c:98
#7  0x0000000000414777 in cmd_exec (cmd=0x70b9a20, ctx=0x7fffb1ee3210) at 
cmd.c:287
#8  0x000000000040b851 in cmd_list_exec (cmdlist=0x123f75b0, 
ctx=0x7fffb1ee3210) at cmd-list.c:100
#9  0x0000000000431115 in server_client_msg_command (c=0x1c7e1e90, 
data=0x7fffb1ee6720) at server-client.c:865
#10 0x00000000004308ec in server_client_msg_dispatch (c=0x1c7e1e90) at 
server-client.c:696
#11 0x000000000042f65c in server_client_callback (fd=69, events=2, 
data=0x1c7e1e90) at server-client.c:220
#12 0x00007fac221030c2 in event_process_active_single_queue (activeq=<optimized 
out>, base=<optimized out>) at event.c:1340
#13 event_process_active (base=<optimized out>) at event.c:1407
#14 event_base_loop (base=<optimized out>, flags=1) at event.c:1604
#15 0x0000000000433647 in server_loop () at server.c:201
#16 0x000000000043362b in server_start (lockfd=5, lockfile=0x1f9aed0 "") at 
server.c:192
#17 0x0000000000404cda in client_connect (path=0x68bc40 
"/tmp/tmux-500/default", start_server=1) at client.c:124
#18 0x0000000000404f11 in client_main (argc=4, argv=0x7fffb1ee7b90, flags=1) at 
client.c:220
#19 0x000000000043d9d4 in main (argc=4, argv=0x7fffb1ee7b90) at tmux.c:408
(gdb) quit

GNU gdb (GDB) Fedora (7.4.50.20120120-52.fc17)
Copyright (C) 2012 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 /usr/local/bin/tmux...done.

warning: core file may not match specified executable file.
[New LWP 476]
Core was generated by `bash 
/home/john/etc/tmux-powerline/segments/vcs_others.sh'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fc3bc6658f8 in ?? ()
(gdb) bt
#0  0x00007fc3bc6658f8 in ?? ()
#1  0x0300000000483570 in ?? ()
#2  0x0000000000000000 in ?? ()
(gdb) quit

GNU gdb (GDB) Fedora (7.4.50.20120120-52.fc17)
Copyright (C) 2012 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 /usr/local/bin/tmux...done.
[New LWP 31409]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `tmux show-environment'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f1fc3791ec0 in malloc@plt () from /usr/lib64/libc.so.6
(gdb) bt
#0  0x00007f1fc3791ec0 in malloc@plt () from /usr/lib64/libc.so.6
#1  0x00007f1fc37e6cb3 in _IO_vasprintf (result_ptr=0x95e3b0, format=0x460f90 
"%s", args=0x7fff39888440) at vasprintf.c:52
#2  0x0000000000450afe in xvasprintf (ret=0x95e3b0, fmt=0x460f90 "%s", 
ap=0x7fff39888440) at xmalloc.c:103
#3  0x0000000000429bdf in options_set_string (oo=0x68cc70, name=0x45f0e5 
"default-command", fmt=0x460f90 "%s") at options.c:117
#4  0x0000000000428503 in options_table_populate_tree (table=0x45f5e0, 
oo=0x68cc70) at options-table.c:740
#5  0x000000000043d6f7 in main (argc=1, argv=0x7fff39888690) at tmux.c:333
(gdb) quit


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to