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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35755 in the body.
You can then email your comments to 35755 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35755; Package emacs. (Wed, 15 May 2019 20:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 15 May 2019 20:08:02 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: auto-revert-buffers can cause error "Selecting deleted buffer"
Date: Wed, 15 May 2019 22:06:47 +0200
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35755; Package emacs. (Thu, 16 May 2019 06:46:01 GMT) Full text and rfc822 format available.

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35755; Package emacs. (Thu, 16 May 2019 12:54:02 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 35755 <at> debbugs.gnu.org
Subject: Re: bug#35755: auto-revert-buffers can cause error "Selecting deleted
 buffer"
Date: Thu, 16 May 2019 14:52:48 +0200
[Message part 1 (text/plain, inline)]
Yes, it got fixed recently (I had a 'master' snapshot from a couple of
months back). Sorry for the duplicate.

On Thu, 16 May 2019 at 08:45, Michael Albinus <michael.albinus <at> gmx.de>
wrote:

> 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.
>
[Message part 2 (text/html, inline)]

Forcibly Merged 34847 35755. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Thu, 16 May 2019 13:19:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35755; Package emacs. (Thu, 16 May 2019 13:21:02 GMT) Full text and rfc822 format available.

Message #16 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 15:20:15 +0200
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:

Hi Paul,

> Yes, it got fixed recently (I had a 'master' snapshot from a couple of
> months back). Sorry for the duplicate.

No problem, I'm merging this bug with bug#34847.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 14 Jun 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 316 days ago.

Previous Next


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