Skip to content

Instantly share code, notes, and snippets.

@FROGGS

FROGGS/fail.bash Secret

Last active December 25, 2015 04:09
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/ee72300abe8a460a1fcb to your computer and use it in GitHub Desktop.
Save FROGGS/ee72300abe8a460a1fcb to your computer and use it in GitHub Desktop.
gdb --args /home/froggs/dev/nqp/install/bin/moar --libpath=src/stage1 src/stage1/nqp.moarvm --bootstrap --module-path=src/stage2 --setting=NULL --no-regex-lib --target=mbc --output=src/stage2/NQPCORE.setting.moarvm src/stage2/gen/NQPCORE.setting
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/nqp/install/bin/moar...done.
(gdb) run
Starting program: /home/froggs/dev/nqp/install/bin/moar --libpath=src/stage1 src/stage1/nqp.moarvm --bootstrap --module-path=src/stage2 --setting=NULL --no-regex-lib --target=mbc --output=src/stage2/NQPCORE.setting.moarvm src/stage2/gen/NQPCORE.setting
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".
Program received signal SIGSEGV, Segmentation fault.
0x00000000004652bf in MVM_gc_worklist_add_slow (tc=0x82a310, worklist=0x24a9db0, item=0x24a9570) at src/gc/worklist.c:21
21 worklist->list[worklist->items++] = item;
(gdb) bt full
#0 0x00000000004652bf in MVM_gc_worklist_add_slow (tc=0x82a310, worklist=0x24a9db0, item=0x24a9570) at src/gc/worklist.c:21
No locals.
#1 0x000000000041301b in MVM_gc_root_add_tc_roots_to_worklist (tc=0x82a310, worklist=0x24a9db0) at src/gc/roots.c:68
cur_ah = 0x24a9560
#2 0x0000000000414125 in MVM_gc_collect (tc=0x82a310, what_to_do=0 '\000', gen=0 '\000') at src/gc/collect.c:80
fromspace = 0x7ffff6ee6010
tospace = 0x7ffff70e7010
worklist = 0x24a9db0
wtp = {num_target_threads = 0, target_work = 0x0}
#3 0x0000000000464c41 in run_gc (tc=0x82a310, what_to_do=0 '\000') at src/gc/orchestrate.c:272
other = 0x82a310
gen = 0 '\000'
i = 0
n = 1
#4 0x0000000000465019 in MVM_gc_enter_from_allocator (tc=0x82a310) at src/gc/orchestrate.c:367
last_starter = 0x1eb99b0
num_threads = 0
#5 0x0000000000412600 in MVM_gc_allocate_nursery (tc=0x82a310, size=64) at src/gc/allocation.c:32
allocated = 0x0
#6 0x0000000000412685 in MVM_gc_allocate_zeroed (tc=0x82a310, size=64) at src/gc/allocation.c:49
No locals.
#7 0x00000000004128b1 in MVM_gc_allocate_object (tc=0x82a310, st=0x9a9548) at src/gc/allocation.c:84
obj = 0x6
#8 0x000000000042dfd9 in allocate (tc=0x82a310, st=0x9a9548) at src/6model/reprs/MVMIter.c:22
No locals.
#9 0x000000000041ab41 in MVM_repr_alloc_init (tc=0x82a310, type=0x9b3010) at src/6model/reprconv.c:13
obj = 0x82a310
#10 0x000000000042e427 in MVM_iter (tc=0x82a310, target=0x7ffff70e5f00) at src/6model/reprs/MVMIter.c:153
iterator = 0x7fffffffd110
#11 0x0000000000455285 in MVM_interp_run (tc=0x82a310, initial_invoke=0x4422b2 <toplevel_initial_invoke>, invoke_data=0x956c10) at src/core/interp.c:2511
op = 374
cur_op = 0x7ffff6dcf310 "\003"
bytecode_start = 0x7ffff6dcf21e "@"
reg_base = 0x24a9430
cu = 0x1ed0ef0
cur_callsite = 0xbb1400
#12 0x00000000004423d0 in MVM_vm_run_file (instance=0x82a010, filename=0x7fffffffe313 "src/stage1/nqp.moarvm") at src/moar.c:132
start_frame = 0x956c10
tc = 0x82a310
cu = 0x7ffff6ee9d58
#13 0x00000000004043cd in main (argc=10, argv=0x7fffffffdfa8) at src/main.c:130
instance = 0x82a010
input_file = 0x7fffffffe313 "src/stage1/nqp.moarvm"
lib_path = 0x7fffffffe308 "src/stage1"
dump = 0
argi = 3
flag = -2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment