From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs 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 Message-ID: <87hbd0y8sb.fsf@stupidchicken.com> References: <87fwtnbmmj.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1295730036 29791 80.91.229.12 (22 Jan 2011 21:00:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 Jan 2011 21:00:36 +0000 (UTC) Cc: 7722@debbugs.gnu.org, Tassilo Horn To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 22 22:00:29 2011 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 1PgkZQ-00076f-13 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jan 2011 22:00:28 +0100 Original-Received: from localhost ([127.0.0.1]:33533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgkZP-0002SA-91 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jan 2011 16:00:27 -0500 Original-Received: from [140.186.70.92] (port=58608 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgkV1-00006D-6F for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2011 15:56:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgkUQ-0006Pb-F3 for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2011 15:55:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgkU0-0006J9-HB; Sat, 22 Jan 2011 15:54:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pgk5z-0003Vo-M0; Sat, 22 Jan 2011 15:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 22 Jan 2011 20:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129572817013446 (code B ref 7722); Sat, 22 Jan 2011 20:30:03 +0000 Original-Received: (at 7722) by debbugs.gnu.org; 22 Jan 2011 20:29:30 +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 1Pgk5R-0003Up-RW for submit@debbugs.gnu.org; Sat, 22 Jan 2011 15:29:30 -0500 Original-Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgk5Q-0003Uc-5N for 7722@debbugs.gnu.org; Sat, 22 Jan 2011 15:29:28 -0500 Original-Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0MKbPHP027994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 22 Jan 2011 15:37:25 -0500 Original-Received: by furball (Postfix, from userid 1000) id 3B1F71611FB; Sat, 22 Jan 2011 15:37:24 -0500 (EST) In-Reply-To: <87fwtnbmmj.fsf@member.fsf.org> (Tassilo Horn's message of "Fri, 24 Dec 2010 09:28:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 22 Jan 2011 15:30:03 -0500 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:43544 Archived-At: --=-=-= Content-Type: text/plain Tassilo Horn writes: > Orininally reported by Caligo > > 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 to continue, or q 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) --=-=-= Content-Type: text/x-c++hdr Content-Disposition: inline; filename=bug.hpp class ConversionConsole : public QWidget{ private: typedef boost::array InputLines; typedef cons > > > > > > > > > > > > > > > > > > > > > ColorSpaces; }; --=-=-=--