GNU bug report logs - #25875
26.0.50; Hang logging out of MS-Windows

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Sat, 25 Feb 2017 19:37:01 UTC

Severity: normal

Found in version 26.0.50

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Richard Copley <rcopley <at> gmail.com>
Cc: 25875 <at> debbugs.gnu.org, kbrown <at> cornell.edu
Subject: Re: bug#25875: 26.0.50; Hang logging out of MS-Windows
Date: Tue, 28 Feb 2017 17:36:02 +0200
> From: Richard Copley <rcopley <at> gmail.com>
> Date: Tue, 28 Feb 2017 07:21:04 +0000
> Cc: Ken Brown <kbrown <at> cornell.edu>, 25875 <at> debbugs.gnu.org
> 
> > How representative would the above sample be, relative to the
> > frequency of the problem you see when shutting down Windows?  If you
> > see such problems almost every shutdown, then yes, we'd be learning a
> > lot.
> 
> In the nine months since Ken's change, I've noticed a problem with
> Emacs twice.

Then I guess it would be better to just push those changes and see if
they do any harm.

> Ken, Eli, are you going to be running Emacs with that patch installed?

I never use the master branch for serious work, so it doesn't matter
what I do.  In addition, I almost never shut down my systems.

> I can't get my head around the idea. If we don't care whether or not
> the action in question has finished when SendMessage returns,
> then why are we using SendMessage? And if we do care, then
> shouldn't I expect weird bugs caused by timing out when the system's
> under load?

If a window procedure doesn't process messages for more than 5 sec,
Windows will put "Not Responding" on its caption bar.  So I think the
100 msec number in Ken's patch should be changed to something like
6000, and then we are fine, because even on a busy system this should
be long enough.  And if Emacs (and the OS) is about to shut down, it's
even less of a problem to ignore a message that timed out, IMO.




This bug report was last modified 8 years and 85 days ago.

Previous Next


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