Hi,

This problem seems to be solved with the nicm@ commit:
<http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tmux/names.c.diff?r1=1.16;r2=1.17;f=h>.
I hope it helps.

On Sat, Nov 17, 2012 at 6:04 PM, LEVAI Daniel <l...@ecentrum.hu> wrote:
>
> Hi!
>
> I've just noticed this crash with tmux(1):
> Just start tmux(1), open a second window, enter command mode, type
> 'join-pane -s 1' from window no. 0 -> crash.
>
> I've recompiled and installed tmux and libevent with symbols and without
> stripping, and I could get this backtrace from the coredump (hope it's
> useful):
>
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-unknown-openbsd5.2"...
> Core was generated by `tmux'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libutil.so.11.3...done.
> Loaded symbols for /usr/lib/libutil.so.11.3
> Reading symbols from /usr/lib/libcurses.so.12.1...done.
> Loaded symbols for /usr/lib/libcurses.so.12.1
> Reading symbols from /usr/lib/libevent.so.3.0...done.
> Loaded symbols for /usr/lib/libevent.so.3.0
> Reading symbols from /usr/lib/libc.so.65.0...done.
> Loaded symbols for /usr/lib/libc.so.65.0
> Reading symbols from /usr/libexec/ld.so...done.
> Loaded symbols for /usr/libexec/ld.so
> #0  0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at 
> /usr/src/usr.bin/tmux/names.c:60
> 60              if (w->active->screen != &w->active->base)
> (gdb) bt full
> #0  0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at 
> /usr/src/usr.bin/tmux/names.c:60
>         name = Variable "name" is not available.
> (gdb) frame
> #0  0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at 
> /usr/src/usr.bin/tmux/names.c:60
> 60              if (w->active->screen != &w->active->base)
> (gdb) list
> 55                              event_del(&w->name_timer);
> 56                      return;
> 57              }
> 58              queue_window_name(w);
> 59
> 60              if (w->active->screen != &w->active->base)
> 61                      name = NULL;
> 62              else
> 63                      name = get_proc_name(w->active->fd, w->active->tty);
> 64              if (name == NULL)
> (gdb) bt
> #0  0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at 
> /usr/src/usr.bin/tmux/names.c:60
> #1  0x0c7d30a2 in event_base_loop (base=0x804bd000, flags=1) at 
> /usr/src/lib/libevent/event.c:402
> #2  0x0c7d3359 in event_loop (flags=1) at /usr/src/lib/libevent/event.c:478
> #3  0x1c026274 in server_loop () at /usr/src/usr.bin/tmux/server.c:211
> #4  0x1c0267ec in server_start (lockfd=4, lockfile=0x80f14aa0 "S") at 
> /usr/src/usr.bin/tmux/server.c:202
> #5  0x1c004640 in client_connect (path=0x3c0223c0 "/tmp/tmux-1000/default", 
> start_server=1)
>     at /usr/src/usr.bin/tmux/client.c:124
> #6  0x1c004731 in client_main (argc=0, argv=0xcfbdb700, flags=1) at 
> /usr/src/usr.bin/tmux/client.c:220
> #7  0x1c02cb7e in main (argc=0, argv=0xcfbdb6fc) at 
> /usr/src/usr.bin/tmux/tmux.c:396
> (gdb)
>
>
> Daniel
>
> --
> LÉVAI Dániel
> PGP key ID = 0x83B63A8F
> Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to