GNU bug report logs - #23276
25.0.92; Crash in auto-revert when file no longer present

Previous Next

Package: emacs;

Reported by: Anders Lindgren <andlind <at> gmail.com>

Date: Tue, 12 Apr 2016 11:09:01 UTC

Severity: normal

Found in version 25.0.92

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: 23276 <at> debbugs.gnu.org
Subject: Re: bug#23276: 25.0.92;
 Crash in auto-revert when file no longer present
Date: Sat, 16 Apr 2016 22:56:15 +0200
Anders Lindgren <andlind <at> gmail.com> writes:

> Hi!

Hi,

>     I've tried to write a test case for this, but I've failed. Do you
>     have a recipe to provoke this error?
>
>
> Unfortunately, no. And I don't see how it would be possible to write a
> test for this either, as the file must be removed after auto-revert
> decides that it should be reverted and before the actual revert takes
> place.

I found a way. Temporarily, I add a function to before-revert-hook,
which deletes the file. This provokes the error.

> Anders

Best regards, Michael.




This bug report was last modified 3 years and 83 days ago.

Previous Next


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