GNU bug report logs - #59038
loading this base64 file makes emacs -Q 28.2 peg a core infinitely

Previous Next

Package: emacs;

Reported by: Chris Hecker <checker <at> d6.com>

Date: Sat, 5 Nov 2022 02:49:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: Gerd Möllmann <gerd.moellmann <at> gmail.com>, 59038 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, checker <at> d6.com, acm <at> muc.de
Subject: bug#59038: loading this base64 file makes emacs -Q 28.2 peg a core infinitely
Date: Sun, 06 Nov 2022 09:18:23 +0000
>> That file opens just fine in other modes
>
> It also opens fine in c-mode, with global-font-lock-mode disabled.
>

Indeed, obviously it's a c-mode font-locking related bug.

>> Note that this bug has nothing to do with long lines.
>
> I imagine that the font-lock issue is related to the line being in 
> excess of 21,000 chars (but general redisplay obviously doesn't have 
> problems with lines this 'small').
>
> Reduced to 10,208 chars that file opens instantly under emacs -Q in 
> c-mode with font-lock enabled; but at 10,209 chars it hangs Emacs (I 
> killed it after waiting 4 minutes).
>

Interesting, thanks for the bisection!




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

Previous Next


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