From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39824: 26.2; timers sometimes stop working when coming back from sleep Date: Fri, 06 Mar 2020 19:07:34 +0200 Message-ID: <83d09pbeeh.fsf@gnu.org> References: <83k143zxbm.fsf@gnu.org> <83eeu5j15k.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124740"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39824@debbugs.gnu.org To: ndame Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 06 18:08:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAGSK-000WLJ-Sk for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 18:08:12 +0100 Original-Received: from localhost ([::1]:39518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAGSJ-0001sU-Qw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 12:08:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42949) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAGSC-0001sH-GK for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:08:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAGSB-0001HJ-8u for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:08:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAGSB-00019e-4P for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:08:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAGSA-0001ng-6s for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Mar 2020 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39824 X-GNU-PR-Package: emacs Original-Received: via spool by 39824-submit@debbugs.gnu.org id=B39824.15835144656899 (code B ref 39824); Fri, 06 Mar 2020 17:08:02 +0000 Original-Received: (at 39824) by debbugs.gnu.org; 6 Mar 2020 17:07:45 +0000 Original-Received: from localhost ([127.0.0.1]:45834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAGRt-0001nD-6C for submit@debbugs.gnu.org; Fri, 06 Mar 2020 12:07:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAGRr-0001mz-0d for 39824@debbugs.gnu.org; Fri, 06 Mar 2020 12:07:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jAGRl-0006Ef-7n; Fri, 06 Mar 2020 12:07:37 -0500 Original-Received: from [176.228.60.248] (port=4897 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jAGRk-0000ws-Qr; Fri, 06 Mar 2020 12:07:37 -0500 In-Reply-To: (message from ndame on Fri, 6 Mar 2020 16:30:24 +0000 (GMT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176971 Archived-At: > Date: Fri, 6 Mar 2020 16:30:24 +0000 (GMT) > From: ndame > Cc: "39824@debbugs.gnu.org" <39824@debbugs.gnu.org> > > Ok, will do if it happens again. I don't know what triggers it, because > it happens only occasionally. Thanks. > The strange thing is it would be a logical explanation that emacs substracts > the new time from the timer and it makes it go negative (though I haven't > checked how it is implemented), but usually only one of the timers go > negative, not all of them, so the bug does not affect all timers when it > happens. AFAICS, Emacs doesn't subtract to compute the "next" time, it actually _adds_. That's why I asked for data: I don't see any immediate suspects that could cause what you describe.