On Friday 30 May 2008 08:20:26 Allison Randal wrote:

> I just got my 64-bit Ubuntu box running again (dead graphics card). The
> first thing I did was 'svn up' and compile Parrot, and I get a segfault
> in make. Don't have time to look into it further at the moment, so
> submitting it for later or other eyes.

Standard dance: 'make realclean'?

> The details: 
>
> make[1]: Entering directory
> `/home/allison/projects/svn/parrot/compilers/json'
> ../../parrot ../../runtime/parrot/library/PGE/Perl6Grammar.pbc
> --output=JSON/grammar.pir JSON/grammar.pg
> ../../parrot --output=JSON/grammar.pbc JSON/grammar.pir
> ../../parrot ../../compilers/tge/tgc.pir --output=JSON/pge2pir.pir
> JSON/pge2pir.tg
> make[1]: *** [JSON/pge2pir.pir] Segmentation fault (core dumped)
> make[1]: Leaving directory
> `/home/allison/projects/svn/parrot/compilers/json'
> make: *** [compilers.dummy] Error 2
>
>  From within gdb I get:
>
> (gdb) run ../../compilers/tge/tgc.pir --output=JSON/pge2pir.pir
> JSON/pge2pir.tg
> Starting program: /home/allison/projects/svn/parrot/parrot
> ../../compilers/tge/tgc.pir --output=JSON/pge2pir.pir JSON/pge2pir.tg
> [Thread debugging using libthread_db enabled]
> [New Thread 47653266432736 (LWP 9239)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 47653266432736 (LWP 9239)]
> 0x00002b5722c66405 in Parrot_isa_i_p_p (cur_opcode=0x2b5724171180,
>      interp=0x609080) at src/ops/object.ops:225
> 225         $1 = $3 ? VTABLE_isa_pmc(interp, $2, $3) : 0;
> (gdb) bt
> #0  0x00002b5722c66405 in Parrot_isa_i_p_p (cur_opcode=0x2b5724171180,
>      interp=0x609080) at src/ops/object.ops:225
> #1  0x00002b5722d01bc7 in runops_slow_core (interp=0x609080,
> pc=0x2b5724171180)
>      at src/runops_cores.c:221

That's directly from an isa opcode.  Is $2 NULL or is $2->vtable NULL or is 
$2->vtable->isa_pmc NULL?

-- c

Reply via email to