GNU bug report logs - #39824
26.2; timers sometimes stop working when coming back from sleep

Previous Next

Package: emacs;

Reported by: ndame <emacsuser <at> freemail.hu>

Date: Fri, 28 Feb 2020 15:57:01 UTC

Severity: normal

Tags: notabug

Found in version 26.2

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gijs Hillenius <gijs <at> hillenius.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 39824 <at> debbugs.gnu.org
Subject: bug#39824: 26.2; timers sometimes stop working when coming back from sleep
Date: Wed, 25 Mar 2020 15:55:47 +0100
On 25 March 2020 16:37 Eli Zaretskii, wrote:

>> From: Gijs Hillenius <gijs <at> hillenius.net>
>> Date: Tue, 24 Mar 2020 09:27:28 +0100
>> 
>> Since Sunday, I've been running emacs¹ from GDB, but there is nothing
>> much to report. At startup, init.el sets  (run-at-time "10:35" 21600
>> 'org-mobile-push). It ran on Sunday, but not on Monday (yesterday) -
>> despite a good night's sleep.
>> 
>> Today (Tuesday), M-x timer-list shows:
>> 
>>       -59170.00   360.00 org-mobile-push
>> 
>> and from describe-variable timer-list :
>> 
>> ([t 24184 55076 0 21600 org-mobile-push nil nil 0]
>
> The time of this timer is 23-Mar-2020 16:35 +0100.  This probably
> means the timer did run at 10:35 that day, but you seem to say it
> didn't.  Are you sure?  If it didn't run, we might have 2 mysteries
> here instead of just one (the second one being how come the timer
> didn't run, but the time it should run was updated).

It's safe to assume it ran on Monday. (Sorry)

[...]

> Can you instrument timer-event-handler, such that it will record in
> some buffer everything that happens with the timer that calls
> org-mobile-push?  In particular, is it possible that you put the
> machine to sleep while the timer is running?

Yes! This'll be fun!




This bug report was last modified 4 years and 273 days ago.

Previous Next


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