On Sat, 14 Dec 2002, Stephen J. Turnbull wrote:
So it looks like this has something to do with the implementation of
alloca that isn't glibc related, right?
>> Compiling with -DREGEX_MALLOC "fixes".
robert> Perhaps this would allow me to recompile with a smaller
robert> stack. An 8 MB stack prevents the Carbonized program from
robert> being debugged in Project Developer.
That's what I would expect. However, I think that you still need a
bigger than default stack. Let me know how it works and if it does
I'll add it to PROBLEMS and INSTALL in the appropriate places. If you
get any results about just how small the stack can be, that would be
appreciated, too.
Using the define REGEX_MALOC and compiling with --pdump (without X11), both
the terminal version of XEmacs and the Carbonized version now work with a
stack of only 6MB. A 4MB stack crashes with complex html code and font-lock
turned on, but the 6MB version handled that fine. The 6MB version has the
added advantage that it can be loaded for debugging using Apple's Project
Builder where the 8MB version I had been using could not load. I think
Carbonized applications are started with stack assigned differently from the
way that terminal applications are, but I am not very familiar with the
inner workings of Apple. My system is a 512MB OS X 10.2.2 PowerBook.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Dr. Robert D. Royar Morehead State University royar(a)adelphia.net
T r a f f i c expands to exceed the available roadway.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=