On Mon, Aug 12, 2002 at 03:56:27AM -0400, Mike Lambert wrote: > - hashes (these were recently rewritten to use indices, a step forward, > but they aren't 100% clean yet)
I know of at least one remaining problem with these, but... > Anyone more well-versed in these departments than I care to take a look at > the potential problems? Just change GC_DEBUG in parrot.h, and you can be > on your way. :) I can't get to it because parrot doesn't survive past initialization for me. When it creates the Array PMC for userargv, it allocates the PMC first and then the buffer for the array's data. During the buffer's creation, it does a collection that wipes out the PMC. My lo_var_ptr and hi_var_ptr are set to reasonable-sounding values at the top of trace_system_stack(), but I haven't been able to track it farther yet. Oh, and I do have your recent patch to set interpreter->lo_var_ptr early. The userargv PMC is not anchored other than in the C stack, because it dies in the pmc_new() creation process before the assignment to P0 can run.