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

Is the following useful info?  I've trimmed it as much as I could.

$ for i in core.14500 core.11516 core.14568 core.17923 core.1949 ; do gdb 
/usr/local/bin/tmux $i; done

Reading symbols from /usr/local/bin/tmux...done.

warning: core file may not match specified executable file.
[New LWP 14500]
Core was generated by `sh /home/john/etc/tmux-powerline/segments/date_day.sh'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000440d36 in tty_draw_line (tty=0x21, s=0x0, py=101, 
ox=1952539695, oy=1852400175) at tty.c:605
605                 (oy + py != tty->cy + 1 && tty->cy != s->rlower + oy))
(gdb) bt
#0  0x0000000000440d36 in tty_draw_line (tty=0x21, s=0x0, py=101, 
ox=1952539695, oy=1852400175) at tty.c:605
#1  0x00000000000038b4 in ?? ()
#2  0x0000000000000000 in ?? ()

--------------------
Reading symbols from /usr/local/bin/tmux...done.

warning: core file may not match specified executable file.
[New LWP 11516]
Core was generated by `bash /home/john/etc/tmux-powerline/status-right.sh'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007ff3cf201a56 in ?? ()
(gdb) bt
#0  0x00007ff3cf201a56 in ?? ()
#1  0x000000000044c5a8 in winlinks_RB_MINMAX (head=0x5f726f7400220035, val=0) 
at window.c:65
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
--------------------
Reading symbols from /usr/local/bin/tmux...done.

warning: core file may not match specified executable file.
[New LWP 14568]
Core was generated by `sh /home/john/etc/tmux-powerline/segments/date_day.sh'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000041b200 in format_client (ft=<error reading variable: Cannot 
access memory at address 0xffffffffffffffe8>, ft@entry=<error reading variable: 
Cannot access memory at address 0x8>, c=<error reading variable: Cannot access 
memory at address 0xffffffffffffffe0>, c@entry=<error reading variable: Cannot 
access memory at address 0x8>) at format.c:308
308             format_add(ft, "client_width", "%u", c->tty.sx);
(gdb) bt
#0  0x000000000041b200 in format_client (ft=<error reading variable: Cannot 
access memory at address 0xffffffffffffffe8>, ft@entry=<error reading variable: 
Cannot access memory at address 0x8>, c=<error reading variable: Cannot access 
memory at address 0xffffffffffffffe0>, c@entry=<error reading variable: Cannot 
access memory at address 0x8>) at format.c:308
Cannot access memory at address 0x8
(gdb) quit
--------------------
Reading symbols from /usr/local/bin/tmux...done.
[New LWP 17923]
[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  0x00007ffda0bf1935 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  0x00007ffda0bf1935 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffda0bf30e8 in __GI_abort () at abort.c:91
#2  0x00007ffda0c30e8b in __libc_message (do_abort=do_abort@entry=2, 
fmt=fmt@entry=0x7ffda0d34928 "*** glibc detected *** %s: %s: 0x%s ***\n") at 
../sysdeps/unix/sysv/linux/libc_fatal.c:198
#3  0x00007ffda0c3800e in malloc_printerr (ptr=0x3de25f0, str=0x7ffda0d349c8 
"double free or corruption (out)", action=3) at malloc.c:5027
#4  _int_free (av=0x7ffda0f6c720, p=0x3de25e0, have_lock=0) at malloc.c:3948
#5  0x00000000004192ea in environ_free (env=0x7fff586dc840) at environ.c:55
#6  0x0000000000420668 in job_run (cmd=0x30727d0 
"~/etc/tmux-powerline/status-right.sh", callbackfn=0x4399a1 
<status_job_callback>, freefn=0x439978 <status_job_free>, data=0x1ba9bc0) at 
job.c:64
#7  0x00000000004397fa in status_find_job (c=0x1ba9bc0, iptr=0x7fff586dcab8) at 
status.c:587
#8  0x000000000043915e in status_replace1 (c=0x1ba9bc0, s=0x1b04010, 
wl=0x1b28760, wp=0x1b26570, iptr=0x7fff586dcab8, optr=0x7fff586dcab0, 
    out=0x675420 "#[bg=colour148] #[fg=colour148, 
bg=colour148]#[fg=colour234,bg=colour148]meta:0.2 #[fg=colour148, 
bg=colour33]\342\256\200#[fg=colour0,bg=colour33] badboy #[fg=colour33, 
bg=colour24]\342\256\200#[fg=colour255,bg=colour"..., outsize=8192, jobsflag=1) 
at status.c:421
#9  0x000000000043961b in status_replace (c=0x1ba9bc0, s=0x0, wl=0x0, wp=0x0, 
fmt=0x1b243a0 "#(~/etc/tmux-powerline/status-right.sh)", t=1357024937, 
jobsflag=1) at status.c:532
#10 0x00000000004383fd in status_redraw_get_right (c=0x1ba9bc0, t=1357024937, 
utf8flag=1, gc=0x7fff586deb90, size=0x7fff586deb70) at status.c:127
#11 0x0000000000438844 in status_redraw (c=0x1ba9bc0) at status.c:207
#12 0x00000000004304b3 in server_client_check_redraw (c=0x1ba9bc0) at 
server-client.c:612
#13 0x000000000042ff8b in server_client_loop () at server-client.c:461
#14 0x0000000000433651 in server_loop () at server.c:204
#15 0x000000000043362b in server_start (lockfd=5, lockfile=0x1af4e30 "") at 
server.c:192
#16 0x0000000000404cda in client_connect (path=0x68bc40 
"/tmp/tmux-500/default", start_server=1) at client.c:124
#17 0x0000000000404f11 in client_main (argc=4, argv=0x7fff586df8c0, flags=1) at 
client.c:220
#18 0x000000000043d9d4 in main (argc=4, argv=0x7fff586df8c0) at tmux.c:408
(gdb) quit
--------------------
Reading symbols from /usr/local/bin/tmux...done.
[New LWP 1949]
[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  0x00007ffda0bf1935 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  0x00007ffda0bf1935 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffda0bf30e8 in __GI_abort () at abort.c:91
#2  0x00007ffda0c30e8b in __libc_message (do_abort=do_abort@entry=2, 
fmt=fmt@entry=0x7ffda0d34928 "*** glibc detected *** %s: %s: 0x%s ***\n") at 
../sysdeps/unix/sysv/linux/libc_fatal.c:198
#3  0x00007ffda0c3800e in malloc_printerr (ptr=0x3de25f0, str=0x7ffda0d349c8 
"double free or corruption (out)", action=3) at malloc.c:5027
#4  _int_free (av=0x7ffda0f6c720, p=0x3de25e0, have_lock=0) at malloc.c:3948
#5  0x00000000004192ea in environ_free (env=0x7fff586dc840) at environ.c:55
#6  0x00000000004207b1 in job_run (cmd=0x30727d0 
"~/etc/tmux-powerline/status-right.sh", callbackfn=0x4399a1 
<status_job_callback>, freefn=0x439978 <status_job_free>, data=0x1ba9bc0) at 
job.c:89
#7  0x00000000004397fa in status_find_job (c=0x1ba9bc0, iptr=0x7fff586dcab8) at 
status.c:587
#8  0x000000000043915e in status_replace1 (c=0x1ba9bc0, s=0x1b04010, 
wl=0x1b28760, wp=0x1b26570, iptr=0x7fff586dcab8, optr=0x7fff586dcab0, 
    out=0x675420 "#[bg=colour148] #[fg=colour148, 
bg=colour148]#[fg=colour234,bg=colour148]meta:0.2 #[fg=colour148, 
bg=colour33]\342\256\200#[fg=colour0,bg=colour33] badboy #[fg=colour33, 
bg=colour24]\342\256\200#[fg=colour255,bg=colour"..., outsize=8192, jobsflag=1) 
at status.c:421
#9  0x000000000043961b in status_replace (c=0x1ba9bc0, s=0x0, wl=0x0, wp=0x0, 
fmt=0x1b243a0 "#(~/etc/tmux-powerline/status-right.sh)", t=1357024937, 
jobsflag=1) at status.c:532
#10 0x00000000004383fd in status_redraw_get_right (c=0x1ba9bc0, t=1357024937, 
utf8flag=1, gc=0x7fff586deb90, size=0x7fff586deb70) at status.c:127
#11 0x0000000000438844 in status_redraw (c=0x1ba9bc0) at status.c:207
#12 0x00000000004304b3 in server_client_check_redraw (c=0x1ba9bc0) at 
server-client.c:612
#13 0x000000000042ff8b in server_client_loop () at server-client.c:461
#14 0x0000000000433651 in server_loop () at server.c:204
#15 0x000000000043362b in server_start (lockfd=5, lockfile=0x1af4e30 "") at 
server.c:192
#16 0x0000000000404cda in client_connect (path=0x68bc40 
"/tmp/tmux-500/default", start_server=1) at client.c:124
#17 0x0000000000404f11 in client_main (argc=4, argv=0x7fff586df8c0, flags=1) at 
client.c:220
#18 0x000000000043d9d4 in main (argc=4, argv=0x7fff586df8c0) at tmux.c:408

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to