Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Crash while testing a completion: trap handlers and malloc?
- X-seq: zsh-workers 7979
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Crash while testing a completion: trap handlers and malloc?
- Date: Tue, 21 Sep 1999 11:05:31 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Sat, 18 Sep 1999 23:47:49 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> In the same shell where I'd been testing my patch from 7929, I was fooling
> with the _mailboxes updates I sent in 7932. I typed "mutt -f <TAB>" and
> got a core dump with the following huge stack trace. Note that the SIGALRM
> trap handler is being called (so it's a TMOUT thing) and further that it is
> being called during zalloc(). This is bad news, as the malloc() arena is
> not re-entrant in most implementations.
I think the library should take care of this, but maybe if we move the
(|un)queue_signals() calls from our malloc down into zalloc() and friends?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author