all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jim Meyering <jim@meyering.net>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: FYI, infloop is actually at a higher level
Date: Wed, 16 Dec 2009 17:33:13 +0100	[thread overview]
Message-ID: <87pr6e7uba.fsf@meyering.net> (raw)
In-Reply-To: <87r5quuc46.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 16 Dec 2009 11:17:45 -0500")

Chong Yidong wrote:
> Jim Meyering <jim@meyering.net> 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.




      reply	other threads:[~2009-12-16 16:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-16 15:55 FYI, infloop is actually at a higher level Jim Meyering
2009-12-16 16:17 ` Chong Yidong
2009-12-16 16:33   ` Jim Meyering [this message]

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=87pr6e7uba.fsf@meyering.net \
    --to=jim@meyering.net \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /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.