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:00:19 -0400 Message-ID: <87h71aj698.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="22418"; 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:27:14 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 1oYWAL-0005ex-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 19:27:13 +0200 Original-Received: from localhost ([::1]:55610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYWAJ-00086y-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 13:27:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYVj6-0000DY-0E for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 12:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYVj4-0003z6-Ql 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 1oYVj4-0005y6-KL for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 12:59:02 -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:02 +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.166317470522874 (code B ref 57804); Wed, 14 Sep 2022 16:59:02 +0000 Original-Received: (at 57804) by debbugs.gnu.org; 14 Sep 2022 16:58:25 +0000 Original-Received: from localhost ([127.0.0.1]:55929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYViT-0005wl-50 for submit@debbugs.gnu.org; Wed, 14 Sep 2022 12:58:25 -0400 Original-Received: from mail-qt1-f169.google.com ([209.85.160.169]:34802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYUoM-0004LQ-GD for 57804@debbugs.gnu.org; Wed, 14 Sep 2022 12:00:27 -0400 Original-Received: by mail-qt1-f169.google.com with SMTP id g12so11122412qts.1 for <57804@debbugs.gnu.org>; Wed, 14 Sep 2022 09:00:26 -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=lFJ409rqM/fsD+U91nYe8RiFAqdJIc+LkG8i+/brmR0=; b=cVQv9xWlqr0XleilxX0cJgMbj+94Zu3yLNKb+pEckjJlai8Hofs5v56mk4Er8Assnu oZAJaZQACwshwq2SJW9I3v0WDc7IfDXohAuUXHvcq2a096ho5GuiOU4VoKedXDdVYWSe 8I8VEDmNoHFLWU/aC8Wc1PerpDSTl9IOA1zoAjYAOp0oycfwfzu2Nu5tUd8x/LmwJnfo OxXFBmu8Aws3JnRUWmHTMSQ5rq2Lhn5bWrpCI2V3bpDjD1OOS8TaSa2m8XyBu+iXc6Oe xW/JAv9ju5s6pPfc9mFE+GFwAnV1v1Pr5/CEIigTlPmBTFx8m48YA71lPY7f+HhvMUwI X8RQ== 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=lFJ409rqM/fsD+U91nYe8RiFAqdJIc+LkG8i+/brmR0=; b=Edoo3j/LuRR8vT0aokpOPopSmHjxRzb+GPmKbmo9gofDyrDSaWM6O/l0qPFZO8YYbb rayJAM52h/XW3nn9NhRcTUNuqxyDRuvQGTSt81ZFlJrA42ksRL7VETbLhGwiAkbYim5V e56En7ll1v0Xv/1r3VerOJz+pJA1aqfRWbwDf6SRHdy3TNjDIIl/eybbbrTHgSz0mvA9 xBAv9T0MHw4nAAuMebxRulcoxAZDdIBvuvhcNGyYtP1ypZrbQOUYIghP8ETypDG4eGhn G49Xc++ewI0OkSk1mw8IUnarmOgkIv7wtN/t/wgu14jE92AugbKrwuP6od2brT34gQSz cMjw== X-Gm-Message-State: ACgBeo1nIE37Zpb8noXGXBa4ryzmkM0ju1s+JJHCSKBbn9FGs+DLJsxc vXL7e6Y8Pfa+68yO/Wu4an8= X-Google-Smtp-Source: AA6agR4Dx/qBeF2maGAA/wRuhWzPRZMFgBryXkCCJwQoj6JNhTEqvGEne7ACaxXlbtD7pOHYLKxpLA== X-Received: by 2002:ac8:5ac3:0:b0:35b:b39a:978a with SMTP id d3-20020ac85ac3000000b0035bb39a978amr14371626qtd.497.1663171220822; Wed, 14 Sep 2022 09:00:20 -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 p8-20020a05622a00c800b0035bb8168daesm1992607qtw.57.2022.09.14.09.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 09:00:20 -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:242490 Archived-At: That you think embedding the `(while t "whoopsie")` in a font-lock callback somehow make emacs more culpable is indicative of a young person's rush to judgment and inclination to conflate. I challenge you to find another single-threaded program in which "while (true)" doesn't require a kernel-level interrupt.