Jake Colman <jake.colman(a)xemacs.org> writes:
I am getting a "Stack overflow in regexp matcher" in
21.4.14 when
trying to use a compilation-mode buffer. The error is triggered
when doing a `C-C C-c' or a `C-x `'. I do NOT have this problem
with 21.4.13. Is this related to what's being discussed in this
thread? If so, what do I do about it?
Yours was the case that prompted me to ask for confirmation, yes.
Please check your generated src/config.h file to see if REGEX_MALLOC
is defined. It should be:
#define REGEX_MALLOC 1
for 21.4.14. Assuming this is correct, you could try commenting out
that definition to see if that helps. (This would take you back to
the default 21.4.13 behavior.)
What does the "ulimit -a" command say is your stack size? My guess is
that a new package is causing you problems with your regexp and that
you are blowing through your stack limit. In theory,
#define REGEX_MALLOC 1
should help in this case, but only if your stacksize is large.
First I would try running the command
ulimit -s unlimited
before running XEmacs.
Then second I would try uncommenting the REGEX_MALLOC definition.
Finally, I would do the package fiddling you described in another
email.
HTH,
Vin