GNU bug report logs - #40907
Font-lock-mode hanging in Java buffers

Previous Next

Package: emacs;

Reported by: Adam Van Ymeren <adam <at> vany.ca>

Date: Mon, 27 Apr 2020 17:32:01 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Adam Van Ymeren <adam <at> vany.ca>, 40907 <at> debbugs.gnu.org
Subject: Re: bug#40907: Font-lock-mode hanging in Java buffers
Date: Mon, 27 Apr 2020 20:38:32 +0300
On 27.04.2020 20:30, Adam Van Ymeren wrote:
> I've been doing a lot of Java work lately, and I'm having issues with 
> emacs hanging and spinning at 100% CPU.  I believe the culprit to be 
> font-lock-mode.  C-g doesn't save me either, I usually have to kill 
> emacs.  Any advice on how to debug this if C-g doesn't work?

You can send the USR2 signal to the Emacs process to try to interrupt 
what it's doing and enter the debugger:

kill -SIGUSR2 <pid>

To fix this, we'll most likely need the contents of the buffer that has 
the problem. If it's proprietary, you could try recreating the problem 
from scratch, or replacing all identifiers in the code with something 
else, etc.

You could also try a build of Emacs 27 first before doing all that.




This bug report was last modified 3 years and 279 days ago.

Previous Next


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