Show me "bt full" from gdb please
-------- Original message --------
From: Eitan Adler <li...@eitanadler.com>
Date: 02/12/2013 04:31 (GMT+00:00)
To: tmux-users@lists.sourceforge.net
Subject: Segfault when doing "tmux info"
Hi all,
I can reproducibly crash tmux by doing "tmux info".
Debugging information follows. Please let me know if I can provide
anything else useful. tmux is compiled with debugging symbols.
When replying please CC me as I may not see your reply otherwise.
%uname -a
FreeBSD gravity.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r258140M:
Thu Nov 14 17:04:27 EST 2013
eitan@gravity.local:/usr/obj/usr/src/sys/EADLER amd64
%tmux -V
tmux 1.8
Core file '/home/eitan/tmux.core' (x86_64) was loaded.
Process 0 stopped
* thread #1: tid = 0, 0x000000080102401b
libc.so.7`strlen(str=0x0000000000000050) + 11 at strlen.c:100, name =
'tmux', stop reason = signal SIGSEGV
frame #0: 0x000000080102401b
libc.so.7`strlen(str=0x0000000000000050) + 11 at strlen.c:100
97 * boundaries is integral multiple of word size.
98 */
99 lp = (const unsigned long *)((uintptr_t)str & ~LONGPTR_MASK);
-> 100 va = (*lp - mask01);
101 vb = ((~*lp) & mask80);
102 lp++;
103 if (va & vb)
Backtrace:
* thread #1: tid = 0, 0x000000080102401b
libc.so.7`strlen(str=0x0000000000000050) + 11 at strlen.c:100, name =
'tmux', stop reason = signal SIGSEGV
* frame #0: 0x000000080102401b
libc.so.7`strlen(str=0x0000000000000050) + 11 at strlen.c:100
frame #1: 0x0000000800fc657f
libc.so.7`istrsenvisx(mbdst=0x00007fffffffafd0,
dlen=0x00007fffffffaa58, mbsrc=0x0000000000000050,
mblength=<unavailable>, flags=25, mbextra=0x0000000801032c0d,
cerr_ptr=<unavailable>) + 79 at vis.c:379
frame #2: 0x0000000800fc6c5b
libc.so.7`strnvis(mbdst=<unavailable>, dlen=34385274432,
mbsrc=<unavailable>, flags=<unavailable>) + 43 at vis.c:655
frame #3: 0x000000000040ed8f
tmux`cmd_server_info_exec(self=<unavailable>, cmdq=0x0000000801883160)
+ 1183 at cmd-server-info.c:148
frame #4: 0x000000000040ca6e
tmux`cmdq_continue(cmdq=0x0000000801883160) + 350 at cmd-queue.c:229
frame #5: 0x0000000000428662
tmux`server_client_msg_command(c=0x00000008018b8000,
data=<unavailable>) + 178 at server-client.c:936
frame #6: 0x00000000004274d3
tmux`server_client_msg_dispatch(c=0x00000008018b8000) + 403 at
server-client.c:821
frame #7: 0x000000000042730d
tmux`server_client_callback(fd=<unavailable>, events=<unavailable>,
data=0x00000008018b8000) + 93 at server-client.c:230
frame #8: 0x0000000800cddb21 libevent-1.4.so.4`event_base_loop + 1553
frame #9: 0x000000000042ae6a tmux`server_loop + 26 at server.c:207
frame #10: 0x000000000042abc8
tmux`server_start(lockfd=<unavailable>, lockfile=<unavailable>) + 1432
at server.c:198
frame #11: 0x0000000000404d0f
tmux`client_connect(path=<unavailable>, start_server=<unavailable>) +
319 at client.c:124
frame #12: 0x0000000000404ecf tmux`client_main(argc=0,
argv=0x00007fffffffd720, flags=1) + 287 at client.c:221
frame #13: 0x0000000000432677 tmux`main(argc=0,
argv=0x00007fffffffd720) + 1607 at tmux.c:406
frame #14: 0x0000000000403c3f tmux`_start(ap=<unavailable>,
cleanup=<unavailable>) + 335 at crt1.c:78
General Purpose Registers:
rax = 0x0000000000000019
rbx = 0x0000000000000000
rcx = 0x0000000000000000
rdx = 0x0000000000000050
rdi = 0x0000000000000050
rsi = 0x0000000000000050
rbp = 0x00007fffffffa9c0
rsp = 0x00007fffffffa9c0
r8 = 0x0000000000000019
r9 = 0x0000000801032c0d
r10 = 0x0000000000000006
r11 = 0x0000000000000001
r12 = 0x0000000000000050
r13 = 0x0000000000000001
r14 = 0x0000000000000000
r15 = 0x00000008018fec00
rip = 0x000000080102401b libc.so.7`strlen + 11 at strlen.c:100
rflags = 0x0000000000010206
cs = 0x0000000000000043
fs = 0x0013
gs = 0x001b
ss = 0x000000000000003b
ds = 0x003b
es = 0x003b
Frame variables:
(const char *) str = 0x0000000000000050
(const unsigned long *) lp = <variable not available>
(long) va = <variable not available>
(long) vb = <variable not available>
(const char *) p = <variable not available>
--
Eitan Adler
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users