#1872: t/pmc/fixedstringarray.t fails coretest 64 bit with g++-4.5
--------------------+-------------------------------------------------------
Reporter: mikehh | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 2.11
Component: core | Version: master
Severity: medium | Keywords: Segmentation Fault
Lang: | Patch:
Platform: linux |
--------------------+-------------------------------------------------------
Comment(by mikehh):
ok following from the last post:
{{{
(gdb) backtrace
#0 0x00007ffff79dd318 in Parrot_pa_remove (interp=0x60b080,
self=0x74b9a0, ptr=0xce) at src/pointer_array.c:144
#1 0x00007ffff79c353c in gc_ms2_mark_pmc_header (interp=0x60b080,
pmc=0x74b938) at src/gc/gc_ms2.c:753
#2 0x00007ffff79bd806 in Parrot_gc_mark_PMC_alive_fun (interp=0x60b080,
obj=0x74b938) at src/gc/api.c:156
#3 0x00007ffff79c696e in trace_mem_block (interp=0x60b080, mem_pools=0x0,
lo_var_ptr=140737488347416, hi_var_ptr=140737488345968) at
src/gc/system.c:473
#4 0x00007ffff79c64ef in trace_system_stack (interp=0x60b080,
mem_pools=0x0) at src/gc/system.c:247
#5 0x00007ffff79c6464 in trace_system_areas (interp=0x60b080,
mem_pools=0x0) at src/gc/system.c:216
#6 0x00007ffff79c535d in Parrot_gc_trace_root (interp=0x60b080,
mem_pools=0x0, trace=GC_TRACE_FULL) at src/gc/mark_sweep.c:226
#7 0x00007ffff79c3ede in gc_ms2_mark_live_objects (interp=0x60b080,
self=0x60b940, flags=2) at src/gc/gc_ms2.c:1026
#8 0x00007ffff79c4126 in gc_ms2_mark_and_sweep (interp=0x60b080, flags=2)
at src/gc/gc_ms2.c:1068
#9 0x00007ffff79be6e3 in Parrot_gc_mark_and_sweep (interp=0x60b080,
flags=2) at src/gc/api.c:658
#10 0x00007ffff796794b in Parrot_sweep_ic (cur_opcode=0x74eda0,
interp=0x60b080) at src/ops/core_ops.c:15984
#11 0x00007ffff7a19737 in runops_slow_core (interp=0x60b080,
runcore_unused=0x6eda60, pc=0x74eda0) at src/runcore/cores.c:646
#12 0x00007ffff7a18697 in runops_int (interp=0x60b080, offset=891) at
src/runcore/main.c:218
#13 0x00007ffff79d58d0 in runops (interp=0x60b080, offs=0) at
src/call/ops.c:126
#14 0x00007ffff79cf4ef in Parrot_pcc_invoke_from_sig_object
(interp=0x60b080, sub_obj=0x6f19e8, call_object=0x737ae0) at
src/call/pcc.c:323
#15 0x00007ffff79b4cde in Parrot_ext_call (interp=0x60b080,
sub_pmc=0x6f19e8, signature=0x7ffff7b3ca8a "P->") at src/extend.c:321
#16 0x00007ffff79b1535 in Parrot_runcode (interp=0x60b080, argc=1,
argv=0x7fffffffe210) at src/embed.c:837
#17 0x00007ffff7b151db in imcc_run_pbc (interp=0x60b080, output_file=0x0,
argc=1, argv=0x7fffffffe210) at compilers/imcc/main.c:413
#18 0x000000000040136f in main (argc=2, argv=0x7fffffffe208) at
src/main.c:155
}}}
don't know if this helps, let me know if I can do anything else.
I am assuming that the seg fault occurs somewhere on the loop starting at
line 268-272 of t/pmc/fixedstringarray.t. - at line 271.-> sweep 1
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1872#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets