GNU bug report logs - #35755
auto-revert-buffers can cause error "Selecting deleted buffer"

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Wed, 15 May 2019 20:08:01 UTC

Severity: normal

Tags: fixed, patch

Merged with 34847

Found in version 27.0.50

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 35755 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 35755 <at> debbugs.gnu.org
Subject: Re: bug#35755: auto-revert-buffers can cause error "Selecting deleted
 buffer"
Date: Thu, 16 May 2019 08:45:31 +0200
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:

Hi Paul,

> To reproduce:
>
>     (with-temp-buffer
>       (auto-revert-mode)
>       (kill-buffer (current-buffer))
>       (auto-revert-buffers))
>
> The function is usually called from a timer, which means that if a
> killed buffer somehow ends in `auto-revert-buffer-list', Emacs becomes
> nearly unusable, because it spams with this error message non-stop.
>
> I don't know how exactly a killed buffer can end there, but it has
> happened to me several times already, probably after extensive C-g
> use.
>
> `auto-revert-buffers' must be fixed to never select killed buffers.

This looks like bug#34847, which is fixed in Emacs 27.0.50. Which Emacs
version are you using? If it isn't 27.0.50, do you have a chance to run
it, in order to check whether the bug is fixed for you?

Thanks, and best regards, Michael.




This bug report was last modified 6 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.