Ticket #961 (closed bug: fixed)
segfault in Parrot_oo_find_vtable_override
| Reported by: | coke | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | core | Version: | trunk |
| Severity: | high | Keywords: | |
| Cc: | Language: | tcl | |
| Patch status: | Platform: |
Description
With parrot r40897 and partcl r658;
running parrot tcl.pbc t_tcl/history.test (need to run "make t_tcl" first to checkout the test files),
get the following segfault:
(gdb) bt
#0 Parrot_oo_find_vtable_override (interp=0x804f040, classobj=0x0,
name=0x8074084) at src/oo.c:514
#1 0xb7f52e41 in Parrot_Object_get_class (interp=0x804f040, pmc=0x828b6b0)
at ./src/pmc/object.pmc:430
#2 0xb7f3f284 in Parrot_Object_isa (interp=0x804f040, pmc=0x828b6b0,
classname=0x8086e30) at ./src/pmc/object.pmc:517
#3 0xb7dccadd in Parrot_isa_i_p_sc (cur_opcode=0xb6fb87ec, interp=0x804f040)
at src/ops/object.ops:222
#4 0xb7e34dd2 in runops_slow_core (interp=0x804f040, pc=0xb6fb87ec)
at src/runcore/cores.c:462
#5 0xb7e3406f in runops_int (interp=0x804f040, offset=528)
at src/runcore/main.c:987
#6 0xb7e1c402 in runops (interp=0x804f040, offs=3) at src/call/ops.c:119
#7 0xb7e1c589 in runops_args (interp=0x804f040, sub=0x80c29b8, obj=0x80b0bd0,
meth_unused=0x0, sig=0xb7f9901b "vP", ap=0xbfb9cccc "\030-\f\b")
at src/call/ops.c:269
#8 0xb7e1cd38 in Parrot_runops_fromc_args (interp=0x804f040, sub=0x80c29b8,
sig=0xb7f9901b "vP") at src/call/ops.c:338
#9 0xb7e06288 in Parrot_runcode (interp=0x804f040, argc=2, argv=0xbfb9ce38)
at src/embed.c:983
#10 0xb7f85ecf in imcc_run (interp=0x804f040, sourcefile=0xbfb9d3d5 "tcl.pbc",
argc=2, argv=0xbfb9ce38) at compilers/imcc/main.c:801
#11 0x08048955 in main (argc=2, argv=0xbfb9ce38) at src/main.c:60
(gdb) p classobj
$2 = (PMC *) 0x0
Change History
Note: See
TracTickets for help on using
tickets.
