[Bug:21.4.16] regex.c and xemacs hangs.
Stephen J. Turnbull
stephen at xemacs.org
Mon Dec 13 01:43:57 EST 2004
>>>>> "Andrey" == Andrey Slusar <anray at inet.ua> writes:
Andrey> If i am saved the edited text(combination C-x C-s), xemacs
Andrey> is hang. When i'm reverting this changes, xemacs is good
It's being looked at. You can revert locally if you like. However, I
can't reproduce on Linux or Mac OS X, I can find nothing wrong with
Please be aware that XEmacs without the patch is *broken*. The patch
fixes a real bug that causes many regexps containing shy groups to
match incorrectly. Unfortunately there are many applications that use
shy groups; we cannot assume that they won't be present.
Until there are further reports or a developer can reproduce, the
situation is unlikely to change very quickly.
In the meantime, have you reproduced with xemacs -vanilla? This is
very important; there is an unrelated bug that causes infloops for
regexps that specify a repeated zero-length match. This bug is not
yet fixed. So you may have a save-hook that invokes such a regexp.
Can you get a backtrace for the hang?
1. Set debug-on-quit on before saving, then C-g at hang should give a trace.
2. Run XEmacs under the debugger, hang XEmacs, suspend XEmacs, then use the
debugger to get a C backtrace.
3. If 1 didn't work, then at this point "ldp" should give a backtrace,
Are you running an XEmacs built from a fresh checkout?
Is it possible that you are missing a patch? (There were _two_
patches related to this, the first fixed most of the bug, and the
second picked up a hunk that somehow got dropped from the first
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
More information about the XEmacs-Beta