Hi,

On 3 January 2013 08:54, John Schmitt <marmalo...@gmail.com> wrote:
> 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.
>
> I wasn't expecting this crash because I set status-interval to 10 yet tmux 
> crashed within an hour.
>
>
> [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  0x00007fccb7201935 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);
> 59          if (__builtin_expect (pid <= 0, 0))
> 60            pid = (pid & INT_MAX) == 0 ? selftid : -pid;
> 61      #endif
> 62
> 63      #if __ASSUME_TGKILL
> 64        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
> 65      #else
> 66      # ifdef __NR_tgkill
> 67        int res = INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
> 68        if (res != -1 || errno != ENOSYS)
> #0  0x00007fccb7201935 in __GI_raise (sig=sig@entry=6) at 
> ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #1  0x00007fccb72030e8 in __GI_abort () at abort.c:91
> #2  0x00007fccb7240e8b in __libc_message (do_abort=do_abort@entry=2, 
> fmt=fmt@entry=0x7fccb7344928 "*** glibc detected *** %s: %s: 0x%s ***\n") at 
> ../sysdeps/unix/sysv/linux/libc_fatal.c:198
> #3  0x00007fccb7246e16 in malloc_printerr (action=3, str=0x7fccb734281b 
> "realloc(): invalid next size", ptr=<optimized out>) at malloc.c:5027
> #4  0x00007fccb724a0b8 in _int_realloc (av=av@entry=0x7fccb757c720, 
> oldp=oldp@entry=0x1a8e070, oldsize=oldsize@entry=384, nb=nb@entry=368) at 
> malloc.c:4342
> #5  0x00007fccb724bb55 in __GI___libc_realloc (oldmem=0x1a8e080, bytes=360) 
> at malloc.c:3065
> #6  0x00007fccb7204410 in __add_to_environ (name=0x19e8340 "TMUX", 
> value=0x1a303b0 "/tmp/tmux-500/default,1943,-1", combined=0x0, replace=1) at 
> setenv.c:143

What is in your status-line?  What's the definition for any jobs
running in status-{right,left}?  As I mentioned before (I think), you
can easily fork-bomb your system if you're not careful.

-- Thomas Adam

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to