>>>> "Bruce" == Bruce Visscher <Visscher>
writes:
Bruce> Somewhat recent (~3 months ago?) download of the "gamma" branch.
[...]
Bruce> Lisp bactrace:
Bruce> looking-at(***bloody-huge-regexp***)
[...]
Bruce> [1]+ Segmentation fault xemacs
Probably stack-too-small lossage. The regexp interpreter keeps a
stack for backtracking, and dynamically resizes it using alloca.
Normally it stays under 1k, but in rare cases it can balloon to
several megabytes. Apparently there is no way to detect a hosed
alloca, you just lose.
(1) Increase your stack. I _think_ the version you're running is old
enough to have missed the several rounds of stack increase that Andy
put in the most recent netinstaller versions. You may be able to do
this on the existing binary with appropriate tools. (I don't do
Windows, so can't help on that.) Or upgrade, rebuilding if you like
from current sources. (21.4.11 will probably be released before the
new year, you may want to wait for that.)
(2) Rebuild from current sources, this time compiling regex.c with
-DREGEX_MALLOC in CFLAGS.
--
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.