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: martin rudalics <rudalics <at> gmx.at>
To: Michael Welsh Duggan <mwd <at> md5i.com>
Cc: "47244 <at> debbugs.gnu.org" <47244 <at> debbugs.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: Thu, 8 Apr 2021 08:59:48 +0200
[Message part 1 (text/plain, inline)]
> FWIW, I've been trying to do the same and have been similarly
> unsuccessful.

I attach a version where I make a shadow copy of Vwindow_list called
Vwindow_list_2.  The two should behave the same just that Vwindow_list_2
is never accessed by other code.  So we can put an assertion like

    eassert (!NILP (Fequal (Vwindow_list, Vwindow_list_2)));

anywhere in the code.  I put one in window_list and it should trigger
the same way as the length check before.

Now if anyone can suggest some strategic positions where to put these
assertions, I'll be all ears.

martin
[selected_window_contents.diff (text/x-patch, attachment)]

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

Previous Next


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