Thanks for finding the problem and suggesting a work-around. The crash
happens even with a 200K heap. At 100k, it doesn't bomb, but does run
out of heap space. However, I tweaked a program parameter that reduces
the number of tree subdivisions, and now things
I sure didn't expect or want this representation to be so heap-greedy,
or to make especially deep data structures. I'll try to figure out
what's going on.
- Conal
-----Original Message-----
From: [EMAIL PROTECTED]
[SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, July 08, 1997 10:58 AM
To: Conal Elliott
Cc: [EMAIL PROTECTED]
Subject: Re: Hugs crashing bug
Hi Conal,
[Ignore previous message - I found the comments about tstB b1 at
the end of
your file.]
The core-dump is caused by a stack overflow during garbage
collection.
The stack overflow is because the (recursive) markCell function
is
traversing a very deep data structure which eventually
overflows the
C stack.
This could be fixed by rewriting large chunks of that garbage
collector - but hopefully you can get away with the much simpler
option of running with a smaller heap?
Alastair