> [bernhard - So 30. Okt 2005, 04:35:45]: > > Hi, > > it looks like recent PGE changes broke 'Parrot m4'. > I have boiled it down to a 20 line test cast and added it > as test 4 in t/library/pge.t. This test case fails, at least under my > Linux installation, with a segmentation fault. > > My setup: > > [EMAIL PROTECTED]:~/devel/Parrot/local/parrot> uname -a > Linux linux 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686 unknown > [EMAIL PROTECTED]:~/devel/Parrot/local/parrot> gcc --version > gcc (GCC) 3.4.2 > > CU, Bernhard
I have trace the failure t/library/pge_4.pir with valgrind. It looks like p->pmc_ext ends up with a value of 0x5 in src/dod.c. This looks not healthy to me. More about that once I have 'gdb' and 'ddd' running on my friends machine. CU, Bernhard Process terminating with default action of signal 11 (SIGSEGV) ==4409== Access not within mapped region at address 0x5 ==4409== at 0x80CB662: pobject_lives (src/dod.c:223) ==4409== by 0x808D5FB: mark_stack (src/stacks.c:72) ==4409== by 0x8163263: mark_context (src/sub.c:41) ==4409== by 0x80CB90A: Parrot_dod_trace_root (src/dod.c:365) ==4409== by 0x80CB9B0: trace_active_PMCs (src/dod.c:390) ==4409== by 0x80CC496: Parrot_dod_ms_run (src/dod.c:1236) ==4409== by 0x80CC566: Parrot_do_dod_run (src/dod.c:1275) ==4409== by 0x80CA07D: more_traceable_objects (src/smallobject.c:114) ==4409== by 0x80CA0FF: gc_ms_get_free_object (src/smallobject.c:162) ==4409== by 0x808DC7A: cst_new_stack_chunk (src/stack_common.c:92) ==4409== by 0x808DCE8: stack_prepare_push (src/stack_common.c:117) ==4409== by 0x808D960: stack_push (src/stacks.c:253) -- /* [EMAIL PROTECTED] */