GNU bug report logs - #22534
File notify broken on Windows

Previous Next

Package: emacs;

Reported by: Fabrice Popineau <fabrice.popineau <at> gmail.com>

Date: Tue, 2 Feb 2016 06:25:02 UTC

Severity: normal

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Fabrice Popineau <fabrice.popineau <at> gmail.com>
Cc: 22534 <at> debbugs.gnu.org, michael.albinus <at> gmx.de
Subject: Re: bug#22534: File notify broken on Windows
Date: Wed, 10 Feb 2016 21:15:50 +0200
> From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> Date: Mon, 8 Feb 2016 20:15:59 +0100
> Cc: Michael Albinus <michael.albinus <at> gmx.de>, 22534 <at> debbugs.gnu.org
> 
>  > From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
>  > Date: Mon, 8 Feb 2016 11:43:10 +0100
>  > Cc: Eli Zaretskii <eliz <at> gnu.org>, 22534 <at> debbugs.gnu.org
>  >
>  > > events: ((created changed deleted)) ((17491048 created
>  > > c:/Users/Fabrice/AppData/Local/Temp/file-notify-test-parent20748Ali/file-notify-test20748Nvo)
>  > > (17491048 changed
>  > > c:/Users/Fabrice/AppData/Local/Temp/file-notify-test-parent20748Ali/file-notify-test20748Nvo))
>  >
>  > Fails also for me in batch mode. Surprisingly, it doesn't fail always,
>  > sometimes (about 1 in 10 runs) it succeeds here, and fails in the next
>  > step. Strange.
>  >
>  > I see the same. The deleted notifications number vary. When you expect 2, sometimes I see 1.
>  > When you expect one, sometimes I see it. But not frequently.
> 
>  Did you try adding calls to read-event after the functions that are
>  supposed to produce these events?
> 
> Yes, but with no results.

Strange.  I see none of that on my machine.  Maybe it's because my
disk is SSD, maybe because this is XP.  Who knows?

Michael, I think it's time to do what you suggested:

> If we do not care the missing `deleted' event in batch mode, I could
> make it optional in the test.

Re this:

> But maybe it is an indication for a serious problem in w32notify.

It might, but it's unlikely, and I won't have time to dig into this in
the following weeks, so I guess this will have to wait for a recipe I
can reproduce on one of my machines.

Thanks.




This bug report was last modified 9 years and 61 days ago.

Previous Next


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