From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Jim Meyering <jim@meyering.net>,
Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: apparent infloop in re_match_2_internal
Date: Thu, 17 Dec 2009 09:36:51 -0500 [thread overview]
Message-ID: <jwvvdg5hdrh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m23a3azwkw.fsf@igel.home> (Andreas Schwab's message of "Wed, 16 Dec 2009 17:56:47 +0100")
>> In emacs.git (again from ~3 days ago, debian unstable),
>> using GNUS, when I try to reply to a certain message, I
>> get into what looks like an unbreakable infinite loop.
> What's the regexp?
Apparent inf-looping in regexp matching is common because we use
a backtracking search (hence with really bad worst case behavior).
This is a problem in itself, but we've lived with it for a long time
now. The problem in his report is that additionally C-g failed to work.
Can you check the value of Vinhibit_quit and show us the xbacktrace to
see if the reason C-g didn't work is because we're in an inhibit-quit
context and if so which one? If the inhibit-quit is really needed
there, then we'll indeed have to fix the regexp to not trigger the
worst-case behavior.
Stefan
prev parent reply other threads:[~2009-12-17 14:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 15:02 apparent infloop in re_match_2_internal Jim Meyering
2009-12-16 16:56 ` Andreas Schwab
2009-12-17 14:36 ` Stefan Monnier [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=jwvvdg5hdrh.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=jim@meyering.net \
--cc=schwab@linux-m68k.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.