From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 29 20:37:32 2010 Received: (at submit) by debbugs.gnu.org; 30 Aug 2010 00:37:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpsNP-0006yn-U5 for submit@debbugs.gnu.org; Sun, 29 Aug 2010 20:37:32 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpsNK-0006yg-B3 for submit@debbugs.gnu.org; Sun, 29 Aug 2010 20:37:30 -0400 Received: from lists.gnu.org ([199.232.76.165]:50831) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OpsOn-0000f6-SX for submit@debbugs.gnu.org; Sun, 29 Aug 2010 20:38:57 -0400 Received: from [140.186.70.92] (port=42833 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpsOk-0002MK-DX for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2010 20:38:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpsOh-0002vV-5Z for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2010 20:38:52 -0400 Received: from impaqm5.telefonica.net ([213.4.138.5]:33831) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpsOg-0002vA-QU for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2010 20:38:51 -0400 Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm5.telefonica.net with bizsmtp id 0QDH1f00S0piX6q3RQeoYB; Mon, 30 Aug 2010 02:38:48 +0200 Received: from qcore ([83.38.73.98]) by IMPmailhost1.adm.correo with BIZ IMP id 0Qen1f00127E4l71hQenQn; Mon, 30 Aug 2010 02:38:47 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="981711563$telefonica.net" |auth_email="981711563@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" From: =?utf-8?Q?=C3=93scar_Fuentes?= To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code Date: Mon, 30 Aug 2010 02:38:46 +0200 Message-ID: <8739txrl2h.fsf@telefonica.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) emacs -Q [ENTER] C-x C-f foo.cpp [ENTER] template C-x C-g q y Recent messages: Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done No new newsgroups Checking new news... Opening nntp server on news.gmane.org...done Checking new news...done No more unread newsgroups Are you sure you want to quit reading news? (y or n) (No changes need to be saved) Load-path shadows: ~/elisp/magit hides /usr/local/share/emacs/site-lisp/magit Features: (shadow sort mail-extr emacsbug parse-time nnfolder pop3 nnml nndraft nnmh auth-source netrc gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime password-cache dig mailcap nntp gnus-cache gnus-sum nnoo gnus-group time-date gnus-undo nnmail mail-source format-spec smtpmail sendmail gnus-start gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr package org-install whitespace jka-compr find-func timeclock timeclock-x vc-git compile comint lp0-mode preview prv-emacs info reporter desktop latex tex-style tex-buf tex tex-site auto-loads paren uniquify magit ediff server pcomplete psvn byte-opt warnings bytecomp byte-compile derived edmacro kmacro wid-edit cl cl-19 log-edit ring pcvs-util add-log diff-mode pp elp ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired easymenu bbdb-autoloads bbdb regexp-opt timezone easy-mmode ido advice help-fns advice-preload tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 14:41:27 2010 Received: (at 6942) by debbugs.gnu.org; 4 Sep 2010 18:41:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Orxg6-0002VT-PT for submit@debbugs.gnu.org; Sat, 04 Sep 2010 14:41:26 -0400 Received: from pantheon-po45.its.yale.edu ([130.132.50.79]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Orxg4-0002VM-Mz for 6942@debbugs.gnu.org; Sat, 04 Sep 2010 14:41:25 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o84IhDkR023127 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Sep 2010 14:43:13 -0400 Received: by furry (Postfix, from userid 1000) id 0F804C018; Sat, 4 Sep 2010 14:43:13 -0400 (EDT) From: Chong Yidong To: Alan Mackenzie , Nathaniel Flath Subject: Re: bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code References: <8739txrl2h.fsf@telefonica.net> Date: Sat, 04 Sep 2010 14:43:12 -0400 In-Reply-To: <8739txrl2h.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Mon, 30 Aug 2010 02:38:46 +0200") Message-ID: <87d3st9wov.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 6942 Cc: =?utf-8?Q?=C3=93scar?= Fuentes , 6942@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) =C3=93scar Fuentes 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. 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 05 08:51:27 2010 Received: (at 6942) by debbugs.gnu.org; 5 Sep 2010 12:51:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsEgx-00034f-Lv for submit@debbugs.gnu.org; Sun, 05 Sep 2010 08:51:27 -0400 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsEgv-00034Y-2s for 6942@debbugs.gnu.org; Sun, 05 Sep 2010 08:51:26 -0400 Received: (qmail 93599 invoked by uid 3782); 5 Sep 2010 12:53:14 -0000 Received: from acm.muc.de (pD9E50153.dip.t-dialin.net [217.229.1.83]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 05 Sep 2010 14:53:10 +0200 Received: (qmail 3614 invoked by uid 1000); 5 Sep 2010 13:05:16 -0000 Date: Sun, 5 Sep 2010 13:05:16 +0000 To: Chong Yidong Subject: Re: bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code Message-ID: <20100905130516.GA3456@muc.de> References: <8739txrl2h.fsf@telefonica.net> <87d3st9wov.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87d3st9wov.fsf@stupidchicken.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 6942 Cc: =?iso-8859-1?Q?=D3scar?= Fuentes , Nathaniel Flath , 6942@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi, everybody! On Sat, Sep 04, 2010 at 02:43:12PM -0400, Chong Yidong wrote: > Óscar Fuentes 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. 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). From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 14:12:15 2010 Received: (at 6942) by debbugs.gnu.org; 15 Sep 2010 18:12:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvwSs-0004UM-VO for submit@debbugs.gnu.org; Wed, 15 Sep 2010 14:12:15 -0400 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvwSq-0004UH-1D for 6942@debbugs.gnu.org; Wed, 15 Sep 2010 14:12:12 -0400 Received: (qmail 27801 invoked by uid 3782); 15 Sep 2010 18:14:28 -0000 Received: from acm.muc.de (pD9E23EB7.dip.t-dialin.net [217.226.62.183]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 15 Sep 2010 20:14:26 +0200 Received: (qmail 11652 invoked by uid 1000); 15 Sep 2010 18:26:46 -0000 Date: Wed, 15 Sep 2010 18:26:46 +0000 To: Chong Yidong , =?iso-8859-1?Q?=D3scar?= Fuentes Subject: Re: bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code Message-ID: <20100915182646.GA10526@muc.de> References: <8739txrl2h.fsf@telefonica.net> <87d3st9wov.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87d3st9wov.fsf@stupidchicken.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 6942 Cc: Nathaniel Flath , 6942@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi, Yidong, Hi, Óscar, On Sat, Sep 04, 2010 at 02:43:12PM -0400, Chong Yidong wrote: > Óscar Fuentes 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. > 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. 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. :-( I'd appreciate a confirmation from you that the bug is actually fixed. Thanks in advance! -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 15:37:37 2010 Received: (at 6942-done) by debbugs.gnu.org; 15 Sep 2010 19:37:37 +0000 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 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 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 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" From: =?utf-8?Q?=C3=93scar?= Fuentes To: Alan Mackenzie Subject: Re: bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code References: <8739txrl2h.fsf@telefonica.net> <87d3st9wov.fsf@stupidchicken.com> <20100915182646.GA10526@muc.de> Date: Wed, 15 Sep 2010 21:39:27 +0200 In-Reply-To: <20100915182646.GA10526@muc.de> (Alan Mackenzie's message of "Wed, 15 Sep 2010 18:26:46 +0000") Message-ID: <874odqbxu8.fsf@telefonica.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6942-done Cc: 6942-done@debbugs.gnu.org, Chong Yidong , Nathaniel Flath X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) 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! From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 16:01:23 2010 Received: (at 6942-done) by debbugs.gnu.org; 15 Sep 2010 20:01:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvyAV-0005HJ-MD for submit@debbugs.gnu.org; Wed, 15 Sep 2010 16:01:23 -0400 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvyAU-0005HE-E7 for 6942-done@debbugs.gnu.org; Wed, 15 Sep 2010 16:01:23 -0400 Received: (qmail 84085 invoked by uid 3782); 15 Sep 2010 20:03:38 -0000 Received: from acm.muc.de (pD9E23EB7.dip.t-dialin.net [217.226.62.183]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 15 Sep 2010 22:03:37 +0200 Received: (qmail 13078 invoked by uid 1000); 15 Sep 2010 20:15:58 -0000 Date: Wed, 15 Sep 2010 20:15:58 +0000 To: 6942-done@debbugs.gnu.org Subject: Re: bug#6942: 24.0.50; Uses 100% CPU and eats memory with trivial C++ code Message-ID: <20100915201558.GB10526@muc.de> References: <8739txrl2h.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8739txrl2h.fsf@telefonica.net> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 6942-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) On Mon, Aug 30, 2010 at 02:38:46AM +0200, Óscar Fuentes wrote: > 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. This bug has been fixed, revision 101443. -- Alan Mackenzie (Nuremberg, Germany). From unknown Fri Sep 05 11:50:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Oct 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator