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> cert.org>, Eli Zaretskii <eliz <at> gnu.org>
Cc: "mwd <at> md5i.com" <mwd <at> md5i.com>, "47244 <at> debbugs.gnu.org" <47244 <at> debbugs.gnu.org>, "schwab <at> linux-m68k.org" <schwab <at> linux-m68k.org>
Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs
Date: Tue, 23 Mar 2021 16:23:43 +0100
>>    break buffer.c:1840 if redisplaying_p != 0 && b->window_count > 0
>
> This triggered today.

Could you try running Emacs inserting before the last two lines of
`switch-to-prev-buffer'

    ;; Return new-buffer.
    new-buffer))

a check so this stretch appears as

    (when (and (eq bury-or-kill 'kill) (eq new-buffer old-buffer))
      (error "Could not replace buffer %s in window %s"
             old-buffer window))

    ;; Return new-buffer.
    new-buffer))

If `replace-buffer-in-windows' is the culprit, this should trigger the
bug sooner.

Thanks, martin




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.