GNU bug report logs -
#47244
28.0.50; SIGSEGV in long-runnning Emacs
Previous Next
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
> Cc: Eli Zaretskii <eliz <at> gnu.org>, "mwd <at> md5i.com" <mwd <at> md5i.com>,
> "schwab <at> linux-m68k.org" <schwab <at> linux-m68k.org>,
> "47244 <at> debbugs.gnu.org" <47244 <at> debbugs.gnu.org>
> From: martin rudalics <rudalics <at> gmx.at>
> Date: Tue, 30 Mar 2021 16:36:50 +0200
>
> > The breakpoint I put on the error() clause added to buffer.c triggered
> > again in the new build without touching any of the easserts.
>
> And I thought I was overdoing with them. This error is a bit too elusive
> for my brain.
Maybe instead of trying to find the exact culprit, we should simply
protect this code:
/* Make sure the current window's buffer is selected. */
set_buffer_internal (XBUFFER (XWINDOW (selected_window)->contents));
from selecting a dead buffer? For example, by using
other_buffer_safely if the selected-window's buffer is dead. After
all the code in question, viz.:
(gnus-kill-buffer (current-buffer))
is already quite crazy: who in their right mind kills the current
buffer in the middle of a Lisp program? What were they thinking?
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.