Does tmux leave a core? If so can you get a backtrace please?

If not please run tmux (when you first start it) with -vvvvv, reproduce
and send me the logs.


On Thu, Mar 21, 2013 at 11:32:50PM +0000, Myles Dear (mdear) wrote:
>    Hello, tmux experts.
> 
> 
> 
>    I'm having an odd problem.
> 
> 
> 
>    Could you help me determine if it is a known issue or a new issue?  If a
>    new issue, how would I go about raising a bug report ?
> 
> 
> 
>    I am running tmux on a line card in a multi-chassis router.
> 
> 
> 
>    The following sequence works as expected:
> 
>    1.       Attach to the node via a terminal server to the node's serial
>    port
> 
>    2.       rlogin to the line card
> 
>    3.       Start the tmux server and attach the session:
> 
>    tmux new-session -d -s ha-wbt
> 
>    tmux new-window -t ha-wbt:1
> 
>    tmux attach-session -t ha-wbt
> 
>    4.       Disconnect via <Ctrl><B> d
> 
>    5.       Log off the line card
> 
>    6.       At a later time, rlogin to the line card
> 
>    7.       Reattach to the session
> 
>    tmux attach-session -t ha-wbt
> 
> 
> 
>    However, whenever I connect to the node via telnet instead of via the
>    terminal server and serial port, any attempt to run the "attach-session"
>    command causes the server to crash.
> 
> 
> 
> 
> 
>    I'm using the following packages:
> 
>    tmux-1.7
> 
>    libevent-2.0.21-stable
> 
>    ncurses-5.6
> 
> 
> 
>    Line card is running Montavista Linux:
> 
>    root@lc3:/# uname -a
> 
>    Linux lc3 2.6.99.99 #1 SMP Tue Mar 5 15:26:06 PST 2013 ppc unknown
> 
> 
> 
>    Stack trace from the coredump file:
> 
> 
> 
>    #0  0x0fe06444 in raise () from /lib/libc.so.6
> 
>    #1  0x0fe0b694 in abort () from /lib/libc.so.6
> 
>    #2  0x0fe46ecc in ?? () from /lib/libc.so.6
> 
>    #3  0x0fe534d4 in ?? () from /lib/libc.so.6
> 
>    #4  0x0fe552b0 in free () from /lib/libc.so.6
> 
>    #5  0x0fdaab24 in _nc_free_termtype () from /lib/libtinfo.so.5
> 
>    #6  0x0fdab328 in del_curterm () from /lib/libtinfo.so.5
> 
>    #7  0x10037614 in tty_term_find (name=0x100a7d60 "", fd=0,
> 
>        overrides=0x2 <Address 0x2 out of bounds>, cause=0xff16254)
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/tty-term.c:392
> 
>    #8  0x10038658 in tty_open (tty=0x100a30c0,
> 
>        overrides=0x10084808
>    
> "*88col*:colors=88,*256col*:colors=256,xterm*:XT:Ms=\\E]52;%p1%s;%p2%s\\007:Cc=\\E]12;%p1%s\\007:Cr=\\E]112\\007:Cs=\\E[%p1%d
>    q:Csr=\\E[2 q,screen*:XT", cause=0xbfec0248)
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/tty.c:146
> 
>    #9  0x10029db8 in server_client_open (c=<value optimized out>,
> 
>        s=<value optimized out>, cause=0xbfec0248)
> 
>        at
>    
> ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/server-client.c:120
> 
>    #10 0x10005d70 in cmd_attach_session_exec (self=0x100a3ef0,
>    ctx=0xbfec02c0)
> 
>        at
>    
> ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/cmd-attach-session.c:84
> 
>    ---Type <return> to continue, or q <return> to quit---
> 
>    #11 0x100133ac in cmd_exec (cmd=<value optimized out>,
> 
>        ctx=<value optimized out>)
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/cmd.c:286
> 
>    #12 0x1000ad94 in cmd_list_exec (cmdlist=0x100a50d0, ctx=0xbfec02c0)
> 
>        data=<value optimized out>)
> 
>        at
>    
> ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/server-client.c:873
> 
>    #14 0x1002b97c in server_client_msg_dispatch (c=0x10093030)
> 
>        at
>    
> ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/server-client.c:704
> 
>    #15 0x1002bbc4 in server_client_callback (fd=<value optimized out>,
> 
>        events=<value optimized out>, data=<value optimized out>)
> 
>        at
>    
> ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/server-client.c:217
> 
>    #16 0x0fd03fe8 in event_base_loop (base=0x10085710, flags=1)
> 
>        at
>    
> ../../../../../../../feature/ha_wbt/third-party/src/libevent-2.0.21-stable/event.c:1350
> 
>    #17 0x0fd04f70 in event_loop (flags=<value optimized out>)
> 
>        at
>    
> ../../../../../../../feature/ha_wbt/third-party/src/libevent-2.0.21-stable/event.c:1533
> 
>    ---Type <return> to continue, or q <return> to quit---
> 
>    #18 0x1002dd18 in server_loop ()
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/server.c:212
> 
>    #19 0x1002e490 in server_start (lockfd=5, lockfile=0x100856f0 "")
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/server.c:203
> 
>    #20 0x100047b4 in client_connect (path=0x10081c48 "/tmp//tmux-0/default",
> 
>        start_server=1)
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/client.c:124
> 
>    #21 0x10004b9c in client_main (argc=4, argv=0xbfec4d68, flags=0)
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/client.c:220
> 
>    #22 0x10035dec in main (argc=4, argv=0xbfec4d68)
> 
>        at
>    ../../../../../../../feature/ha_wbt/third-party/src/tmux-1.7/tmux.c:404
> 
> 
> 
> 
> 
>    Thanks,
> 
>    <Myles>
> 
> 
> 
>    [1]cisco-logo-for-email-signature
> 
> 
> 
>    Myles Dear
> 
>    Embedded White-Box Test Designer
> 
>    Automation Core Team
> 
>    Network Operating System Technology Group (NOSTG)
> 
> 
> 
>    Tel:     +1 (613) 254-4594
> 
>    Mobile: +1 (613) 858-2120
> 
>    Fax:     +1 (613) 254-3701
> 
>    Email:   [2]md...@cisco.com
> 
>    Cisco Systems Canada l [3]www.cisco.com
> 
>    2000 Innovation Dr, Kanata, ON, K2K 3E8
> 
> 
> 
> References
> 
>    Visible links
>    2. mailto:md...@cisco.com
>    3. http://www.cisco.com/



> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to