develooper Front page | perl.ponie.dev | Postings from March 2004

Re: Poniedate #43

Thread Previous | Thread Next
From:
Arthur Bergman
Date:
March 1, 2004 06:26
Subject:
Re: Poniedate #43
Message ID:
515932D3-6B8C-11D8-B799-000A95A2734C@fotango.com

On 1 Mar 2004, at 11:56, Tim Bunce wrote:

> Cool.
>
>> However there seems to be some random memory corruption happening with
>> arrays when they are being resized after something has happened to
>> them. AvARRAY ends up pointing directly into an parrot managed arena.
>
> Run under gdb with watchpoint on the AvARRAY?
>

No go really, the amount of code that executes because the creation of 
the array and where it goes wrong is minimal in pad.c, the problem is 
of course that pads are created so many times I haven't nailed down yet 
the condition that makes the code fail.  But I am working on it :)

>> The annoying thing is that most test pass, but a random selection of
>> things fail, and they fail int he pad code because of the array issue,
>> but no array tests fail, meaning there is most likely a lack of tests
>> for how array resizing works.
>
> Would more eyes/contributors help?
>

Indeed, which is why Nicholas Clark who just joined Fotango will be 
fooled into helping me ;)

> You're carrying a big burden pretty much by yourself. Some investment 
> in
> building a community might reap good rewards for all.
>

Yes, I think it will, and after a bit more work it will be possible for 
more people to help me out, but focus now is to get release out, and 
then convert the rest of the types.

Cheers
Arthur


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About