David Starks-Browning <starksb(a)ebi.ac.uk> writes:
Since it's sooooo easy for the user to solve this problem with
ulimit,
wouldn't an entry in the PROBLEMS file be good enough?
Haven't you looked? It's been there for ages!
** Digital UNIX/OSF/VMS/Ultrix
*** XEmacs crashes on Digital Unix within font-lock, or when dealing
with large compilation buffers.
The default stack size under Digital Unix is rather small (2M as
opposed to Solaris 8M), hosing the regexp code, which uses alloca()
extensively, overflowing the stack when complex regexps are used.
Workarounds:
1) Increase your stack size, using `ulimit -s 8192' or a (t)csh
equivalent;
2) Recompile regex.c with REGEX_MALLOC defined.
People don't read PROBLEMS. People prefer programs that work, and I
can understand that sentiment. It should be really easy to increase
the stack size programatically.