develooper Front page | perl.perl6.internals | Postings from February 2008

Re: [svn:parrot] r25990 - trunk/src/pmc

Thread Next
From:
chromatic
Date:
February 22, 2008 12:50
Subject:
Re: [svn:parrot] r25990 - trunk/src/pmc
On Friday 22 February 2008 08:45:42 petergibbs@cvs.perl.org wrote:

> Modified:
>    trunk/src/pmc/parrotinterpreter.pmc
>
> Log:
> In thawfinish, delay setting constant flag on lib_name until
> Parrot_load_lib has been called, to avoid corruption in iglobals during GC.
> This fixes segfault attempting to run tcl tests on some platforms.

Very nice.  How in the world did you find this?

I know there's some weird bug somewhere related to doing a string_copy from a 
constant string to a non-constant string, but I've never been able to track 
it down.

-- c

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About