GNU bug report logs - #28233
CC Mode 5.33 (C/*l); Emacs may get stuck with 100% CPU

Previous Next

Package: cc-mode;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Fri, 25 Aug 2017 15:32:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #16 received at 28233-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Mohammed Sadiq <sadiq <at> sadiqpk.org>
Cc: 28233-done <at> debbugs.gnu.org
Subject: Re: bug#28233: CC Mode 5.33 (C/*l); Emacs may get stuck with 100% CPU
Date: Sun, 27 Aug 2017 10:47:16 +0000
Hello, Mohammed.

On Sun, Aug 27, 2017 at 06:54:11 +0530, Mohammed Sadiq wrote:

> > On August 26, 2017 at 10:59 PM Alan Mackenzie <acm <at> muc.de> wrote:


> > Hello, Mohammed.

> Hi


> > Yes.  There is a bug in some cache handling code for macros, which
> > results in that cache thinking there's still a macro after it's been
> > deleted.

> > Thanks indeed for the bug report!

> > Would you please apply the following patch, then confirm to me that it's
> > fixed the problem, or else tell me what's still not working.  Thanks!

>  <snipped>

> The patch surely fixed the issue. Thanks

I actually committed a rather simpler patch.  The problem was "merely" an
off-by-1 bug, but in the same function.

[ .... ]

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 7 years and 348 days ago.

Previous Next


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