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
> From: Michael Welsh Duggan <mwd <at> md5i.com>
> Cc: Michael Welsh Duggan <mwd <at> md5i.com>, schwab <at> linux-m68k.org,
> mwd <at> cert.org, 47244 <at> debbugs.gnu.org
> Date: Fri, 19 Mar 2021 09:37:21 -0400
>
> > But maybe my fears are exaggerated. If you set a breakpoint on
> > Fkill_buffer with commands that say just
> >
> > silent
> > continue
> > end
> >
> > does Emacs run reasonably fast for you to be able to work in such a
> > session?
>
> I just tested this. It runs fast enough even without silent. (I did
> this to make sure I had set up the breakpoint correctly and it was being
> triggered.
Then maybe we can try catching the culprit. Try this:
(gdb) break buffer.c:1840 if redisplaying_p != 0
This breakpoint is in this snippet from buffer.c:
/* Make this buffer not be current. Exit if it is the sole visible
buffer. */
if (b == current_buffer)
{
tem = Fother_buffer (buffer, Qnil, Qnil); <<<<<<<<<<<<<<<<<<
Fset_buffer (tem);
if (b == current_buffer)
return Qnil;
}
If this breaks, I'd be interested to see the backtrace (including
"xbacktrace" which shows the corresponding Lisp backtrace).
Thanks.
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.