parrot/parrot — Issue #168: Parrot coredumps in t/library/pg.t
Author: leto
Created: 2011-10-18 19:54:49+00:00
State: open

This is on 64 bit linux with Postgres 8.4.8
```
Core was generated by `./parrot t/library/pg.t'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f36bc601a6f in Parrot_gc_new_string_header (interp=0x8d8d6b, flags=0) at src/gc/api.c:365
365 STRING * const string = interp->gc_sys->allocate_string_header(interp, flags);
(gdb) bt
#0 0x00007f36bc601a6f in Parrot_gc_new_string_header (interp=0x8d8d6b, flags=0) at src/gc/api.c:365
#1 0x00007f36bc59bb65 in Parrot_str_new_init (interp=0x8d8d6b, buffer=0x0, len=9435376, encoding=0x7f36bcb0fe60, flags=0) at src/string/api.c:653
#2 0x00007f36bc59b8ee in Parrot_str_new (interp=0x8d8d6b, buffer=0x0, len=9435376) at src/string/api.c:554
#3 0x00007f36b9e3defc in ffi_call_unix64 () from /usr/lib/libffi.so.5
#4 0x00007f36b9e3dc84 in ffi_call () from /usr/lib/libffi.so.5
#5 0x00007f36bc62d488 in call_ffi_thunk (interp=0x761050, nci_pmc=0x9457c8, self=0x945840) at src/nci/libffi.c:637
#6 0x00007f36bc69a47b in Parrot_NCI_invoke (interp=0x761050, _self=0x9457c8, next=0x8f2628) at src/pmc/nci.c:215
#7 0x00007f36bc5a184d in Parrot_invokecc_p (cur_opcode=0x8f2618, interp=0x761050) at src/ops/core_ops.c:13442
#8 0x00007f36bc64beda in runops_fast_core (interp=0x761050, runcore_unused=0x830df0, pc=0x8f2618) at src/runcore/cores.c:504
#9 0x00007f36bc64b347 in runops_int (interp=0x761050, offset=333) at src/runcore/main.c:220
#10 0x00007f36bc61f3b0 in runops (interp=0x761050, offs=333) at src/call/ops.c:126
#11 0x00007f36bc618224 in Parrot_pcc_invoke_from_sig_object (interp=0x761050, sub_obj=0x835998, call_object=0x848250) at src/call/pcc.c:337
#12 0x00007f36bc6179b5 in Parrot_pcc_invoke_sub_from_c_args (interp=0x761050, sub_obj=0x835998, sig=0x7f36bc7d461d "P->") at src/call/pcc.c:139
#13 0x00007f36bc6616da in Parrot_pf_execute_bytecode_program (interp=0x761050, pbc=0x848228, args=0x835308) at src/packfile/api.c:2623
#14 0x00007f36bc5f4895 in Parrot_api_run_bytecode (interp_pmc=0x828ea0, pbc=0x848228, args=0x835308) at src/embed/bytecode.c:162
#15 0x0000000000401832 in main (argc=2, argv=0x7ffff69655b8) at frontend/parrot2/main.c:168
(gdb)
```