Last week I asked about XEmacs-21.4.0 crashing on Digital Unix and
Gunnar Evermann pointed out that this problem is already reported
in PROBLEMS file. As Stephen just told that bug reports should be
preferably sent to xemacs-beta list, below is copy of article sent
to comp.emacs.xemacs few days ago. And my question is that should
the REGEX_MALLOC definition work?
"Gunnar" == Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
Gunnar> maybe this entry from the PROBLEMS file helps:
Gunnar> ** Digital UNIX/OSF/VMS/Ultrix
Gunnar> *** XEmacs crashes on Digital Unix within font-lock, or when dealing
Gunnar> with large compilation buffers.
Yes, this entry describes the problem, but...
Gunnar> 1) Increase your stack size, using `ulimit -s 8192' or a (t)csh
Gunnar> equivalent;
In our current environment it is not easy to set this for our all
users. Moreover, it would not prevent crashing, just make it more
unprobable. So I would prefer other solution...
Gunnar> 2) Recompile regex.c with REGEX_MALLOC defined.
I configured with --cppflags=-DREGEX_MALLOC but...
gcc -c -O3 -I. -I../src -I/proj/ave/xemacs/xemacs-21.4.0/lib-src -I/proj/ave/xemacs/xemacs-21.4.0/src -DREGEX_MALLOC -DHAVE_CONFIG_H -I/usr/local/include \
-DINHIBIT_STRING_HEADER /proj/ave/xemacs/xemacs-21.4.0/src/regex.c
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c: In function `sys_re_compile_fastmap':
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3412: `DECLARE_NOTHING' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3412: (Each undeclared identifier is reported only once
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3412: for each function it appears in.)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3415: parse error before `char'
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3439: `fastmap' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3445: `p' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3445: `pend' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3450: `path_can_be_null' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3822: `succeed_n_p' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c: In function `re_match_2_internal':
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:5053: `DECLARE_NOTHING' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:5053: parse error before `int'
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:5053: `this_reg' undeclared (first use this function)
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:5204: parse error before `int'
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:5257: parse error before `int'
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:5460: parse error before `int'
/proj/ave/xemacs/xemacs-21.4.0/src/regex.c:5473: parse error before `int'
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/tmp_mnt/chaos.lce.hut.fi/proj/ave/ave/xemacs/build/alpha-dec-osf4.0/lib-src'
make: *** [lib-src] Error 2
Aki