Re: [PATCH] Stack bugfix

2002-03-27 Thread Melvin Smith
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

Re: [PATCH] Stack bugfix

2002-03-26 Thread Peter Gibbs
- 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

[PATCH] Stack bugfix

2002-03-25 Thread Melvin Smith
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