From: Dmitry Gutov <dgutov@yandex.ru>
To: Adam Van Ymeren <adam@vany.ca>, 40907@debbugs.gnu.org
Subject: bug#40907: Font-lock-mode hanging in Java buffers
Date: Mon, 27 Apr 2020 20:38:32 +0300 [thread overview]
Message-ID: <215d8224-219b-ad06-ba4a-f99250e0a56d@yandex.ru> (raw)
In-Reply-To: <e0bbf0aa-89e4-8ec6-aba5-c976c6388dd7@vany.ca>
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.
next prev parent reply other threads:[~2020-04-27 17:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-27 17:30 bug#40907: Font-lock-mode hanging in Java buffers Adam Van Ymeren
2020-04-27 17:38 ` Dmitry Gutov [this message]
2020-04-27 18:21 ` Adam Van Ymeren
2020-04-29 18:36 ` Alan Mackenzie
2021-08-10 15:59 ` Lars Ingebrigtsen
2021-08-10 16:58 ` Adam Van Ymeren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=215d8224-219b-ad06-ba4a-f99250e0a56d@yandex.ru \
--to=dgutov@yandex.ru \
--cc=40907@debbugs.gnu.org \
--cc=adam@vany.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).