changeset 1036:b33a835c21cc

[xemacs-hg @ 2002-10-08 03:11:48 by stephent] doc MacOS stack limit <87k7ktd3vd.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 08 Oct 2002 03:11:49 +0000
parents b64725295f9e
children 3a01f3148bff
files ChangeLog INSTALL PROBLEMS
diffstat 3 files changed, 28 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 07 21:54:32 2002 +0000
+++ b/ChangeLog	Tue Oct 08 03:11:49 2002 +0000
@@ -1,3 +1,11 @@
+2002-10-08  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* PROBLEMS (MacOS/X): Describe stack limitation.
+	(Digital Unix): Generalize to all regexp-using applications.
+	* INSTALL (PREQUISITES): Mention MacOS/X stack limitation.
+	(PROBLEMS): Point to PROBLEMS file for build notes.
+	Thanks to Skip Montanaro for the report.
+
 2002-07-12  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* etc/BETA (Large contributions): New section.  Reorganize file.
--- a/INSTALL	Mon Oct 07 21:54:32 2002 +0000
+++ b/INSTALL	Tue Oct 08 03:11:49 2002 +0000
@@ -32,8 +32,8 @@
 XEmacs.
 
 Verify that your users have a high enough stack limit. On some systems
-such as OpenBSD and OSF/Tru64 the default is 2MB which is too low. See
-'PROBLEMS' for details.
+such as OpenBSD and OSF/Tru64 the default is 2MB which is too low.  On
+MacOS/X (Darwin), it's 512kB.  See 'PROBLEMS' for details.
 
 Building XEmacs requires about 100 Mb of disk space (including the
 XEmacs sources).  Once installed, XEmacs occupies between 20 and 100 Mb
@@ -697,5 +697,6 @@
 directions in README.packages.  You can not have a working XEmacs
 without downloading some additional packages.
 
-See the file PROBLEMS in this directory for a list of various
-problems sometimes encountered, and what to do about them.
+See the file PROBLEMS in this directory for a list of various problems
+sometimes encountered, and what to do about them.  PROBLEMS is also
+the place where platform-specific build notes can be found.
--- a/PROBLEMS	Mon Oct 07 21:54:32 2002 +0000
+++ b/PROBLEMS	Tue Oct 08 03:11:49 2002 +0000
@@ -1186,6 +1186,20 @@
 	Emacs*EmacsFrame.geometry:		81x56--9--1
 
 
+** MacOS/X, Darwin
+*** XEmacs crashes on MacOS within font-lock, or when dealing
+with large compilation buffers, or in other regex applications.
+
+The default stack size under MacOS/X is rather small (512k 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.
+
 ** AIX
 *** Your Delete key sends a Backspace to the terminal, using an AIXterm.
 
@@ -1595,7 +1609,7 @@
 
 ** Digital UNIX/OSF/VMS/Ultrix
 *** XEmacs crashes on Digital Unix within font-lock, or when dealing
-with large compilation buffers.
+with large compilation buffers, or in other regex applications.
 
 The default stack size under Digital Unix is rather small (2M as
 opposed to Solaris 8M), hosing the regexp code, which uses alloca()