Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Re : [BUG] Crash due to malloc call in signal handler
On Mon, 2019-12-16 at 18:04 +0100, Antoine C. wrote:
> I have tried this patch: https://protect2.fireeye.com/url?k=1b67e963-46f97289-1b66622c-0cc47a6cba04-bb264a20abb211dd&u=https://www.zsh.org/mla/workers/2019/msg01058.html
>
> The good news (actually a bad one as I will explain) is that I could not
> reproduce it with my specific test script. With the original code,
> it usually occurs within seconds; with the patch, I never get a crash
> even after hours of execution, and trying to modify some delays.
>
> But I also tried with my "real life" scripts, and unfortunately I get a
> crash twice today. There is a difference with previous version: the crash
> usually occurred within minutes or a few hours, and now it is rather after
> many hours.
Does sound like progress, thanks for the update.
> Here is a bt:
As you suspected, that's a normal, unsuspicious execution, with no signals
involved, so indeed it's probably already in a bad state.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author