Skip to content

Instantly share code, notes, and snippets.

@FROGGS

FROGGS/2.bash Secret

Last active December 30, 2015 03: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/f703c5e110204da6a54a to your computer and use it in GitHub Desktop.
Save FROGGS/f703c5e110204da6a54a to your computer and use it in GitHub Desktop.
Breakpoint 2, MVM_gc_collect (tc=0x6033e0, what_to_do=<optimized out>, gen=gen@entry=0 '\000') at src/gc/collect.c:73
73 process_worklist(tc, worklist, &wtp, gen);
(gdb) finish
Run till exit from #0 MVM_gc_collect (tc=0x6033e0, what_to_do=<optimized out>, gen=gen@entry=0 '\000') at src/gc/collect.c:73
run_gc (tc=tc@entry=0x6033e0, what_to_do=what_to_do@entry=0 '\000') at src/gc/orchestrate.c:267
267 for (i = 0, n = tc->gc_work_count ; i < n; i++) {
(gdb) finish
Run till exit from #0 run_gc (tc=tc@entry=0x6033e0, what_to_do=what_to_do@entry=0 '\000') at src/gc/orchestrate.c:267
MVM_gc_enter_from_allocator (tc=tc@entry=0x6033e0) at src/gc/orchestrate.c:380
380 }
(gdb) finish
Run till exit from #0 MVM_gc_enter_from_allocator (tc=tc@entry=0x6033e0) at src/gc/orchestrate.c:380
MVM_gc_allocate_nursery (tc=0x6033e0, size=64) at src/gc/allocation.c:29
29 while ((char *)tc->nursery_alloc + size >= (char *)tc->nursery_alloc_limit) {
(gdb) finish
Run till exit from #0 MVM_gc_allocate_nursery (tc=0x6033e0, size=64) at src/gc/allocation.c:29
0x00007ffff7a00ada in MVM_gc_allocate_object (tc=0x6033e0, st=0x78c708) at src/gc/allocation.c:84
84 MVMROOT(tc, st, {
Value returned is $2 = (void *) 0x7ffff6a4cd30
(gdb) finish
Run till exit from #0 0x00007ffff7a00ada in MVM_gc_allocate_object (tc=0x6033e0, st=0x78c708) at src/gc/allocation.c:84
MVM_interp_run (tc=tc@entry=0x6033e0, initial_invoke=initial_invoke@entry=0x7ffff7a30330 <toplevel_initial_invoke>, invoke_data=<optimized out>) at src/core/interp.c:1960
1960 GET_REG(cur_op, 0).o = obj;
Value returned is $3 = (MVMObject *) 0x7ffff6a4cd30
(gdb) finish
Run till exit from #0 MVM_interp_run (tc=tc@entry=0x6033e0, initial_invoke=initial_invoke@entry=0x7ffff7a30330 <toplevel_initial_invoke>, invoke_data=<optimized out>)
at src/core/interp.c:1960
Breakpoint 1, process_worklist (tc=tc@entry=0x6033e0, worklist=worklist@entry=0x53fa7f0, wtp=wtp@entry=0x7fffffffd910, gen=gen@entry=1 '\001') at src/gc/collect.c:198
198 MVM_panic(1, "Heap corruption detected: pointer %p to past fromspace", item);
(gdb) finish
Run till exit from #0 process_worklist (tc=tc@entry=0x6033e0, worklist=worklist@entry=0x53fa7f0, wtp=wtp@entry=0x7fffffffd910, gen=gen@entry=1 '\001') at src/gc/collect.c:198
Heap corruption detected: pointer 0x7ffff69fc650 to past fromspace
Program received signal SIGABRT, Aborted.
0x00007ffff7589f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) finish
Run till exit from #0 0x00007ffff7589f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
Breakpoint 1, process_worklist (tc=tc@entry=0x6033e0, worklist=worklist@entry=0x53faa10, wtp=wtp@entry=0x7fffffffd910, gen=gen@entry=1 '\001') at src/gc/collect.c:198
198 MVM_panic(1, "Heap corruption detected: pointer %p to past fromspace", item);
(gdb) p tc->instance->gc_seq_number
$1 = 180
(gdb) break /home/froggs/dev/MoarVM/src/gc/collect.c:72 if tc->instance->gc_seq_number == 179
Breakpoint 2 at 0x7ffff7a05bdb: file src/gc/collect.c, line 72.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/froggs/dev/rakudo/../nqp/install/bin/moar --crash --libpath=/home/froggs/dev/rakudo/../nqp/install/languages/nqp/lib ../nqp/nqp.moarvm --target=mbc --output=blib/Perl6/BOOTSTRAP.moarvm --encoding=utf8 --vmlibs=dynext/libperl6_ops_moar.so=Rakudo_ops_init src/gen/m-BOOTSTRAP.nqp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 2, MVM_gc_collect (tc=0x6033e0, what_to_do=<optimized out>, gen=gen@entry=0 '\000') at src/gc/collect.c:73
73 process_worklist(tc, worklist, &wtp, gen);
(gdb) bt full
#0 MVM_gc_collect (tc=0x6033e0, what_to_do=<optimized out>, gen=gen@entry=0 '\000') at src/gc/collect.c:73
fromspace = <optimized out>
tospace = <optimized out>
worklist = 0x500ca40
wtp = {num_target_threads = 0, target_work = 0x0}
#1 0x00007ffff79ffaec in run_gc (tc=tc@entry=0x6033e0, what_to_do=what_to_do@entry=0 '\000') at src/gc/orchestrate.c:272
other = <optimized out>
gen = 0 '\000'
i = <optimized out>
n = <optimized out>
#2 0x00007ffff7a00578 in MVM_gc_enter_from_allocator (tc=tc@entry=0x6033e0) at src/gc/orchestrate.c:367
last_starter = <optimized out>
num_threads = 0
#3 0x00007ffff7a008c8 in MVM_gc_allocate_nursery (tc=0x6033e0, size=64) at src/gc/allocation.c:32
allocated = <optimized out>
#4 0x00007ffff7a00a8a in MVM_gc_allocate_object (tc=0x6033e0, st=0x78c708) at src/gc/allocation.c:84
obj = <optimized out>
#5 0x00007ffff79e5387 in MVM_interp_run (tc=tc@entry=0x6033e0, initial_invoke=initial_invoke@entry=0x7ffff7a302e0 <toplevel_initial_invoke>, invoke_data=<optimized out>)
at src/core/interp.c:1959
type = <optimized out>
obj = <optimized out>
op = <optimized out>
cur_op = 0x7ffff7ed88b4 ""
bytecode_start = 0x7ffff7ed8892 "\214"
reg_base = 0x1701e50
cu = 0x1a20360
cur_callsite = 0x76fac0
#6 0x00007ffff7a3079c in MVM_vm_run_file (instance=0x603010, filename=0x7fffffffe1c4 "../nqp/nqp.moarvm") at src/moar.c:150
start_frame = <optimized out>
tc = 0x6033e0
cu = 0x7ffff68280c0
#7 0x0000000000400b90 in main (argc=9, argv=0x7fffffffdd88) at src/main.c:137
instance = 0x603010
input_file = <optimized out>
lib_path = <optimized out>
dump = <optimized out>
argi = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment