Arthur Bergman <[EMAIL PROTECTED]> wrote:

> On Monday, December 15, 2003, at 12:58  pm, Leopold Toetsch wrote:

> (gdb) p *pmc
> $2 = {obj = {u = {b = {bufstart = 0x4212dfd8, buflen = 137797904}, ptrs
> = {_struct_val = 0x4212dfd8, _pmc_val = 0x836a110},
>        int_val = 1108533208, num_val = 4.2834352799906154e-269,
> string_val = 0x4212dfd8}, flags = 1886221358, pobj_version = 0}, vtable
> = 0x18,
>    pmc_ext = 0x10}

Doesn't look like a PMC on the free_list to me, seems to be garbage.

> I doubt this happens since I never give parrot a chance to do anything,
> there is no step that I call into parrot, just

>     Parrot_Int  type = Parrot_PMC_typenum(PL_Parrot, "Perl5LV");
>     Parrot_PMC_get_pointer(PL_Parrot, SvANY(sv));

How do you create/initialize the PMC* SvANY(sv)?

> Arthur

leo

Reply via email to