Hmm - sorry for the delay. This doesn't happen for me. Can you try latest tmux SVN and see if your steps are the same?
Thanks! On Mon, Jan 30, 2012 at 11:17:47AM -0600, Ryan Maus wrote: > How to replicate: > You will need 4 terminal windows, lettered A, B, C, and D, as well as the > aggressive resize option turned on (see attached tmux.conf). As a > warning, this will probably kill your entire tmux server, so I'd suggest > doing this in isolation. > 1. (A) tmux -v new -s SESSION_1 > 2. (B) tmux -v new -s SESSION_2 > 3. (C) tmux -v new -s SESSION_3 > 4. Resize terminal C to be smaller than the other terminals (will not > segfault without doing this step) > 5. (D) tmux -v attach -t SESSION_3 > 6. (D) C-b : > 7. (D) link-window -s SESSION_2:0 > 8. (D) C-b n > 9. (C) C-d (EOF) > 10. (B) C-d (EOF) > > Step 10 crashes the entire tmux server, including SESSION_1 which was > never touched. Only the tmux server had anything in its log, which is > attached. Additionally, here is the backtrace: > > % gdb -c ./core ./tmux <<< $'bt full\nq\n' > GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 > Copyright (C) 2011 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > [1]<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-linux-gnu". > For bug reporting instructions, please see: > [2]<http://bugs.launchpad.net/gdb-linaro/>... > Reading symbols from /home/rmaus/scratch/tmux_tests/tmux-1.5/tmux...done. > [New LWP 11361] > > warning: Can't read pathname for load map: Input/output error. > [Thread debugging using libthread_db enabled] > Core was generated by `./tmux -v new -s SESSION_1'. > Program terminated with signal 11, Segmentation fault. > #0 0x00000000004205be in layout_resize_check (lc=0x0, > type=LAYOUT_LEFTRIGHT) at layout.c:249 > 249 if (lc->type == LAYOUT_WINDOWPANE) { > (gdb) #0 0x00000000004205be in layout_resize_check (lc=0x0, > type=LAYOUT_LEFTRIGHT) at layout.c:249 > lcchild = 0x7fff37383480 > available = 4338552 > minimum = 0 > #1 0x0000000000420adc in layout_resize (w=0x20c14d0, sx=47, sy=11) at > layout.c:415 > lc = 0x0 > xlimit = 34010688 > ylimit = 0 > xchange = -33 > ychange = 0 > #2 0x000000000042422e in recalculate_sizes () at resize.c:127 > s = 0x0 > c = 0x20d9450 > w = 0x20c14d0 > wp = 0x423703 > i = 1 > j = 4 > ssx = 47 > ssy = 11 > has = 1 > limit = 0 > flag = 1 > #3 0x000000000042c2d3 in server_destroy_session (s=0x20bf3b0) at > server-fn.c:409 > c = 0x20d9450 > s_new = 0x0 > i = 4 > #4 0x000000000042c0ab in server_destroy_session_group (s=0x20bf3b0) at > server-fn.c:358 > sg = 0x0 > #5 0x000000000042bd79 in server_kill_window (w=0x20c14d0) at > server-fn.c:260 > s = 0x20bf3b0 > next_s = 0x20d6850 > wl = 0x20bbe10 > #6 0x000000000042c069 in server_destroy_pane (wp=0x20c15d0) at > server-fn.c:347 > w = 0x20c14d0 > #7 0x0000000000446f60 in window_pane_error_callback (bufev=0x20c1d30, > what=33, data=0x20c15d0) at window.c:758 > wp = 0x20c15d0 > #8 0x00007fe48e3f54a8 in ?? () from /usr/lib/libevent-2.0.so.5 > No symbol table info available. > #9 0x00007fe48e3e9d3c in event_base_loop () from > /usr/lib/libevent-2.0.so.5 > No symbol table info available. > #10 0x000000000042d484 in server_loop () at server.c:210 > No locals. > #11 0x000000000042d46a in server_start () at server.c:201 > wp = 0x7fe48e3d6210 > pair = {8, 9} > cause = 0x10 <Address 0x10 out of bounds> > tv = {tv_sec = 1, tv_usec = 0} > i = 32740 > __func__ = "server_start" > #12 0x0000000000404577 in client_connect (path=0x67d4a0 > "/tmp/tmux-10273/default", start_server=1) at client.c:80 > sa = {sun_family = 1, sun_path = "/tmp/tmux-10273/default", '\000' > <repeats 84 times>} > size = 23 > fd = 7 > __func__ = "client_connect" > #13 0x00000000004047ad in client_main (argc=3, argv=0x7fff373841c8, > flags=1) at client.c:152 > cmd = 0x0 > cmdlist = 0x2070ad0 > cmddata = {pid = 32, idx = 0, argc = 0, argv = '\000' <repeats 24 > times>, "\001\000\000\000\000\000\000\000\377\377\377\377", '\000' > <repeats 24 times>, > > "aeE\000\000\000\000\000beE\000\000\000\000\000\000\000\000\000\377\177\000\000\000\000\000\000\002\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377", > '\000' <repeats 16 times>, > > "RxE\000\000\000\000\000SxE\000\000\000\000\000\330<87\377\177\000\000XxE\000\000\000\000\000\315w\b\216\344\177\000\000NxE", > '\000' <repeats 13 times>"\220, > > ?87\377\177\000\000\000\360\016\217\344\177\000\000\000\000\000\000\000\000\000\000d\235\204\216\344\177\000\000`:87\377\177\000\000\242h\357\216\344\177\000\000\000\000\000\000\000\000\000\000\226\211\357\216\344\177\000\000\270\300\020\217\344\177\000\000P?87\377\177\000\000@?87\377\177\000\000_?87\377\177\000\000ph\357\216\344\177\000\000\020?87\377"...} > cmdflags = 7 > fd = 0 > ppid = 0 > msg = MSG_COMMAND > cause = 0x0 > #14 0x0000000000437066 in main (argc=3, argv=0x7fff373841c8) at tmux.c:395 > pw = 0x4030f0 > keylist = 0x2070430 > s = 0x0 > path = 0x20704c0 "\b" > label = 0x20704a0 "p\a\a\002" > home = 0x7fff37384e34 "/home/rmaus" > var = 0x7fff37384338 > opt = -1 > flags = 1 > quiet = 0 > keys = 0 > __func__ = "main" > (gdb) > > Thanks, > REM > > References > > Visible links > 1. http://gnu.org/licenses/gpl.html > 2. http://bugs.launchpad.net/gdb-linaro/ > # C-b is not acceptable -- Vim uses it > set-option -g prefix C-a > bind-key C-a last-window > bind-key Escape copy-mode > > # Start numbering at 1 > set -g base-index 1 > > # Allows for faster key repetition > set -s escape-time 0 > > # Setup status bar > set -g status-bg black > set -g status-fg white > set-window-option -g window-status-current-bg red > set -g status-right "#[fg=yellow]#(hostname -s), #(uptime | awk '{ print > \"load: \" $10 $11 $12}')" > set -g status-interval 30 > set -g status-right-length 60 > set -g status-left-length 40 > > # Slightly improves how min/max window sizes are selected > setw -g aggressive-resize on > > # Fix scrolling to work with scroll wheel, sort of > set -g terminal-overrides 'xterm*:smcup@:rmcup@' > > # Automatic window rename > set-window-option -g automatic-rename on > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users