Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created January 3, 2018 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/da472dfe4d1d48c78043b5ac40c2a7d6 to your computer and use it in GitHub Desktop.
Save MasterDuke17/da472dfe4d1d48c78043b5ac40c2a7d6 to your computer and use it in GitHub Desktop.
ok 197 - %17.3f 2.718281828459e-03
NULL to_free, bytes = 0
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff764ed7b in MVM_fixed_size_free (tc=0x555555758c40, al=0x55555575a120, bytes=0, to_free=0x0) at src/core/fixedsizealloc.c:291
291 if (dbg->alloc_size != bytes) {
(gdb) bt
#0 0x00007ffff764ed7b in MVM_fixed_size_free (tc=0x555555758c40, al=0x55555575a120, bytes=0, to_free=0x0) at src/core/fixedsizealloc.c:291
#1 0x00007ffff767cef0 in gc_free (tc=0x555555758c40, obj=0x7ffff6429e80) at src/6model/reprs/MVMString.c:88
#2 0x00007ffff765f30e in MVM_gc_collect_free_nursery_uncopied (tc=0x555555758c40, limit=0x7ffff66d9fe0) at src/gc/collect.c:609
#3 0x00007ffff7657f35 in finish_gc (tc=0x555555758c40, gen=0 '\000', is_coordinator=1 '\001') at src/gc/orchestrate.c:230
#4 0x00007ffff765839d in run_gc (tc=0x555555758c40, what_to_do=0 '\000') at src/gc/orchestrate.c:373
#5 0x00007ffff76587e0 in MVM_gc_enter_from_allocator (tc=0x555555758c40) at src/gc/orchestrate.c:486
#6 0x00007ffff7658ca6 in MVM_gc_allocate_nursery (tc=0x555555758c40, size=96) at src/gc/allocation.c:32
#7 0x00007ffff7658ba9 in MVM_gc_allocate (tc=0x555555758c40, size=96) at src/gc/allocation.h:13
#8 0x00007ffff7658d26 in MVM_gc_allocate_zeroed (tc=0x555555758c40, size=96) at src/gc/allocation.c:49
#9 0x00007ffff7658eed in MVM_gc_allocate_object (tc=0x555555758c40, st=0x5555557a5b20) at src/gc/allocation.c:86
#10 0x00007ffff768593c in allocate (tc=0x555555758c40, st=0x5555557a5b20) at src/6model/reprs/P6opaque.c:60
#11 0x00007ffff7609a10 in MVM_interp_run (tc=0x555555758c40, initial_invoke=0x7ffff772a6c6 <toplevel_initial_invoke>, invoke_data=0x5555557e90b8) at src/core/interp.c:1842
#12 0x00007ffff772a82b in MVM_vm_run_file (instance=0x555555758260, filename=0x7fffffffe229 "nqp.moarvm") at src/moar.c:401
#13 0x00005555555557d7 in main (argc=3, argv=0x7fffffffde98) at src/main.c:256
(gdb) call MVM_dump_backtrace(tc)
at gen/moar/stage2/QRegex.nqp:1447 (QRegex.moarvm:!cursor_init)
from gen/moar/stage2/QRegex.nqp:2327 (QRegex.moarvm:parse)
from gen/moar/stage2/QRegex.nqp:2416 (QRegex.moarvm:ACCEPTS)
from gen/moar/stage2/NQPHLL.nqp:2747 (NQPHLL.moarvm:padding_char)
from gen/moar/stage2/NQPHLL.nqp:3021 (NQPHLL.moarvm:directive:sym<g>)
from gen/moar/stage2/QRegex.nqp:1683 (QRegex.moarvm:!reduce)
from gen/moar/stage2/QRegex.nqp:1629 (QRegex.moarvm:!cursor_pass)
from <unknown>:1 (NQPHLL.moarvm:directive:sym<g>)
from gen/moar/stage2/QRegex.nqp:1721 (QRegex.moarvm:!protoregex)
from <unknown>:1 (NQPHLL.moarvm:directive)
from <unknown>:1 (NQPHLL.moarvm:statement)
from <unknown>:1 (NQPHLL.moarvm:TOP)
from gen/moar/stage2/QRegex.nqp:2330 (QRegex.moarvm:parse)
from gen/moar/stage2/NQPHLL.nqp:3112 (NQPHLL.moarvm:sprintf)
from t/hll/06-sprintf.t:255 (<ephemeral file>:<mainline>)
from gen/moar/stage2/NQPHLL.nqp:1542 (NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1779 (NQPHLL.moarvm:evalfiles)
from gen/moar/stage2/NQPHLL.nqp:1671 (NQPHLL.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:1630 (NQPHLL.moarvm:command_line)
from gen/moar/stage2/NQP.nqp:4123 (nqp.moarvm:MAIN)
from gen/moar/stage2/NQP.nqp:4118 (nqp.moarvm:<mainline>)
from <unknown>:1 (nqp.moarvm:<main>)
from <unknown>:1 (nqp.moarvm:<entry>)
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment