#1746: A way to get Rakudo to segfault
-------------------+--------------------------------------------------------
Reporter: masak | Type: bug
Status: new | Priority: major
Milestone: | Component: core
Version: 2.6.0 | Severity: medium
Keywords: | Lang: perl6
Patch: | Platform: all
-------------------+--------------------------------------------------------
Comment(by nwellnhof):
I get a different backtrace:
{{{
(gdb) run -e 'use A; use B'
Starting program: /home/nik/src/rakudo/perl6 -e 'use A; use B'
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
Parrot_gc_get_attributes_from_pool (interp=<value optimized out>,
pool=0x8e68800) at src/gc/gc_ms.c:840
840 pool->free_list = item->next;
(gdb) bt
#0 Parrot_gc_get_attributes_from_pool (interp=<value optimized out>,
pool=0x8e68800) at src/gc/gc_ms.c:840
#1 0xb7e97822 in gc_ms_allocate_pmc_attributes (interp=0x8e48008,
pmc=0xac4e940) at src/gc/gc_ms.c:979
#2 0xb7e96b29 in Parrot_gc_allocate_pmc_attributes (interp=0x8e48008,
pmc=0xac4e940) at src/gc/api.c:551
#3 0xb7ec9964 in get_new_pmc_header (interp=0x8e48008,
base_type=<value optimized out>, flags=0) at src/pmc.c:451
#4 0xb7ec9d71 in Parrot_pmc_new (interp=0x8e48008, base_type=149325824)
at src/pmc.c:163
#5 0xb7e9d9e4 in fill_params (interp=0x8e48008,
call_object=<value optimized out>, raw_sig=0x8f9fc40,
arg_info=0xb6588a50,
accessor=0xb7fdf500, direction=PARROT_ERRORS_PARAM_COUNT_FLAG)
at src/call/args.c:978
#6 0xb7e88565 in Parrot_get_params_pc (cur_opcode=0xb6588a50,
interp=0x8e48008) at src/ops/core_ops.c:15563
#7 0xb7ecab74 in runops_fast_core (interp=0x8e48008,
runcore_unused=0x8eea118, pc=0x7) at src/runcore/cores.c:514
#8 0xb7eca9ae in runops_int (interp=0x8e48008, offset=322852)
at src/runcore/main.c:237
#9 0xb7ea035d in runops (interp=0x8e48008, offs=322852) at
src/call/ops.c:127
#10 0xb7e9c4c7 in Parrot_pcc_invoke_from_sig_object (interp=0x8e48008,
sub_obj=0x90ac078, call_object=0xa855db0) at src/call/pcc.c:325
#11 0xb7e91f46 in Parrot_ext_call (interp=0x8e48008, sub_pmc=0x90ac078,
signature=0xb7f9c972 "P->") at src/extend.c:322
#12 0xb7e9066e in Parrot_runcode (interp=0x8e48008, argc=3,
argv=0xbffff814)
at src/embed.c:812
#13 0x08048b80 in main ()
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1746#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets