Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created September 6, 2021 20:34
Show Gist options
  • Save MasterDuke17/33f0c4fe6973d51ccce349f05126dfe3 to your computer and use it in GitHub Desktop.
Save MasterDuke17/33f0c4fe6973d51ccce349f05126dfe3 to your computer and use it in GitHub Desktop.
Thread 1 hit Breakpoint 1, MVM_panic (exitCode=exitCode@entry=1, messageFormat=messageFormat@entry=0x7f89aeb28580 "Tried to garbage-collect a locked mutex") at src/core/exceptions.c:853
853 MVM_NO_RETURN void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(rr) b threadcontext.c:154
Breakpoint 3 at 0x7f89ae9c1cb0: file src/core/threadcontext.c, line 154.
(rr) reverse-continue
Continuing.
Thread 1 hit Breakpoint 3, MVM_tc_set_ex_release_mutex (tc=tc@entry=0x56541e13c100, mutex=0x5654214a9800) at src/core/threadcontext.c:154
154 fprintf(stderr, "setting %p in [1]\n", mutex);
(rr) bt
#0 MVM_tc_set_ex_release_mutex (tc=tc@entry=0x56541e13c100, mutex=0x5654214a9800) at src/core/threadcontext.c:154
#1 0x00007f89ae9c5596 in prepare_and_verify_static_frame (static_frame=<optimized out>, tc=0x56541e13c100) at src/core/frame.c:45
#2 instrumentation_level_barrier (tc=tc@entry=0x56541e13c100, static_frame=<optimized out>) at src/core/frame.c:106
#3 0x00007f89ae9c6925 in MVM_frame_invoke (tc=tc@entry=0x56541e13c100, static_frame=<optimized out>, callsite=0x7f89af081760 <null_args_callsite>, args=args@entry=0x56541e2c6880, outer=<optimized out>, code_ref=<optimized out>,
code_ref@entry=0x565422b59420, spesh_cand=-1) at src/core/frame.c:412
#4 0x00007f89aea17140 in invoke_handler (tc=tc@entry=0x56541e13c100, invokee=invokee@entry=0x565422b59420, callsite=<optimized out>, args=args@entry=0x56541e2c6880) at src/6model/reprs/MVMCode.c:10
#5 0x00007f89ae9a3387 in run_handler (tc=tc@entry=0x56541e13c100, lh=..., ex_obj=<optimized out>, category=category@entry=1, payload=<optimized out>, payload@entry=0x0) at src/core/exceptions.c:404
#6 0x00007f89ae9a3b1e in MVM_exception_throw_adhoc_free_va (tc=0x56541e13c100, waste=0x0, messageFormat=0x7f89aeb17930 "Bytecode validation error at offset %u, instruction %u:\ncallsite expects %u more positionals", args=0x7ffdcc3e7ed0)
at src/core/exceptions.c:993
#7 0x00007f89ae9a4fd1 in MVM_exception_throw_adhoc_va (tc=<optimized out>, messageFormat=messageFormat@entry=0x7f89aeb17930 "Bytecode validation error at offset %u, instruction %u:\ncallsite expects %u more positionals",
args=args@entry=0x7ffdcc3e7ed0) at src/core/exceptions.c:904
#8 0x00007f89ae9cb423 in fail (val=val@entry=0x7ffdcc3e7fe0, msg=msg@entry=0x7f89aeb17930 "Bytecode validation error at offset %u, instruction %u:\ncallsite expects %u more positionals") at src/core/validation.c:69
#9 0x00007f89ae9cc823 in ensure_no_remaining_positionals (val=0x7ffdcc3e7fe0) at src/core/validation.c:114
#10 validate_block (val=0x7ffdcc3e7fe0) at src/core/validation.c:655
#11 MVM_validate_static_frame (tc=<optimized out>, static_frame=0x5654213a56c0) at src/core/validation.c:720
#12 0x00007f89ae9c5680 in prepare_and_verify_static_frame (static_frame=<optimized out>, tc=0x56541e13c100) at src/core/frame.c:58
#13 instrumentation_level_barrier (tc=tc@entry=0x56541e13c100, static_frame=<optimized out>) at src/core/frame.c:106
#14 0x00007f89ae9c6925 in MVM_frame_invoke (tc=0x56541e13c100, static_frame=<optimized out>, callsite=0x7f89af081760 <null_args_callsite>, args=0x56541e2c6880, outer=<optimized out>, code_ref=<optimized out>, spesh_cand=-1)
at src/core/frame.c:412
#15 0x00007f89aea17140 in invoke_handler (tc=<optimized out>, invokee=<optimized out>, callsite=<optimized out>, args=<optimized out>) at src/6model/reprs/MVMCode.c:10
#16 0x00007f89ae9b362a in MVM_interp_run (tc=0x56541e13c100, initial_invoke=0x5654214a9800, initial_invoke@entry=0x7f89aeac0250 <toplevel_initial_invoke>, invoke_data=0x5654214a9800,
invoke_data@entry=0x7f89aeac0250 <toplevel_initial_invoke>, outer_runloop=0xffffffffffffffff, outer_runloop@entry=0x0) at src/core/interp.c:1105
#17 0x00007f89aeac13e5 in MVM_vm_run_file (instance=instance@entry=0x56541e13b5c0, filename=filename@entry=0x56541e13b550 "/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm") at src/moar.c:504
#18 0x000056541cbf57d8 in main (argc=<optimized out>, argv=0x7ffdcc3e88f8) at src/vm/moar/runner/main.c:474
(rr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment