Skip to content

Instantly share code, notes, and snippets.

/rethrow Secret

Created September 28, 2013 17:07
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 anonymous/14f980ab40b002af97f2 to your computer and use it in GitHub Desktop.
Save anonymous/14f980ab40b002af97f2 to your computer and use it in GitHub Desktop.
1..9
ok 1 - exceptions exit a try block
ok 2 - control exceptions are not caught by a try block
ok 3 - statement prefix form works when not throwing an exception
not ok 4 - statement prefix form of try works
ok 5 - CATCH blocks are invoked when an exception occurs
ok 6 - CATCH blocks ignore control exceptions
Program received signal SIGSEGV, Segmentation fault.
0x0000000000410892 in MVM_frame_find_invokee (tc=0x826300, code=0x0) at src/core/frame.c:522
522 if (STABLE(code)->invoke == MVM_6model_invoke_default) {
(gdb) bt ful
#0 0x0000000000410892 in MVM_frame_find_invokee (tc=0x826300, code=0x0) at src/core/frame.c:522
No locals.
#1 0x000000000044716a in MVM_interp_run (tc=0x826300, initial_invoke=0x441904 <toplevel_initial_invoke>, invoke_data=0x947b90) at src/core/interp.c:429
code = 0x0
op = 74
cur_op = 0x2f454dc "\001"
bytecode_start = 0x2f45464 "@"
reg_base = 0x2f51b70
cu = 0x7ffff6f60e58
cur_callsite = 0x2f49ab0
#2 0x0000000000441a22 in MVM_vm_run_file (instance=0x826010, filename=0x7fffffffe3a0 "nqp.moarvm") at src/moarvm.c:132
start_frame = 0x947b90
tc = 0x826300
cu = 0x7ffff6ee9bd8
#3 0x0000000000404275 in main (argc=3, argv=0x7fffffffe098) at src/main.c:107
instance = 0x826010
input_file = 0x7fffffffe3a0 "nqp.moarvm"
dump = 0
argi = 2
flag = -2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment