GNU bug report logs - #57804
An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Wed, 14 Sep 2022 15:07:01 UTC

Severity: normal

Tags: wontfix

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #63 received at 57804 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 57804 <at> debbugs.gnu.org, pogonyshev <at> gmail.com
Subject: Re: bug#57804: An infinite loop in a `fontify-region' function
 causes Emacs to hang indefinitely
Date: Wed, 14 Sep 2022 20:51:43 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: pogonyshev <at> gmail.com,  57804 <at> debbugs.gnu.org
> Date: Wed, 14 Sep 2022 19:46:15 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > While testing my code? sure.  But after testing, no, the loops are
> > generally gone.
> 
> Of course.  This is a real problem while developing font locking methods
> (and usually not afterwards).

While testing, I usually run Emacs under a debugger, where I always
can interrupt any loop, including in font-lock.

I think it is also possible without a debugger -- if you bind
'sigusr2' to some useful function.




This bug report was last modified 2 years and 230 days ago.

Previous Next


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