Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created February 26, 2019 21:18
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 dogbert17/ff0c5ab85bedb88e9c38ea4e93942697 to your computer and use it in GitHub Desktop.
Save dogbert17/ff0c5ab85bedb88e9c38ea4e93942697 to your computer and use it in GitHub Desktop.
Backtrace
(gdb) b MVM_panic
Breakpoint 1 at 0x7ffff7500b1d: file src/core/exceptions.c, line 821.
(gdb) r
Starting program: /home/dogbert/.rakudobrew/moar-master/install/bin/moar --execname=/home/dogbert/.rakudobrew/bin/../moar-master/install/bin/perl6-gdb-m --libpath=/home/dogbert/.rakudobrew/moar-master/install/share/nqp/lib --libpath=/home/dogbert/.rakudobrew/moar-master/install/share/perl6/lib --libpath=/home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime /home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm -I. t/06-better-map.t
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6228700 (LWP 18805)]
1..1
Thread 1 "moar" hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7ffff76d9e50 "Trying to unwind over wrong handler") at src/core/exceptions.c:821
821 MVM_NO_RETURN void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(gdb) bt
#0 MVM_panic (exitCode=1, messageFormat=0x7ffff76d9e50 "Trying to unwind over wrong handler") at src/core/exceptions.c:821
#1 0x00007ffff74ff68c in cleanup_active_handler (tc=0x604a50, sr_data=0x7cbfb50) at src/core/exceptions.c:450
#2 0x00007ffff753a86e in remove_one_frame (tc=0x604a50, unwind=1 '\001') at src/core/frame.c:925
#3 0x00007ffff753b035 in MVM_frame_unwind_to (tc=0x604a50, frame=0x7ffff331e628, abs_addr=0x7ffff4993dc2 "\b", rel_addr=0, return_value=0x0, jit_return_label=0x0) at src/core/frame.c:1087
#4 0x00007ffff7500ac2 in MVM_exception_resume (tc=0x604a50, ex_obj=0x7ffff331e588) at src/core/exceptions.c:812
#5 0x00007ffff750b2c8 in MVM_interp_run (tc=0x604a50, initial_invoke=0x7ffff7681f1d <toplevel_initial_invoke>, invoke_data=0x6a0ef8) at src/core/interp.c:1325
#6 0x00007ffff7682082 in MVM_vm_run_file (instance=0x604010, filename=0x7fffffffe21f "/home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm") at src/moar.c:444
#7 0x00000000004016f7 in main (argc=8, argv=0x7fffffffdd38) at src/main.c:302
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7ffff7fdb700 (LWP 18804) "moar" MVM_panic (exitCode=1, messageFormat=0x7ffff76d9e50 "Trying to unwind over wrong handler") at src/core/exceptions.c:821
2 Thread 0x7ffff6228700 (LWP 18805) "moar" 0x00007ffff76149d4 in by_offset (tc=0x68eef0, tss=0x7fffecbf9490, bytecode_offset=250) at src/spesh/stats.c:122
(gdb) f 1
#1 0x00007ffff74ff68c in cleanup_active_handler (tc=0x604a50, sr_data=0x7cbfb50) at src/core/exceptions.c:450
450 MVM_panic(1, "Trying to unwind over wrong handler");
(gdb) p MVM_dump_backtrace(tc)
at /home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/lib/Red/ResultSeq.pm6 (Red::ResultSeq):139 (/home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/.precomp/7B04FCF16B004C1E5DFF95E4DA92BFD14CB404F1/23/231043178FFBD78E6AFDFFC359BA845058C0F292:)
from /home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/lib/Red/ResultSeq.pm6 (Red::ResultSeq):138 (/home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/.precomp/7B04FCF16B004C1E5DFF95E4DA92BFD14CB404F1/23/231043178FFBD78E6AFDFFC359BA845058C0F292:)
from SETTING::src/core/Exception.pm6:58 (/home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/CORE.setting.moarvm:throw)
from /home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/lib/Red/AST.pm6 (Red::AST):22 (/home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/.precomp/7B04FCF16B004C1E5DFF95E4DA92BFD14CB404F1/67/678E49E57880076BB00B12EC0FFF97241B41D17D:Bool)
from t/06-better-map.t:19 (<ephemeral file>:)
from /home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/lib/Red/ResultSeq.pm6 (Red::ResultSeq):137 (/home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/.precomp/7B04FCF16B004C1E5DFF95E4DA92BFD14CB404F1/23/231043178FFBD78E6AFDFFC359BA845058C0F292:)
from /home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/lib/Red/ResultSeq.pm6 (Red::ResultSeq):134 (/home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/.precomp/7B04FCF16B004C1E5DFF95E4DA92BFD14CB404F1/23/231043178FFBD78E6AFDFFC359BA845058C0F292:what-does-it-do)
from /home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/lib/Red/ResultSeq.pm6 (Red::ResultSeq):211 (/home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/.precomp/7B04FCF16B004C1E5DFF95E4DA92BFD14CB404F1/23/231043178FFBD78E6AFDFFC359BA845058C0F292:map)
from t/06-better-map.t:19 (<ephemeral file>:<unit>)
from t/06-better-map.t:1 (<ephemeral file>:<unit-outer>)
from gen/moar/stage2/NQPHLL.nqp:1684 (/home/dogbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1888 (/home/dogbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:evalfiles)
from gen/moar/stage2/NQPHLL.nqp:1818 (/home/dogbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:command_eval)
from src/Perl6/Compiler.nqp:38 (/home/dogbert/.rakudobrew/moar-master/install/share/nqp/lib/Perl6/Compiler.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:1773 (/home/dogbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:command_line)
from gen/moar/main.nqp:48 (/home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:MAIN)
from gen/moar/main.nqp:1 (/home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:<mainline>)
from <unknown>:1 (/home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:<main>)
from <unknown>:1 (/home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:<entry>)
$1 = void
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment