I can't reproduce with this command.

Can you give exact steps to reproduce starting with no tmux running and
no config file?

Cheers


On Sat, Dec 04, 2010 at 09:53:48AM -0500, Peter John Hartman wrote:
> Oops.  What generates the crash is rather this:
> 
> bind F1 join-pane -d -t 0: \; select-layout main-vertical \; display-pane
> 
> 
> 
> On Sat, Dec 04, 2010 at 09:50:52AM -0500, Peter John Hartman wrote:
> > Hi all,
> > 
> > Here are the steps to reproduce:
> > 
> > 1. bind the following script to F1:
> > 
> > #!/bin/sh
> > 
> > SESSION="$1"
> > 
> > TMUX="tmux -Lmain"
> > client=$($TMUX list-clients | cut -d' ' -f1)
> > 
> > if $TMUX list-sessions | grep "^$1" >/dev/null; then
> >     $TMUX switchc -c$client -t$1
> > else
> >     $TMUX new-session -s$1 -d 
> >     case "$1" in
> >     0) color="black" ;;
> >     1) color="green" ;;
> >         2) color="blue" ;;
> >         3) color="white" ;;
> >         4) color="yellow" ;;
> >     5) color="red" ;;
> >         esac
> >     $TMUX set -t$1 status-bg $color
> >     $TMUX switchc -c$client -t$1
> > 
> > fi
> > 
> > 2. Try it a few times.
> > 
> > 
> > Here's the gdb and a bt.  This is on tmux tip.
> > 
> > pete...@triltoucheee ~ $ gdb /usr/local/bin/tmux core
> > 
> > warning: Can not parse XML syscalls information; XML support was disabled at
> > compile time.
> > GNU gdb (Gentoo 7.0.1 p1) 7.0.1
> > Copyright (C) 2009 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 "i686-pc-linux-gnu".
> > For bug reporting instructions, please see:
> > <http://bugs.gentoo.org/>...
> > Reading symbols from /usr/local/bin/tmux...done.
> > 
> > warning: Can't read pathname for load map: Input/output error.
> > Reading symbols from /lib/libncurses.so.5...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/libncurses.so.5
> > Reading symbols from /lib/libutil.so.1...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/libutil.so.1
> > Reading symbols from /usr/lib/libevent-1.4.so.2...(no debugging symbols
> > found)...done.
> > Loaded symbols for /usr/lib/libevent-1.4.so.2
> > Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
> > Loaded symbols for /lib/libc.so.6
> > Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
> > Loaded symbols for /lib/libdl.so.2
> > Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
> > Loaded symbols for /lib/librt.so.1
> > Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/ld-linux.so.2
> > Reading symbols from /lib/libpthread.so.0...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/libpthread.so.0
> > Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/libnss_compat.so.2
> > Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
> > Loaded symbols for /lib/libnsl.so.1
> > Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/libnss_nis.so.2
> > Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/libnss_files.so.2
> > Core was generated by `/usr/local/bin/tmux -Lmain -qf
> > /home/peterjh/.tmux.init.conf start'.
> > Program terminated with signal 11, Segmentation fault.
> > #0  0x08067985 in options_tree_SPLAY_FIND (head=0x30, elm=0xbfbbd788) at
> > # tmux.h:1332
> > 1332    SPLAY_PROTOTYPE(options_tree, options_entry, entry, options_cmp);
> > (gdb)
> > 
> > (gdb) bt
> > #0  0x08067985 in options_tree_SPLAY_FIND (head=0x30, elm=0xbfbbd788) at
> > # tmux.h:1332
> > #1  0x08067ecb in options_find (oo=0x30, name=0x808f209
> > # "display-panes-time") at options.c:78
> > #2  0x0806817a in options_get_number (oo=0x30, name=0x808f209
> > # "display-panes-time") at options.c:163
> > #3  0x08070324 in server_set_identify (c=0x8166008) at server-fn.c:434
> > #4  0x08050ee3 in cmd_display_panes_exec (self=0x8198ed0, ctx=0xbfbbd8c0) at
> > #cmd-display-panes.c:49
> > #5  0x0804cff6 in cmd_exec (cmd=0x8198ed0, ctx=0xbfbbd8c0) at cmd.c:270
> > #6  0x080536e0 in cmd_list_exec (cmdlist=0x81992f8, ctx=0xbfbbd8c0) at
> > #cmd-list.c:85
> > #7  0x08063a4a in key_bindings_dispatch (bd=0x81992d0, c=0x8166008) at
> > #key-bindings.c:275
> > #8  0x0806e270 in server_client_handle_key (key=4098, mouse=0xbfbbd971,
> > #data=0x8166008) at server-client.c:388
> > #9  0x0807b068 in tty_keys_next (tty=0x8176098) at tty-keys.c:562
> > #10 0x080775ab in tty_read_callback (bufev=0x8180968, data=0x8176098) at
> > #tty.c:153
> > #11 0xb77e70d4 in ?? () from /usr/lib/libevent-1.4.so.2
> > #12 0x08180968 in ?? ()
> > #13 0x08176098 in ?? ()
> > #14 0xffffffff in ?? ()
> > #15 0xb77e40c9 in ?? () from /usr/lib/libevent-1.4.so.2
> > #16 0x00000001 in ?? ()
> > #17 0xbfbbd9f8 in ?? ()
> > #18 0xb77f7ebc in pollops () from /usr/lib/libevent-1.4.so.2
> > #19 0x08163118 in ?? ()
> > #20 0xbfbbda28 in ?? ()
> > #21 0x081616c8 in ?? ()
> > #22 0x000001f7 in ?? ()
> > #23 0xb77f7ff4 in ?? () from /usr/lib/libevent-1.4.so.2
> > #24 0xb77f8d2c in event_sigcb () from /usr/lib/libevent-1.4.so.2
> > #25 0x0818096c in ?? ()
> > #26 0xbfbbda98 in ?? ()
> > #27 0xb77e533e in event_base_loop () from /usr/lib/libevent-1.4.so.2
> > Backtrace stopped: frame did not save the PC
> > 
> > 
> > 
> > 
> > 
> > -- 
> > sic dicit magister P
> > PhD Candidate
> > Collaborative Programme in Ancient and Medieval Philosophy
> > University of Toronto
> > http://individual.utoronto.ca/peterjh
> 
> -- 
> sic dicit magister P
> PhD Candidate
> Collaborative Programme in Ancient and Medieval Philosophy
> University of Toronto
> http://individual.utoronto.ca/peterjh
> 
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly 
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus 
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to