From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel Subject: Re: FYI, infloop is actually at a higher level Date: Wed, 16 Dec 2009 17:33:13 +0100 Message-ID: <87pr6e7uba.fsf@meyering.net> References: <87bphy9an0.fsf@meyering.net> <87r5quuc46.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260982669 9421 80.91.229.12 (16 Dec 2009 16:57:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2009 16:57:49 +0000 (UTC) Cc: Emacs development discussions To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 16 17:57:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKxBy-0002b0-7j for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2009 17:57:38 +0100 Original-Received: from localhost ([127.0.0.1]:36880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKwsO-0002mM-CG for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2009 11:37:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKwrv-0002bF-4U for emacs-devel@gnu.org; Wed, 16 Dec 2009 11:36:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKwrr-0002ZO-1H for emacs-devel@gnu.org; Wed, 16 Dec 2009 11:36:54 -0500 Original-Received: from [199.232.76.173] (port=42256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKwrq-0002ZG-6y for emacs-devel@gnu.org; Wed, 16 Dec 2009 11:36:50 -0500 Original-Received: from smtp3-g21.free.fr ([212.27.42.3]:51130) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKwrH-0006fe-Fb for emacs-devel@gnu.org; Wed, 16 Dec 2009 11:36:50 -0500 Original-Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id BCC3E8180AB for ; Wed, 16 Dec 2009 17:33:16 +0100 (CET) Original-Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp3-g21.free.fr (Postfix) with ESMTP id DFEDC818178 for ; Wed, 16 Dec 2009 17:33:13 +0100 (CET) Original-Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id C2E092C030; Wed, 16 Dec 2009 17:33:13 +0100 (CET) In-Reply-To: <87r5quuc46.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 16 Dec 2009 11:17:45 -0500") Original-Lines: 24 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118656 Archived-At: Chong Yidong wrote: > Jim Meyering writes: > >> I reported an unbreakable infloop in re_match_2_internal, but in fact, >> C-g does break out of it. It's just that immediately afterwards, >> execution immediately returns to and gets stuck in that same >> seemingly-infinite loop. > > If it's looping in Lisp, it probably needs to be debugged in Lisp. Is > there a simple way to reproduce this? Thanks for the quick reply. I see two problems: - re_match_2_internal does get into a seemingly infinite loop (minutes of CPU time in that function -- though I suppose it could merely be taking a very long time due to a pathological re/pattern pair) - going back into the same loop after C-g seems wrong I'll try to narrow it down, but will be traveling for a couple of days, so I probably won't get to it until next week.