GNU bug report logs - #70423
29.3; cc-mode hang at 100% cpu and consuming all available memory

Previous Next

Package: emacs;

Reported by: "1stmil.eth" <1stmil.eth <at> proton.me>

Date: Tue, 16 Apr 2024 15:49:08 UTC

Severity: normal

Found in version 29.3

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Weiner <rswgnu <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: pillowtrucker <at> proton.me, Eli Zaretskii <eliz <at> gnu.org>, 70423 <at> debbugs.gnu.org
Subject: bug#70423: 29.3; cc-mode hang at 100% cpu and consuming all available memory
Date: Sat, 20 Apr 2024 09:14:34 -0400
> On Apr 20, 2024, at 5:22 AM, Alan Mackenzie <acm <at> muc.de> wrote:
> 
> Hello, M.
> 
> Yes, I can understand that.  As I said, I'll fix c-beginning-of-defun-1
> so that that can't possibly happen again, regardless of what happens to
> these regexps.

I think this is the crux of the fix needed, not a change in Hyperbole regexps.  Alan, Hyperbole had your new defun regexp for Java and Emacs still would hang until we applied your recent fix to cc-defs.el.  With that in place and no change to the c++ defun regex in Hyperbole, I have not been able to trigger a hang.  So let’s just add your additional fix described above, skip the c++ defun rewrite and see if any other issues appear.

Cheers,

Bob



This bug report was last modified 1 year and 76 days ago.

Previous Next


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