zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: BUG: permanent allocation in mathevall
Date: Sat, 25 Sep 1999 03:49:02 +0000	[thread overview]
Message-ID: <990925034902.ZM29518@candle.brasslantern.com> (raw)

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


             reply	other threads:[~1999-09-25  3:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-25  3:49 Bart Schaefer [this message]
1999-09-26 14:02 ` Peter Stephenson
1999-09-26 17:21   ` Bart Schaefer
1999-09-26 16:59     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=990925034902.ZM29518@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).