From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer" Date: Thu, 16 May 2019 14:52:48 +0200 Message-ID: References: <87ef4yhp84.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fcc40d058900be2b" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="146226"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35755@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 16 15:08:44 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRG7n-000bw4-JQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 May 2019 15:08:43 +0200 Original-Received: from localhost ([127.0.0.1]:55476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRG7m-000899-El for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 May 2019 09:08:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRFte-00050N-Ft for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 08:54:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRFtb-0000Lt-Dh for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 08:54:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRFta-0000Kx-M0 for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 08:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRFta-0001Ut-Jb for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 08:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2019 12:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35755 X-GNU-PR-Package: emacs Original-Received: via spool by 35755-submit@debbugs.gnu.org id=B35755.15580111885672 (code B ref 35755); Thu, 16 May 2019 12:54:02 +0000 Original-Received: (at 35755) by debbugs.gnu.org; 16 May 2019 12:53:08 +0000 Original-Received: from localhost ([127.0.0.1]:54584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRFsi-0001TQ-ET for submit@debbugs.gnu.org; Thu, 16 May 2019 08:53:08 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:34797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRFsg-0001Su-NJ for 35755@debbugs.gnu.org; Thu, 16 May 2019 08:53:07 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id j187so6991812wma.1 for <35755@debbugs.gnu.org>; Thu, 16 May 2019 05:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w92qMRwZ8kFGHf4cwJ2QGQJxj1VguXGbiGLlFQ+F6e0=; b=EdbHiZk+zW/falrFnpQ4oyAiF5TbnblPoafjxeK/Z6NQytmnvyHkLuGzhwmCgQuKRT bQArkljAmSFq5dMAUuyJsGYlMvtb2vYIXAlA6QVfNYwIkatwJVhvfSroV/WSQ9aRvKkC KWMNeCVlQKLV7b5s/v0ms+on8UoeJGko4QZvZZd5MKHOrtnBGoDxUqz91FxfNK60kiOH B8Y2X38FQj58PeW1851nvMm6Nf9gH59oepQOAIsDF97CzozCRyYxJMiOFLs7MIbj9V81 qZxIk1jAiV6cV1wsSKKOg/4XMvTg1AoqaEuyBLxCFPybiRXMIWDPfdMdm4JrwiKKvcfQ ZxQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w92qMRwZ8kFGHf4cwJ2QGQJxj1VguXGbiGLlFQ+F6e0=; b=Qq6V4nO0+sX+4SIYQIX4rF/VvdYeKbAfNMfse09dh6EneL7wj/F/LEZ24MqsuQy1dB IxvO2lKJxXuFr50MY1MvNw7nLQK43mLDzMHWaER7rTzCZPNLNKcmVZJfMqDUY8gFtPnO JQ8nOuWJNeNAdah2u2jHYP+KHP7hzjiKqflSmvvbQMeq5d+EAnF+wRt9GpmmbHcii62/ O3lebiL3CR5UUd7LXC3M3JurZ6/gRyy98br6RHjwCLx3P2TA1LsJxRB7VYwvjQ6r3DsF 6g09tn22dq2/bRQOLHvXS3R55I1xXaxCqOQWBr4aUCl0pbnDiSHIEgnYZ1NNqY0t13tK PgJg== X-Gm-Message-State: APjAAAWvcbdTxHKFVVsV7ba3GcmKCKtsOAtGONEz0AW8WYr2DHM0xcXP 91nH2ce7leU9AVitNTwHERKf9l7BMthNSv5TbA== X-Google-Smtp-Source: APXvYqzttDvTNAvQ88MfMLzxm7aO3wIZ9UrwGbZh/NP8GNPp7Z4PV5s6DLcGL2Vd7/sRHDZfv1XhQXBh6vJqgeKYM8w= X-Received: by 2002:a7b:c4d1:: with SMTP id g17mr18804171wmk.103.1558011180793; Thu, 16 May 2019 05:53:00 -0700 (PDT) In-Reply-To: <87ef4yhp84.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159382 Archived-At: --000000000000fcc40d058900be2b Content-Type: text/plain; charset="UTF-8" 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 wrote: > Paul Pogonyshev 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. > --000000000000fcc40d058900be2b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, it got fixed recently (I had a 'master' snaps= hot from a couple of months back). Sorry for the duplicate.

On Thu, 16 May 2= 019 at 08:45, Michael Albinus <michael.albinus@gmx.de> wrote:
Paul Pogonyshev <pogonyshev@gmail.com> writes:

Hi Paul,

> To reproduce:
>
>=C2=A0 =C2=A0 =C2=A0(with-temp-buffer
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(auto-revert-mode)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(kill-buffer (current-buffer))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(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 bec= omes
> 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.
--000000000000fcc40d058900be2b--