From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code Date: Wed, 15 Sep 2010 21:39:27 +0200 Message-ID: <874odqbxu8.fsf@telefonica.net> References: <8739txrl2h.fsf@telefonica.net> <87d3st9wov.fsf@stupidchicken.com> <20100915182646.GA10526@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284579668 16866 80.91.229.12 (15 Sep 2010 19:41:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2010 19:41:08 +0000 (UTC) Cc: 6942-done@debbugs.gnu.org, Chong Yidong , Nathaniel Flath To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 15 21:41:05 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ovxqq-0001ap-HC for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Sep 2010 21:41:04 +0200 Original-Received: from localhost ([127.0.0.1]:41366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ovxqp-0001dD-TX for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Sep 2010 15:41:03 -0400 Original-Received: from [140.186.70.92] (port=60671 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvxqY-0001XY-Vo for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2010 15:40:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvxqS-0007FL-JQ for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2010 15:40:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37932) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvxqN-0007Dq-Ak; Wed, 15 Sep 2010 15:40:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ovxnu-00056H-4a; Wed, 15 Sep 2010 15:38:02 -0400 Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 15 Sep 2010 19:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6942 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Mail-Followup-To: 6942@debbugs.gnu.org, ofv@wanadoo.es Original-Received: via spool by 6942-done@debbugs.gnu.org id=D6942.128457945719596 (code D ref 6942); Wed, 15 Sep 2010 19:38:01 +0000 Original-Received: (at 6942-done) by debbugs.gnu.org; 15 Sep 2010 19:37:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvxnV-000561-EA for submit@debbugs.gnu.org; Wed, 15 Sep 2010 15:37:37 -0400 Original-Received: from impaqm1.telefonica.net ([213.4.138.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvxnT-00055w-0n for 6942-done@debbugs.gnu.org; Wed, 15 Sep 2010 15:37:36 -0400 Original-Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm1.telefonica.net with bizsmtp id 730w1f00B0r0BT6017fVed; Wed, 15 Sep 2010 21:39:29 +0200 Original-Received: from qcore ([83.52.52.115]) by IMPmailhost2.adm.correo with BIZ IMP id 77fU1f0012V89Bn1i7fUdA; Wed, 15 Sep 2010 21:39:29 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="981711563$telefonica.net" |auth_email="981711563@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" In-Reply-To: <20100915182646.GA10526@muc.de> (Alan Mackenzie's message of "Wed, 15 Sep 2010 18:26:46 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 15 Sep 2010 15:38:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40187 Archived-At: Hello Alan. Alan Mackenzie writes: >> > emacs -Q [ENTER] >> > C-x C-f foo.cpp [ENTER] >> > template >> > 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. > > I've just committed a fix, though I wasn't able to test it as thoroughly > as I would like, because the trunk currently won't build. :-( Boostrapping did the trick for me. > I'd appreciate a confirmation from you that the bug is actually fixed. > Thanks in advance! Yep, it works. Thanks!