From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#15561: periodic timer stops running Date: Mon, 3 Mar 2014 23:17:29 -0500 Message-ID: References: <87zjl8y4lx.fsf@micropit.couberia.selfip.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c33b02ae782504f3c02eda X-Trace: ger.gmane.org 1393906692 8733 80.91.229.3 (4 Mar 2014 04:18:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2014 04:18:12 +0000 (UTC) Cc: Paul Eggert , 15561@debbugs.gnu.org To: Peter =?UTF-8?Q?M=C3=BCnster?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 04 05:18:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WKgo7-0005Wj-KU for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Mar 2014 05:18:19 +0100 Original-Received: from localhost ([::1]:42989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKgo7-00089Z-2p for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Mar 2014 23:18:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKgnw-00088a-Vj for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 23:18:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKgnq-0000jx-W3 for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 23:18:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKgnq-0000jY-Se for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 23:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WKgnq-0000Wm-5x for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 23:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Mar 2014 04:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15561 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15561-submit@debbugs.gnu.org id=B15561.13939066531988 (code B ref 15561); Tue, 04 Mar 2014 04:18:02 +0000 Original-Received: (at 15561) by debbugs.gnu.org; 4 Mar 2014 04:17:33 +0000 Original-Received: from localhost ([127.0.0.1]:49703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKgnN-0000W0-38 for submit@debbugs.gnu.org; Mon, 03 Mar 2014 23:17:33 -0500 Original-Received: from mail-ob0-f173.google.com ([209.85.214.173]:34528) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKgnK-0000Vq-1F for 15561@debbugs.gnu.org; Mon, 03 Mar 2014 23:17:30 -0500 Original-Received: by mail-ob0-f173.google.com with SMTP id gq1so7837186obb.32 for <15561@debbugs.gnu.org>; Mon, 03 Mar 2014 20:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=o8cdDEmXJ2kQRgMOUqLd/BQfopVYO9jAJnwgTxuAWOw=; b=K/LInsWm4OdPNL0CJ92NV//k9yak7fFBbWE6KPSbzqyz5EO7UHaowkEUSMpZz0aj+R /OUiKs2b6ZSwnHdquTzifTQ6E5U8JuUD7i/KC/ONV2qYgGzgNFd+kaxDf7rh6tFq0QJ+ 98nYyIofbDbgKGlh9ExZLI2CX1xIZ7Ks7OrJunVLvLV+lv4m5o8ER/zJ+PYZFb+8nWWV P6GUVoN4V149VXlqjC1+34SvjqNn26Sj1zCCFgZrKJLfpzUrSlHd19ZH9lrj3vsD/+Nv jgMUc6raAw01Z2iTdCpjZEaffRmQlI8X9bOGFk//HpFNMOhIyd1w8DsAnoCqYvydMeG6 M8PQ== X-Received: by 10.182.40.201 with SMTP id z9mr9423913obk.45.1393906649297; Mon, 03 Mar 2014 20:17:29 -0800 (PST) Original-Received: by 10.76.6.44 with HTTP; Mon, 3 Mar 2014 20:17:29 -0800 (PST) In-Reply-To: <87zjl8y4lx.fsf@micropit.couberia.selfip.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86516 Archived-At: --001a11c33b02ae782504f3c02eda Content-Type: text/plain; charset=ISO-8859-1 > Very probably a timer stops running just after system wake-up (after > suspend to ram), because at that moment several timers are triggered > at the same time. I tried testing several timers going off at once, but reproduced no problem. ;;; -*- lexical-binding:t -*- (require 'cl-lib) (let ((noninteractive nil)) (cl-dotimes (timer-id 8) (run-at-time '(0 0 0 0) 0.1 (lambda () (message "%s DEBUG: Timer ID=%s" (current-time) timer-id) (sit-for 0 t))))) All 8 fire without stopping. Is it always the same timer that stops running, or have you seen different timers in Emacs stop? Could you come up with a recipe that allows us to reproduce the bug? --001a11c33b02ae782504f3c02eda Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> Very probably a timer stops running just after system= wake-up (after
> suspend to ram), because at that moment several tim= ers are triggered
> at the same time.

I tried testing several = timers going off at once, but reproduced no
problem.

;;; -*- lexical-binding:t -*-
(require 'cl-lib)
(= let ((noninteractive nil))
=A0 (cl-dotimes (timer-id 8)
=A0=A0=A0 (ru= n-at-time '(0 0 0 0)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 0.1
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (lambda ()
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (message "%s DE= BUG: Timer ID=3D%s" (current-time) timer-id)
=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (sit-for 0 t)))))

All 8 fire witho= ut stopping.

Is it always the same timer that stops running, or have= you seen
different timers in Emacs stop?

Could you come up with a recipe that= allows us to reproduce the bug?

--001a11c33b02ae782504f3c02eda--