Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created November 17, 2013 13:21
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/dcf494aecec7506fdd79 to your computer and use it in GitHub Desktop.
Save FROGGS/dcf494aecec7506fdd79 to your computer and use it in GitHub Desktop.
froggs@TL02L-R8RXTCW-linux:~/dev/nqp$ gdb --args /home/froggs/dev/nqp/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \
> --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
GNU gdb (GDB) 7.6.1-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/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
[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.
0x00007ffff79e39b9 in process_worklist (tc=0x6033c0, worklist=0x217f080, wtp=0x7fffffffcc00, gen=1 '\001') at src/gc/collect.c:171
171 item_gen2 = item->flags & MVM_CF_SECOND_GEN;
(gdb) bt full
#0 0x00007ffff79e39b9 in process_worklist (tc=0x6033c0, worklist=0x217f080, wtp=0x7fffffffcc00, gen=1 '\001') at src/gc/collect.c:171
item = 0x8b48c20148e0458b
item_gen2 = 8 '\b'
gen2 = 0x603850
item_ptr = 0x7fffffffcc70
new_addr = 0x7ffff681eeb0
gen2count = 25
#1 0x00007ffff79e376d in MVM_gc_collect (tc=0x6033c0, what_to_do=0 '\000', gen=1 '\001') at src/gc/collect.c:92
fromspace = 0x7ffff69e0010
tospace = 0x7ffff67df010
worklist = 0x217f080
wtp = {num_target_threads = 0, target_work = 0x0}
#2 0x00007ffff79dcb13 in run_gc (tc=0x6033c0, what_to_do=0 '\000') at src/gc/orchestrate.c:272
other = 0x6033c0
gen = 1 '\001'
i = 0
n = 1
#3 0x00007ffff79dcef0 in MVM_gc_enter_from_allocator (tc=<Fehler beim Lesen der Variable: Cannot access memory at address 0x8b48c20148e04563>,
tc@entry=<Fehler beim Lesen der Variable: Cannot access memory at address 0x8b48c20148e04593>) at src/gc/orchestrate.c:367
last_starter = <error reading variable last_starter (Cannot access memory at address 0x8b48c20148e04573)>
num_threads = <error reading variable num_threads (Cannot access memory at address 0x8b48c20148e0456b)>
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment