Lisp HUG Maillist Archive

stack size on linux

Hi,

I am trying to load CXML using ASDF in my brand new lispworks 
professional for linux. I am getting a Stack overflow (stack size 
16368) error. I have read the note at 
<http://www.lispworks.com/kb/f35acd8100dfd9ba8525670b0074a8d6.html> and 
tried putting (sys:*sg-default-size* 32000) into my .lispworks file. No 
luck, same error (the 32000 had no effect, it still overflows at 
16368).

So I worked around this problem by moving all my ASDF stuff out of my 
..lispworks file and into a file I called start.lisp, starting lwl, 
setting the size of the stack in the listener to 32000, loading 
start.lisp, compiling CXML successfully, stopping lispworks, restoring 
the .lispworks file, restarting lispworks again, this time loading the 
nfasl files for CXML, and continuing as though nothing unusual 
happened.

Isn't there a better way of doing this?

Cheers,
Bob

----
Bob Hutchison          -- blogs at <http://www.recursive.ca/hutch/>
Recursive Design Inc.  -- <http://www.recursive.ca/>


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Re: stack size on linux

On Thu, 26 May 2005 13:23:21 -0400, Bob Hutchison <hutch@recursive.ca> wrote:

> I am trying to load CXML using ASDF in my brand new lispworks
> professional for linux. I am getting a Stack overflow (stack size
> 16368) error.

Have you compiled ASDF?  I seem to remember that I had similar
problems when ASDF wasn't compiled.  I have loaded CXML on Windows
without problems, I suppose that should also work on Linux.

Cheers,
Edi.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Re: stack size on linux

On Thu, 26 May 2005 13:23:21 -0400, Bob Hutchison <hutch@recursive.ca> wrote:

> I am trying to load CXML using ASDF in my brand new lispworks
> professional for linux. I am getting a Stack overflow (stack size
> 16368) error.

Maybe you're using one of the tarballs?  Use the CVS version instead -
it includes some LW patches I've recently submitted that aren't
released yet.  IIRC one of them was needed because a very large OR
form resulted in stack overflows when LW compiled CXML.

HTH,
Edi.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Updated at: 2020-12-10 08:52 UTC