At 09:47 AM 3/27/2002 +0200, Peter Gibbs wrote:
>- Original Message -
>From: "Melvin Smith" <[EMAIL PROTECTED]>
> > ../parrot reverse.pbc < string.c
> >
> >
> >
> > recurse depth 0
> > Segmentation fault (core dumped)
>
>This seems to caused by a nice timing problem - the string header ha
- Original Message -
From: "Melvin Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "dan Sugalski" <[EMAIL PROTECTED]>
Sent: 26 March 2002 09:39
Subject: [PATCH] Stack bugfix
>
> Afterwards the test program ran with larger file sizes, e
As requested, I wrote a nasty little recursive program to test
strings, memory and call stacks. Immediately bad stuff happened
when the stack frames outgrew a single chunk and a new one was
allocated. When the frame stack reached FRAMES_PER_CHUNK,
the new chunk gets allocated, etc, etc. and bad st