Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created September 30, 2017 21:36
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/f5d176a0eaa2faab3c3e81fcf0c5f543 to your computer and use it in GitHub Desktop.
Save MasterDuke17/f5d176a0eaa2faab3c3e81fcf0c5f543 to your computer and use it in GitHub Desktop.
(gdb) break MVM_panic
Function "MVM_panic" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (MVM_panic) pending.
(gdb) r
Starting program: /home/dan/Source/perl6/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5fcf700 (LWP 31183)]
Thread 1 "moar" hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7ffff77ea3b8 "Fixed size allocator: wrong size in free, expected %lu, got %lu") at src/core/exceptions.c:686
686 void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(gdb) bt
#0 MVM_panic (exitCode=1, messageFormat=0x7ffff77ea3b8 "Fixed size allocator: wrong size in free, expected %lu, got %lu") at src/core/exceptions.c:686
#1 0x00007ffff76d808f in MVM_fixed_size_free (tc=0x5555557589a0, al=0x555555759e70, bytes=232, to_free=0x555555b04338) at src/core/fixedsizealloc.c:278
#2 0x00007ffff7776f6a in get_all_in_buffer (tc=0x5555557589a0, ds=0x555555abdda0) at src/strings/decode_stream.c:470
#3 0x00007ffff7776fec in MVM_string_decodestream_get_all (tc=0x5555557589a0, ds=0x555555abdda0) at src/strings/decode_stream.c:484
#4 0x00007ffff7736d66 in MVM_decoder_take_all_chars (tc=0x5555557589a0, decoder=0x7ffff647d350) at src/6model/reprs/Decoder.c:234
#5 0x00007ffff76aed16 in MVM_interp_run (tc=0x5555557589a0, initial_invoke=0x7ffff77ab613 <toplevel_initial_invoke>, invoke_data=0x5555557f9340) at src/core/interp.c:5127
#6 0x00007ffff77ab778 in MVM_vm_run_file (instance=0x555555758010, filename=0x7fffffffe192 "src/vm/moar/stage0/nqp.moarvm") at src/moar.c:387
#7 0x00005555555556ab in main (argc=9, argv=0x7fffffffdd98) at src/main.c:255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment