GNU bug report logs - #47244
28.0.50; SIGSEGV in long-runnning Emacs

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <md5i <at> md5i.com>

Date: Thu, 18 Mar 2021 15:40:01 UTC

Severity: normal

Found in version 28.0.50

Done: Michael Welsh Duggan <mwd <at> md5i.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Welsh Duggan <mwd <at> md5i.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Michael Welsh Duggan <mwd <at> md5i.com>, "47244 <at> debbugs.gnu.org" <47244 <at> debbugs.gnu.org>, Eli Zaretskii <eliz <at> gnu.org>, "schwab <at> linux-m68k.org" <schwab <at> linux-m68k.org>, Michael Welsh Duggan <mwd <at> cert.org>
Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs
Date: Fri, 09 Apr 2021 16:59:31 -0400
martin rudalics <rudalics <at> gmx.at> writes:

>> I hit the breakpoint in quit.  It looks like Fnconc uses FOR_EACH_TAIL,
>> which uses FOR_EACH_TAIL_INTENAL, which calls maybe_quit.
>
> Not just around the corner but near.  Well done.
>
>> The question
>> in my mind now is whether block/unblock_input belongs in window_list or
>> in Fnconc.
>
> In window_list and we then should bind inhibit_quit IIUC.  Fnconc must be
> able to deal with circular lists.  I attach a patch.

I've tried to recreate a problem with this patch and have successfully
failed.  I'll continue using it for a few days, and I will let you know
if I see any problems, but I think that protecting window_list() from
quit fixes the problem(s) I reported.

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)




This bug report was last modified 4 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.