From: Chong Yidong <cyd@stupidchicken.com>
To: Alan Mackenzie <acm@muc.de>
Cc: 7722@debbugs.gnu.org, Tassilo Horn <tassilo@member.fsf.org>
Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop
Date: Sat, 22 Jan 2011 15:37:24 -0500 [thread overview]
Message-ID: <87hbd0y8sb.fsf@stupidchicken.com> (raw)
In-Reply-To: <87fwtnbmmj.fsf@member.fsf.org> (Tassilo Horn's message of "Fri, 24 Dec 2010 09:28:36 +0100")
[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]
Tassilo Horn <tassilo@member.fsf.org> writes:
> Orininally reported by Caligo <iteronvexor@gmail.com>
>
> He uses GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1),
> but the bug in still in the current bzr trunk.
>
> 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:
Lisp Backtrace:
"c-forward-<>-arglist-recur" (0xffff4528)
"c-forward-<>-arglist-recur" (0xffff4708)
"c-forward-<>-arglist-recur" (0xffff48e8)
"c-forward-<>-arglist-recur" (0xffff4ac8)
"c-forward-<>-arglist-recur" (0xffff4ca8)
"c-forward-<>-arglist-recur" (0xffff4e88)
"c-forward-<>-arglist-recur" (0xffff5068)
"c-forward-<>-arglist-recur" (0xffff5248)
"c-forward-<>-arglist-recur" (0xffff5428)
"c-forward-<>-arglist-recur" (0xffff5608)
"c-forward-<>-arglist-recur" (0xffff57e8)
"c-forward-<>-arglist-recur" (0xffff59c8)
"c-forward-<>-arglist-recur" (0xffff5ba8)
"c-forward-<>-arglist-recur" (0xffff5d88)
"byte-code" (0xffff5e60)
"c-forward-<>-arglist" (0xffff6208)
---Type <return> to continue, or q <return> to quit---
"c-forward-name" (0xffff63e8)
"c-forward-type" (0xffff65c8)
"c-forward-decl-or-cast-1" (0xffff67f8)
0xee3c20 PVEC_COMPILED
"c-find-decl-spots" (0xffff6bb8)
"c-font-lock-declarations" (0xffff6dd8)
"font-lock-fontify-keywords-region" (0xffff6fc8)
"font-lock-default-fontify-region" (0xffff7198)
"font-lock-fontify-region" (0xffff7440)
"run-hook-with-args" (0xffff7438)
"byte-code" (0xffff7520)
"jit-lock-fontify-now" (0xffff7938)
"jit-lock-function" (0xffff7cc8)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: bug.hpp --]
[-- Type: text/x-c++hdr, Size: 590 bytes --]
class ConversionConsole : public QWidget{
private:
typedef boost::array<InputLine, 22> InputLines;
typedef cons<XYZ, cons<xyY, cons<Lab, cons<LCHab, cons<Luv, cons<LCHuv,
cons<AdobeRGB, cons<AppleRGB, cons<BestRGB, cons<BetaRGB,
cons<BruceRGB, cons<CIERGB, cons<ColorMatchRGB, cons<DonRGB4,
cons<ECIRGB, cons<EktaSpacePS5, cons<NTSCRGB, cons<PAL_SECAMRGB,
cons<ProPhotoRGB, cons<SMPTE_CRGB, cons<sRGB, cons<WideGamutRGB
> > > > > > > > > > > > > > > > > > > > > > ColorSpaces;
};
next prev parent reply other threads:[~2011-01-22 20:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-24 8:28 bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Tassilo Horn
2011-01-22 20:37 ` Chong Yidong [this message]
2011-01-27 0:55 ` Chong Yidong
2011-01-30 21:23 ` Daniel Colascione
2011-02-04 22:22 ` Alan Mackenzie
2011-02-06 19:20 ` Tassilo Horn
2011-02-12 1:25 ` Chong Yidong
2011-02-13 12:20 ` Alan Mackenzie
2011-02-13 20:41 ` Chong Yidong
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hbd0y8sb.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=7722@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=tassilo@member.fsf.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.