Skip to content

Instantly share code, notes, and snippets.

@yoshikaw
Created December 17, 2011 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshikaw/1489969 to your computer and use it in GitHub Desktop.
Save yoshikaw/1489969 to your computer and use it in GitHub Desktop.
どうもgit版screenはwindowlistの描画処理に地雷があるようだ。。。
(gdb) thread apply all where
Thread 1 (Thread 26009):
#0 0x004b14c0 in tcsetattr () from /lib/libc.so.6
#1 0x080624a3 in SetTTY (fd=4, mp=0x12c8) at tty.c:593
#2 0x0804dfd4 in CoreDump (sigsig=11) at screen.c:1670
#3 <signal handler called>
#4 0x0806ff42 in AddWindowFlags (buf=0x80a02c5 "", len=505, p=0x8c4c3a0) at process.c:5479
#5 0x0804b4a1 in MakeWinMsgEv (str=0x8888bc8 "%4n %{.y}%f%09=%{-} %t %=", win=0x8c4c3a0, esc=37, padlen=117, ev=0x0, rec=0) at screen.c:2766
#6 0x0808db44 in gl_Window_row (ldata=0x8c20f58, lrow=0x8c21318) at list_window.c:256
#7 0x0808c193 in glist_display_all (list=0x8c20f58) at list_generic.c:463
#8 0x0808cf0b in gl_Window_rebuild (ldata=0x8c20f58) at list_window.c:169
#9 0x08091f24 in SetCanvasWindow (cv=0x8886c00, wi=0x8b1a740) at canvas.c:311
#10 0x080703e3 in SetForeWindow (wi=0x8b1a740) at process.c:5173
#11 0x080707ac in SwitchWindow (n=500) at process.c:5154
#12 0x0806d209 in InpProcess (ppbuf=0xbff31590, plen=0xbff31578) at input.c:448
#13 0x08073b82 in DoProcess (p=0x0, bufp=0xbff31590, lenp=0xbff31578, pa=0x0) at process.c:971
#14 0x08073d76 in ProcessInput2 (ibuf=0xbff315c7 "", ilen=0) at process.c:909
#15 0x080876f0 in disp_readev_fn (ev=0x8880df0, data=0x0) at display.c:3491
#16 0x0808e069 in sched () at sched.c:237
#17 0x0804ff16 in main (ac=0, av=<value optimized out>) at screen.c:1464
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment