From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 19:38:12 +0200 Message-ID: <87y1ul501n.fsf@gnus.org> References: <834jx93n4p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39833"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57804@debbugs.gnu.org, Paul Pogonyshev To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 14 20:03:01 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 1oYWiz-000AEn-BO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 20:03:01 +0200 Original-Received: from localhost ([::1]:56208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYWiy-0004eS-7k for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 14:03:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYWLm-00081k-K2 for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 13:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYWLm-0002Vv-8T for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 13:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYWLl-0000l3-Vj for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 13:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Sep 2022 17:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 57804-submit@debbugs.gnu.org id=B57804.16631771032866 (code B ref 57804); Wed, 14 Sep 2022 17:39:01 +0000 Original-Received: (at 57804) by debbugs.gnu.org; 14 Sep 2022 17:38:23 +0000 Original-Received: from localhost ([127.0.0.1]:56004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYWL8-0000k9-M4 for submit@debbugs.gnu.org; Wed, 14 Sep 2022 13:38:22 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:52146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYWL7-0000jv-O1 for 57804@debbugs.gnu.org; Wed, 14 Sep 2022 13:38:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lkwDqG0Zy7kd+sXquqaeclPaoOkWisLuzv3g6wcKCao=; b=Z8+hCcjCmwfqTeR5okNOd4sOI7 KtjuBs7tKe3llBDxjvA81rdM4t+/OePgEG9+Fp+IUDUxFpXriNN7bDD2YW0fO39sUZ968QkierasL DW27QIFBzyvUvsPsu44+0wu2BRGu+B5j1ahGLR8tct3YYXYj7iJozYoB7gBaxu9Yh9Ms=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYWKy-0000RH-RI; Wed, 14 Sep 2022 19:38:14 +0200 In-Reply-To: <834jx93n4p.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Sep 2022 20:02:30 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEXu7u3Y0NfGoK/P NkTdV2e3rsuZeYdLOkUTBw9kV14nEhlLJio2IiosGiP////Zf5E1AAAAAWJLR0QOb70wTwAAAAd0 SU1FB+YJDhEYCHAinlEAAAGOSURBVDjLrdK9TsJQFAfwYuJOE0kMkcHi4iq+AKUvwEA0xBV4Az4S WeV4oaNCBRcXLhe7Yk2ZhVSZ+xH6LrYF1J7WxMH/eH+959xzeznuKzz330nyPJ8Mr2Rzu5xtlxKC kD+RxKzkJ3cuSTvYE0VRkIRsTioUQju2OZB2yf/xPIlU9ZjfJAz7NbgpBSkiOJ0+xUPfaFXiIKUs G9/wY/pU8aESX6o0qsSXKtUqA9tbr96F4aLfrw5pS2nDbRjKzKR2GwAIgittDJN5DJTpmKrUA1zq EkyHAIlC2V3QWDj6WPt1SBRc1weg0R0r73tCZQwZdwlkOKXgIDhULZnN3y2QEaQpdHVdN2J6LLtz XVcdhnuoBmGMMAtDmvjDgRPZkWZTzYOXXhTWj8DgTXUjwEYe2E0jCg2v1HNzjU/F4BpkCosOBkJW /t3OiMmF3lWGBceFWdPGpZh35xQmA9wcZOIPYtcioAalVKWDwSLBr62bGOgGXhuoOQSPCmCi/ALd ezygBsw3gqGnseBhkTrHfQIpVOojvKi+iAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wOS0xNFQx NzoyNDowOCswMDowMC0MBZkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDktMTRUMTc6MjQ6MDgr MDA6MDBcUb0lAAAAAElFTkSuQmCC X-Now-Playing: Anne Clark's _Hopeless Cases_: "Now" 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:242506 Archived-At: Eli Zaretskii writes: > This case is exactly one of those which I think we shouldn't try to > fix, because it's the case of "buggy Lisp program", a.k.a. "don't do > that". There's no reason for any useful Lisp program to have an > infloop like this: > >> (while t >> "whoopsie") You've never accidentally put an infloop into a font locking function? Then you've been very lucky. We should definitely fix this is we can.