From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.bugs Subject: bug#57804: An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely Date: Wed, 14 Sep 2022 12:14:33 -0400 Message-ID: <87a672j5li.fsf@dick> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27523"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) Cc: 57804@debbugs.gnu.org To: Paul Pogonyshev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 14 19:44:16 2022 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 1oYWQo-00070s-9q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 19:44:14 +0200 Original-Received: from localhost ([::1]:41128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYWQn-0004q8-7Z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 13:44:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYVj6-0000DX-01 for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 12:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYVj5-0003z8-6S for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 12:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYVj5-0005yD-1q for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 12:59:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Sep 2022 16:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57804 X-GNU-PR-Package: emacs Original-Received: via spool by 57804-submit@debbugs.gnu.org id=B57804.166317470522880 (code B ref 57804); Wed, 14 Sep 2022 16:59:03 +0000 Original-Received: (at 57804) by debbugs.gnu.org; 14 Sep 2022 16:58:25 +0000 Original-Received: from localhost ([127.0.0.1]:55931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYViT-0005wt-Ej for submit@debbugs.gnu.org; Wed, 14 Sep 2022 12:58:25 -0400 Original-Received: from mail-qt1-f181.google.com ([209.85.160.181]:41908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYV28-0004ha-4n for 57804@debbugs.gnu.org; Wed, 14 Sep 2022 12:14:42 -0400 Original-Received: by mail-qt1-f181.google.com with SMTP id c11so11533618qtw.8 for <57804@debbugs.gnu.org>; Wed, 14 Sep 2022 09:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=mQV0gcyH/2vkIbt0VBC8ftqKc0n0gVTFJ3jxWBfTCvE=; b=oGzgLAoN10V0MR5LzvtRzC3h0MpS55bviVPA4z14JX/LDlCQMsoTvWoCfsjwYo/Zdd WEePQJzrRjZ3SzSUaMnPlvJjicHbhw49PKj9kFlhCUIBoI9/UyPtpkbG/nijxt30DKtm tm/5COthj3yHRxJTM8wTL9D5ouPWCU4IcE7gTIlKlCXFbJ5ib6i7KRbYaCqud4o5yChW tdozsWuLXNg79anUX9MHpoc2H9xHJ26EmQQZOc9BqLytiZaYKBImUuePh81wxyWobNFw fYJB7LJ+xlVXQW2Ig3CEX82gS6Tb9l6IbrRb/20sLMfnybI0jZaLZLSQn9XB9xZc3QGZ Qa/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=mQV0gcyH/2vkIbt0VBC8ftqKc0n0gVTFJ3jxWBfTCvE=; b=so/BrlJbg0jpMDIzrdXPTK+pZBjd8rjlDzUWJKmjvMDawJiysPtR1S7zNosdNY818e y6Ijur+GFYYj2aniHzjmuYwsdYsnUkuiQ6p/NF3A2rg+5BnsWq255MZIamJfNOifYMkP OF459yTo2XDsxkKtyed8mUNQ9Lel2R3Z7N08n3G9Rwo4/zqlH8XgP31vkmsVsFLylKvp U5OrL/iHeD9lK+zfJ2JS2kAW1k/ZW2LfPvA3qJgzmdFAMA4AyKtU22iB1+9p1W8oAZBJ vM+vsgV7ZXtYm2dwTuSGQPniEoIo79FF3O0go5dLZy8+DejPpFBUikCvlVwVo7o/Stck CC5A== X-Gm-Message-State: ACgBeo3yn9pKY8XfyAbth1c6yH/sPPRnx26ByBHLdY1+Na6/y/jFnV1Z mCrBP8YE3s5Px9XLW2h7itSLAdh38Pw= X-Google-Smtp-Source: AA6agR563ROxkB9NJrDU92FYICWCbtkuppS0CzyeiBkFWBTgrfM5yTdkHNJkrBHgC4PBarQME4vNcQ== X-Received: by 2002:ac8:5748:0:b0:35b:ac34:ff37 with SMTP id 8-20020ac85748000000b0035bac34ff37mr17909289qtx.630.1663172074430; Wed, 14 Sep 2022 09:14:34 -0700 (PDT) Original-Received: from localhost (pool-173-56-234-28.nycmny.fios.verizon.net. [173.56.234.28]) by smtp.gmail.com with ESMTPSA id v15-20020a05620a0f0f00b0069fe1dfbeffsm2135110qkl.92.2022.09.14.09.14.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 09:14:33 -0700 (PDT) In-Reply-To: (Paul Pogonyshev's message of "Wed, 14 Sep 2022 17:05:54 +0200") X-Mailman-Approved-At: Wed, 14 Sep 2022 12:58:21 -0400 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" Xref: news.gmane.io gmane.emacs.bugs:242496 Archived-At: Oh what a horse's ass am I. I see what you're saying. A simple evaluation of (while t) is C-g'able. jit-lock callbacks enjoy special status in that they're invoked out-of-band in redisplay C code. That's probably why they're not interruptible from the interpreter loop. But as you can tell from my earlier outburst, I'm constantly talking out of school.