all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: "Óscar Fuentes" <ofv@wanadoo.es>,
	"Nathaniel Flath" <flat0103@gmail.com>,
	6942@debbugs.gnu.org
Subject: bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code
Date: Sun, 5 Sep 2010 13:05:16 +0000	[thread overview]
Message-ID: <20100905130516.GA3456@muc.de> (raw)
In-Reply-To: <87d3st9wov.fsf@stupidchicken.com>

Hi, everybody!

On Sat, Sep 04, 2010 at 02:43:12PM -0400, Chong Yidong wrote:
> Óscar Fuentes <ofv@wanadoo.es> writes:

> > emacs -Q [ENTER]
> > C-x C-f foo.cpp [ENTER]
> > template <typename T,

> > As soon as the comma is typed, Emacs hangs and starts eating several MB
> > of RAM per second. Pressing C-g takes effect after a few seconds.

When the comma is typed?  You should be so lucky!  I get an infinite
recursion on typing the <, after which nothing should surprise.  ;-)

> Thanks, I can reproduce the bug.  It seems to a regression due to the
> 2010-07-31 template changes in CC mode.  Alan or Nathaniel, could either
> of you please take a look?  Thanks.

The infinite recursion is in c-forward-<>-arglist-recur, a function which
has been changed quite a bit recently.

-- 
Alan Mackenzie (Nuremberg, Germany).





  parent reply	other threads:[~2010-09-05 13:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30  0:38 bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code Óscar Fuentes
2010-09-04 18:43 ` Chong Yidong
     [not found] ` <87d3st9wov.fsf@stupidchicken.com>
2010-09-05 13:05   ` Alan Mackenzie [this message]
2010-09-15 18:26   ` Alan Mackenzie
     [not found]   ` <20100915182646.GA10526@muc.de>
2010-09-15 19:39     ` Óscar Fuentes

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=20100905130516.GA3456@muc.de \
    --to=acm@muc.de \
    --cc=6942@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=flat0103@gmail.com \
    --cc=ofv@wanadoo.es \
    /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.