axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About stack overflow in GCL (was: Re: [Axiom-developer] RE: generalized


From: David MENTRE
Subject: About stack overflow in GCL (was: Re: [Axiom-developer] RE: generalized makefile rules)
Date: Mon, 18 Aug 2003 18:54:10 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Hello Juergen and Tim,

"Weiss, Juergen" <address@hidden> writes:

>> I'm trying at the moment to rebuild the database but I'm getting
>> a value stack overflow in GCL while loading the domains. (Daly's
>> law: there is no such thing as a simple job.) Other than that
>> problem and a few remaining domains that I need to fix, the whole
>> Axiom world builds from scratch. I never thought I'd see the day
>> that would happen. 
>
> This is strange indeed. I used the most recent cvs files and 
> compiled under Debian (with the supplied gcl). 

Are you using woody or sid? If sid, then maybe Camm has uploaded an
updated version of GCL?


Anyway, for the value stack overflow, Camm proposed a patch to GCL which
is the bug database:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4584&group_id=2938

The proposed patch of Camm:
The C stack size is to limited. Apply following patch:

--- /fix/s/camm/gcl/o/main.c    Thu Feb 13 17:31:27 2003
+++ main.c      Thu Jul 17 16:30:18 2003
@@ -235,7 +235,7 @@
 
 #ifdef BSD
 #ifndef MAX_STACK_SIZE
-#define MAX_STACK_SIZE (1<<23) /* 8Mb */
+#define MAX_STACK_SIZE (1<<24) /* 16Mb */
 #endif
 #ifdef RLIMIT_STACK
        getrlimit(RLIMIT_STACK, &rl);


I also suppose that you, Tim, have increased the VSSIZE.

The sources in a public CVS would definitely help track down bugs. ;)

Yours,
d.
-- 
 address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]