From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62794: 28.2; jit-lock-function enters busy loop when open """ near top of large Python program Date: Wed, 12 Apr 2023 18:39:05 +0300 Message-ID: <83a5zd6rfq.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62794@debbugs.gnu.org To: Nick Urbanik Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 17:39:14 2023 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 1pmcYz-0009Y0-At for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 17:39:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmcYq-00019W-Jn; Wed, 12 Apr 2023 11:39:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcYo-00018r-WE for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmcYo-0001LF-OQ for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmcYo-0005Cu-FR for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62794 X-GNU-PR-Package: emacs Original-Received: via spool by 62794-submit@debbugs.gnu.org id=B62794.168131391119945 (code B ref 62794); Wed, 12 Apr 2023 15:39:02 +0000 Original-Received: (at 62794) by debbugs.gnu.org; 12 Apr 2023 15:38:31 +0000 Original-Received: from localhost ([127.0.0.1]:40912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcYI-0005Bc-Oe for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:38:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcYG-0005BJ-4X for 62794@debbugs.gnu.org; Wed, 12 Apr 2023 11:38:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcY8-00015G-V7; Wed, 12 Apr 2023 11:38:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IbMYy0eEuQwYibyAWqJXvRmE5KEf3D/qouK4H8mnKPg=; b=q7j9m8xrmf/m A5PuPg78ddFOpysGhnN1Va/Qv80z+BDf5SB2fUxwOcT2eDTJCMSZho/ZRl0tASg5VKsFt/FuE+HE0 p8fozY7y+8/bSwXVyW/gFUT0cJg+v3zHnr/kfeJMwF6XtVns9LSPVZRp+TGnmr1dZogE/Ck8wq5vs eQcly0Qs4fH8G2N30TylVq3udhQzzABXUbX6lHJ739Lbdv1apzWzcj1JgI+/KjU92F/Nvf5u0lXLk JiwmKea2VOqS9ysIacKuzZM4E8wBzASdkYkAlA9kPay6nwNlzkbt23C8kxwMk+ymaegnaCIQy7WSB i9Q0CVQpIeAiZhouX/kYyg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcY8-0001sy-3H; Wed, 12 Apr 2023 11:38:20 -0400 In-Reply-To: (message from Nick Urbanik on Wed, 12 Apr 2023 17:05:13 +1000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259769 Archived-At: > Date: Wed, 12 Apr 2023 17:05:13 +1000 > From: Nick Urbanik > > > > 1. Start emacs with emacs -Q > 2. Read in a large python file (3100 lines long, more than 10,000 > characters) Thanks. Please post such a file, or a URL where it could be downloaded. I couldn't easily find such a large file on my system. > 3. Near the top, type the following: > > def function(): > """ > > 4. No further input is accepted. > 5. CPU usage is 100% as shown in /usr/bin/top > 6. type kill -USR2 {process_id_of_emacs-Q} > and the emacs window closes. > 7. From my emacs started without '-Q', when I type > killall -USR2 emacs > I see: > Debugger entered--entering a function: I suspect this is already fixed in Emacs 29, but I cannot verify without a file that reproduces the problem in Emacs 28.