GNU bug report logs -
#65060
29.1.50; display_count_lines segv
Previous Next
Reported by: Kai Ma <justksqsf <at> gmail.com>
Date: Fri, 4 Aug 2023 21:43:01 UTC
Severity: normal
Found in version 29.1.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #25 received at 65060-done <at> debbugs.gnu.org (full text, mbox):
> From: Kai Ma <justksqsf <at> gmail.com>
> Date: Sat, 12 Aug 2023 19:56:27 +0800
> Cc: 65060 <at> debbugs.gnu.org
>
> Thanks. My guess was correct: the buffer in question was killed.
>
> Could you please try the patch below, and see if it avoids the
> crashes? The patch causes Emacs to signal an error when
> format-mode-line is called for a dead buffer, so if I did this
> correctly, you should see that Emacs no longer crashes, but there are
> error messages about a dead buffer in *Messages*. If this is what
> happens, you should then take this up with the dirvish developers, and
> ask them to avoid calling format-mode-line for a killed buffer.
>
> Thanks! The patch prevents the crash. I will report this to dirvish developers.
Thanks, I've now installed the changes on the emacs-29 branch, and I'm
closing this bug.
This bug report was last modified 1 year and 341 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.