GNU bug report logs - #40771
26.1: javascript-mode timers persist after closing mode buffers

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Boruch Baum <boruch_baum@HIDDEN>; dated Wed, 22 Apr 2020 15:44:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 40771 <at> debbugs.gnu.org:


Received: (at 40771) by debbugs.gnu.org; 27 Apr 2020 14:35:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 27 10:35:27 2020
Received: from localhost ([127.0.0.1]:37756 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jT4r0-0008E3-VX
	for submit <at> debbugs.gnu.org; Mon, 27 Apr 2020 10:35:27 -0400
Received: from mail-qk1-f174.google.com ([209.85.222.174]:43424)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1jT4qz-0008Do-FP
 for 40771 <at> debbugs.gnu.org; Mon, 27 Apr 2020 10:35:25 -0400
Received: by mail-qk1-f174.google.com with SMTP id 20so18128352qkl.10
 for <40771 <at> debbugs.gnu.org>; Mon, 27 Apr 2020 07:35:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=eQmR/HBJNz43dR6zjxS7tj3XTLLESKUxSY5DGR0Wv5M=;
 b=cKfxmO1UrS2igLApiuQKiEkWLsijMnVKZyJjA6pTG99FhkfOm47bwy2KDMDcKEtKxr
 YLOKQWZhoElcIiWDEcH56xckh/hNEkzBQr4J+Z+mZe/p1hHhLBFMNhY8cnFQ7QDTWxvO
 DU6o+wmD4Lqz8wFxLGiRRc4+IJAJo0VML1IwXrtfTOOTTLc4vmzgo8zgSqoj2i1D1sYC
 WSC/BPw6UuZOOVWH3CGuUaEfHUk13uFdyBz0GYOq2eCZK8hqUSb/1zFDa0yjZ5MvoaNY
 mWNcwnue2SK9gyQhiKr0FgTQgmib+uEw6BulK+6oqX+QELadUUWGWVZX1/zCzKm6B/Un
 8muQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=eQmR/HBJNz43dR6zjxS7tj3XTLLESKUxSY5DGR0Wv5M=;
 b=EBFWfFY7OAL9M63iIX2vYrvplKpwvQ6l+xMDNxv6Jr05dCBL5vzfww9ijyvuI+l+W3
 lurfWy1CPH9YgRmYkvsTSGCYpy4F0LKX0WomzqJt7OySikzaGCKN1P6E+ubLzY+l+RU4
 AA2HOiwhMhZSO+oJpw5r1jIaHT1XNowAFHxEsae+S8B2KU9RKb7RuKsLiAGXre60ZRQM
 hb5yhLPZVRCrOcklysqB2RW0WdDnK4PsukJqlvGC2eYkW7Dchcr3ZRmvNz2G0MXVzvqE
 /ZFq1fNeJ5hlzwKTODroRVwlYc2mtgrLs/jScongQ1fJNbhCD5oDLKVYxfzLV6RJC3K4
 j6wQ==
X-Gm-Message-State: AGi0Pua8pVjoQ2jmMHkQcAwXaQYeuTGy/9vKMv4MJeHZyfZUWoTgw85W
 8p7J5h92cmmhstfF1nXmMUNrVPAN
X-Google-Smtp-Source: APiQypIW37V/WotcUGwoaUIxK+PtnemZzXTsG6nXKgP8E6xo7NzOU+ca9TPTcm/3TwZo5FZKlqQebA==
X-Received: by 2002:a37:a6d4:: with SMTP id
 p203mr20468287qke.201.1587998119801; 
 Mon, 27 Apr 2020 07:35:19 -0700 (PDT)
Received: from vhost2
 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42])
 by smtp.gmail.com with ESMTPSA id e16sm11010763qtc.92.2020.04.27.07.35.18
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 27 Apr 2020 07:35:19 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#40771: 26.1: javascript-mode timers persist after closing
 mode buffers
References: <20200422154309.yjkke3ditgspbfic@HIDDEN>
Date: Mon, 27 Apr 2020 10:35:17 -0400
In-Reply-To: <20200422154309.yjkke3ditgspbfic@HIDDEN> (Boruch
 Baum's message of "Wed, 22 Apr 2020 11:43:09 -0400")
Message-ID: <851ro99eu2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 40771
Cc: 40771 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> Today, with no javascript mode buffer open, when running M-x
> list-timers, two javascript-related timers appear:
>
>    *       0.50        t jit-lock-context-fontify

I don't think this one is javascript-related.

>    *      30.00        t js-gc
>
> So, it looks like those timers aren't being properly killed. I have no
> idea when I have ever opened a buffer in some form of javascript mode;
> my emacs-uptime is 20+ days.

js.el has at top-level:

    (run-with-idle-timer 30 t #'js-gc)

It's a global timer which isn't connected to any particular buffer.  I'm
not sure why you think the timer should be killed.  Do you see any
problems coming from the existence of this timer?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#40771; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Apr 2020 15:43:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 22 11:43:20 2020
Received: from localhost ([127.0.0.1]:52947 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jRHWy-00021z-0s
	for submit <at> debbugs.gnu.org; Wed, 22 Apr 2020 11:43:20 -0400
Received: from lists.gnu.org ([209.51.188.17]:50024)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1jRHWw-00021s-OL
 for submit <at> debbugs.gnu.org; Wed, 22 Apr 2020 11:43:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43490)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <boruch_baum@HIDDEN>) id 1jRHWw-0001WQ-7J
 for bug-gnu-emacs@HIDDEN; Wed, 22 Apr 2020 11:43:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_BLOCKED
 autolearn=unavailable autolearn_force=no version=3.4.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1)
 (envelope-from <boruch_baum@HIDDEN>) id 1jRHWv-0002aU-Eo
 for bug-gnu-emacs@HIDDEN; Wed, 22 Apr 2020 11:43:17 -0400
Received: from mout.gmx.net ([212.227.15.19]:51891)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1jRHWu-0002V1-OH
 for bug-gnu-emacs@HIDDEN; Wed, 22 Apr 2020 11:43:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1587570193;
 bh=SoQiD4JGLJCoZfRPamwFo3EDADlMvEqN/avvBM0MQjA=;
 h=X-UI-Sender-Class:Date:From:To:Subject;
 b=dyjoqIy6Bs3PXRT4g5C/wvDIGaD6xR6EpFObewXGnGMd/z/GzeMiNvj3Ypi4xMxX9
 A1b1Kv446r+dugHl1Y3Um8CJBah6D8DN3MIz5PV2lm3TewJvEqWv670sqXTpXt//kh
 bnbN6WOGsU0D+0mluuJIi/nv/wTcK3sU47NSsRUk=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from E15-2016.optimum.net ([100.38.74.74]) by mail.gmx.com (mrgmx004
 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MatVh-1ivFpj3u39-00cSuF
 for <bug-gnu-emacs@HIDDEN>; Wed, 22 Apr 2020 17:43:13 +0200
Date: Wed, 22 Apr 2020 11:43:09 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Emacs Bug Reporting <bug-gnu-emacs@HIDDEN>
Subject: 26.1: javascript-mode timers persist after closing mode buffers
Message-ID: <20200422154309.yjkke3ditgspbfic@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:95neetK26woqGYspkKMzkZWc3nA0oNATdvwhPqwOCvlM65aSPkT
 qJKalAiSQj8J1s/3FKLlsGUkrmlSE8KM7/9jKi/jHa3mSxq7B19fuEhuuoLx9pKyRDI4+ft
 8nSrfKeL2HUN9UJ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w8PqMDZL/kMwJVM5LFHm+hNYqJtDj0Emaf7EQBM+8VDM
 YNUKhc83hlqrGKFAzQu0R/W8kgs4Tuois5hb4x8hAit5ac3hI5xWN+n0J9oFbUhLUDCAZYgSo
 DbrmYRcmP4l/CYHjFzemiVA8i8cFDrfbMrnci7wVLpEv1vLg7647WeCkxq8vJ3xHd/Np1J9nF
 8U5hzq6GGF65NnAXlWkpGf6dbY/w3J/H2HyJ19sFc/ZXSEmcIHQQwS4BPPcns6CDAhoFYsQaN
 BSiyNAs4oxEQ7hZxWLaDJn9QDuMOfjZaGgqyHKqDOf/eh5SMvETY/8cSgto+PMkaE2GMAoB/s
 RLHYMHhzaxx+ll412
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.227.15.19; envelope-from=boruch_baum@HIDDEN;
 helo=mout.gmx.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/22 11:43:13
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic]
X-Received-From: 212.227.15.19
X-Spam-Score: 2.2 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Today, with no javascript mode buffer open, when running M-x
 list-timers,
 two javascript-related timers appear: * 0.50 t jit-lock-context-fontify
 * 30.00 t js-gc So, it looks like those timers aren't being properly killed.
 I have no idea when I have ever opened a buffer in some form of javascript
 mode; my emacs-uptime is 20+ days. 
 Content analysis details:   (2.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: gnupg.net]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (boruch_baum[at]gmx.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;
 id=boruch_baum%40gmx.com; ip=209.51.188.17; r=debbugs.gnu.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [209.51.188.17 listed in list.dnswl.org]
 2.0 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

Today, with no javascript mode buffer open, when running M-x
list-timers, two javascript-related timers appear:

   *       0.50        t jit-lock-context-fontify
   *      30.00        t js-gc

So, it looks like those timers aren't being properly killed. I have no
idea when I have ever opened a buffer in some form of javascript mode;
my emacs-uptime is 20+ days.

=2D-
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Acknowledgement sent to Boruch Baum <boruch_baum@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#40771; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 27 Apr 2020 14:45:01 UTC

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