GNU bug report logs -
#60096
29.0.60; Crash in format_mode_line_unwind_data
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Thu, 15 Dec 2022 17:40:02 UTC
Severity: normal
Found in version 29.0.60
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juri Linkov <juri <at> linkov.net>
> Cc: martin rudalics <rudalics <at> gmx.at>, 60096 <at> debbugs.gnu.org
> Date: Sat, 17 Dec 2022 19:23:27 +0200
>
> >> Note that the *scratch* buffer is re-created in this scenario without
> >> the blurb we put into it, and in Fundamental mode.
> >
> > I've fixed at least the last part, so the major mode of the re-created
> > *scratch* is now as expected.
>
> Now it doesn't crash, but outputs an error in the *Messages* buffer:
>
> Error during redisplay: (get-scratch-buffer-create)
> signaled (wrong-type-argument window-live-p #<window 7>)
Only once, right?
This is the error which (indirectly) caused the crash you reported
originally. The fix just falls back on a safer method of re-creating
*scratch* when this error happens.
It is a very unusual situation that *scratch* needs to be re-created
when we call set-window-configuration; it is caused by the fact that
your recipe kills one of the two only buffers Emacs has to play
around (the other one being *Messages*).
This bug report was last modified 2 years and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.