* Bug in SIGWINCH (or signals in general?) handling
@ 1998-03-04 5:05 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 1998-03-04 5:05 UTC (permalink / raw)
To: zsh-workers
I was playing around with resizing an xterm and noticed that zsh 3.0.5 wasn't
changing $COLUMNS and $LINES to match the new terminal size. (It still isn't
doing so, even as I type this.) Thinking "Hmm, I thought zsh was monitoring
SIGWINCH now," I typed
TRAPWINCH() { print FOO }
and resized the window. Sure enough, FOO appeared. So then I typed
eval `resize`
and FOO appeared again, but I didn't get a prompt back; zsh locked up. The
stack trace (sorry, no debug symbols) looks like:
(gdb) where
#0 0x40076090 in sigsuspend (__sigmask=0x0)
#1 0x400aeb54 in __DTOR_END__ ()
#2 0x805981f in getoutput ()
#3 0x807307e in stringsubst ()
#4 0x8072d5e in prefork ()
#5 0x8057b81 in execcmd ()
#6 0x8056eb3 in execpline2 ()
#7 0x80569ca in execpline ()
#8 0x80566cc in execlist ()
#9 0x8063b6b in loop ()
#10 0x8063969 in main ()
#11 0x8049fee in _start ()
This is on Linux 2.0.33, libc5 (not glibc).
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-03-04 5:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-04 5:05 Bug in SIGWINCH (or signals in general?) handling Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).