Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created July 24, 2013 12:27
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 FROGGS/ec714a9adb09bd3dbef4 to your computer and use it in GitHub Desktop.
Save FROGGS/ec714a9adb09bd3dbef4 to your computer and use it in GitHub Desktop.
dev/MoarVM_/nqp-cc$ gdb --args ../moarvm t/nqp/57-construction.moarvm
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/froggs/dev/MoarVM_/moarvm...done.
(gdb) b __asan_report_error
Haltepunkt 1 at 0x879d00
(gdb) run
Starting program: /home/froggs/dev/MoarVM_/moarvm t/nqp/57-construction.moarvm
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
1..2
Breakpoint 1, 0x0000000000879d00 in __asan_report_error ()
(gdb) bt ful
#0 0x0000000000879d00 in __asan_report_error ()
No symbol table info available.
#1 0x000000000087a7ba in __asan_report_store8 ()
No symbol table info available.
#2 0x000000000041d43a in flatten_args (tc=<optimized out>, ctx=<optimized out>) at src/core/args.c:596
body = 0x7ffffffe8160
current = 0x7ffffffe81a0
tmp = 0x7ffffffe81e0
arg_info = {arg = {o = 0x7ffffffe7da0, s = 0x7ffffffe7da0, i8 = -96 '\240', ui8 = 160 '\240', i16 = 32160, ui16 = 32160, i32 = -98912, ui32 = 4294868384, i64 = 140737488256416,
ui64 = 140737488256416, n32 = -nan(0x7e7da0), n64 = 6.9533558029481022e-310}, flags = 96 '`', exists = 125 '}'}
new_flag_pos = 32736
new_arg_pos = 32480
new_num_pos = 32800
new_args = 0x7ffffffe80a0
flag_pos = 32352
arg_pos = 32416
new_arg_flags_size = 32544
new_args_size = 32608
i = 32672
new_arg_flags = 0x7ffffffe8060 "@\241\375\365\377\177"
#3 0x0000000000418648 in MVM_args_checkarity (tc=<optimized out>, ctx=<optimized out>, min=<optimized out>, max=<optimized out>) at src/core/args.c:60
num_pos = 33888
#4 0x0000000000458a68 in MVM_interp_run (tc=<optimized out>, initial_invoke=<optimized out>, invoke_data=<optimized out>) at src/core/interp.c:500
cur_op = 0x7fffffff76e0 "\216\022\t\366\377\177"
bytecode_start = 0x7fffffff7720 "\214\022\t\366\377\177"
reg_base = 0x7fffffff7760
cu = 0x7fffffff77a0
cur_callsite = 0x7fffffff77e0
#5 0x00000000007de038 in MVM_vm_run_file (instance=<optimized out>, filename=<optimized out>) at src/moarvm.c:144
start_frame = 0x7fffffffd920
tc = 0x7fffffffd960
cu = 0x7fffffffd9a0
#6 0x00000000007dfacb in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:58
instance = 0x7fffffffdc80
rv = -9024
optarg = 0x7fffffffddc0 "p\336\377\377\377\177"
processed_args = -8448
opt = 0x7fffffffdd40
input_file = 0x7fffffffde40 "\202\343\377\377\377\177"
exitcode = -8576
mp = 0x7fffffffdd00
optch = -8832
dump = -8704
helptext = 0x7fffffffdec0 "\340\373\300"
opt_option = {{name = 0xc0fae0 "dump", optch = 256, has_arg = 0, description = 0xc0fb20 "dump bytecode"}, {name = 0xc0fb60 "help", optch = 257, has_arg = 0,
description = 0xc0fba0 "show help"}, {name = 0x0, optch = 0, has_arg = 0, description = 0x0}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment