zsh-workers
 help / color / mirror / code / Atom feed
* BUG: permanent allocation in mathevall
@ 1999-09-25  3:49 Bart Schaefer
  1999-09-26 14:02 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 1999-09-25  3:49 UTC (permalink / raw)
  To: zsh-workers

I'm getting the "BUG: permanent allocation in mathevall" message every time
my TRAPALRM function fires.

TRAPALRM () {
        TMOUT=60 
        title
}

It's happening below getiparam("TMOUT"):

#0  mathevall (s=0x819cea0 "6", prek=17, ep=0xbffff0b8)
    at ../../zsh-3.1.6/Src/math.c:852
#1  0x8075097 in matheval (s=0x819cea0 "6") at ../../zsh-3.1.6/Src/math.c:913
#2  0x80750ef in mathevali (s=0x819cea0 "6") at ../../zsh-3.1.6/Src/math.c:924
#3  0x807a710 in getintvalue (v=0x80f6340) at ../../zsh-3.1.6/Src/params.c:1368
#4  0x807b2c5 in getiparam (s=0x80cee62 "")
    at ../../zsh-3.1.6/Src/params.c:1603
#5  0x80875f5 in handler (sig=14) at ../../zsh-3.1.6/Src/signals.c:526
#6  <signal handler called>
#7  0x4009c6f4 in __read ()
#8  0x80a6607 in getkeybuf (w=0)
    at ../../../zsh-3.1.6/Src/Zle/zle_keymap.c:1191

Unfortunately, I'm not sure what to do about it.  I believe signal handlers
deliberately avoid using the heap because of issues about when it should be
popped, but I don't recall for certain.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-09-26 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-25  3:49 BUG: permanent allocation in mathevall Bart Schaefer
1999-09-26 14:02 ` Peter Stephenson
1999-09-26 17:21   ` Bart Schaefer
1999-09-26 16:59     ` Peter Stephenson

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).