Re: Poniedate #43
[email protected] (Dave Mitchell)
| Newsgroups | perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 01, 2004 at 02:25:41PM +0000, Arthur Bergman wrote:
> >>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 :)
I'm probably teaching my grandmopther to suck eggs here, but...
You do know that a a pad consists of an array-of-arrays, rather than the
usual array-of-refs-to-arrays? And that the outer array isn't AvREAL, and
so doesn't do ref-couning?
--
"You're so sadly neglected, and often ignored.
A poor second to Belgium, When going abroad."
-- Monty Python - "Finland"