GNU bug report logs -
#7722
24.0.50; Finding this C++ header file drops emacs into a infinite loop
Previous Next
Reported by: Tassilo Horn <tassilo <at> member.fsf.org>
Date: Fri, 24 Dec 2010 08:23:01 UTC
Severity: serious
Found in version 24.0.50
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/26/11 4:55 PM, Chong Yidong wrote:
> Chong Yidong <cyd <at> stupidchicken.com> writes:
>
>>> 1. emacs -Q bug.hpp
>>> 2. emacs loops infinitely using 100% CPU resources
>>>
>>> The offending file is that (according to the original reporter, the
>>> spaces and empty lines are needed):
>>
>> I can reproduce this (file attached for convenience). Alan, could you
>> take a look? Looks like a loop in c-forward-<>-arglist-recur:
>
> In the meantime, I have added the following hack/workaround to the
> emacs-23 branch, which seems to break the loop. Let me know if you find
> a fix that's safer (since we are well into the 23.3 pretest).
Incidentally, I can't reproduce the problem with the trunk cc-mode.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
iEYEARECAAYFAk1F1soACgkQ17c2LVA10VvtFACgi2KuRCq9m15aDx44xGtVTYGB
Z3AAnjuVGnWv1P6gz4vItI5HOoSiVcMw
=Emh5
-----END PGP SIGNATURE-----
This bug report was last modified 14 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.