[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About stack overflow in GCL (was: Re: [Axiom-developer] RE: generali
From: |
Camm Maguire |
Subject: |
Re: About stack overflow in GCL (was: Re: [Axiom-developer] RE: generalized makefile rules) |
Date: |
18 Aug 2003 15:17:17 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, David, and thanks! I believe the patch you refer to below
was for a different situation, and is likely not relevant here.
Thanks for keeping such good track!
Take care,
David MENTRE <address@hidden> writes:
> 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
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah