Re: Segfault in extend.c/ parrot_pmc_get_pointer
[email protected] (Leopold Toetsch)
| Newsgroups | perl.perl6.internals,perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
Arthur Bergman <[email protected]> wrote: > #0 0x081cef45 in Parrot_PMC_get_pointer (interp=0x82d7f78, > pmc=0x83333a0) That looks like the vtable could be corrupted. $ p *pmc $ p *pmc->vtable > Any suggestions? Maybe the PMC got destroyed by a DOD run. You can check that by disabling DOD after Parrot_new(). (Parrot has a commandline option -G for this). Also the pmc's flags should reflect that. > Arthur > ps, does parrot have an abstraction for malloc? mem_sys_allocate mem_sys_allocate_zeroed mem_sys_realloc in src/memory.c leo