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


View this message in rfc822 format

From: Anders Lindgren <andlind <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 23276 <at> debbugs.gnu.org
Subject: bug#23276: 25.0.92; Crash in auto-revert when file no longer present
Date: Sat, 16 Apr 2016 20:55:19 +0200
[Message part 1 (text/plain, inline)]
Hi!


> > I had a file open in Emacs that was rewritten over and over again by
> > an external process. My guess is that Emacs decides that it should be
> > reverted, but when it actually reads the file, it is no longer
> > present.
>
> 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.

In real-life, I see it a couple of times each week. However, in my Emacs I
have opened files associated with processes that erase and rewrite them,
say, every ten seconds.

    Anders
[Message part 2 (text/html, inline)]

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

Previous Next


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