-
-
Save MasterDuke17/453236bf30ff65b88fd8b84409368975 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pg6 -e 'my @matrix[2;2] = [1,2],[3,4]; @matrix[<0>;0] for ^1000000' | |
================================================================================================ | |
This is Rakudo Perl 6 running in the GNU debugger, which often allows the user to generate useful back- | |
traces to debug or report issues in Rakudo, the MoarVM backend or the currently running code. | |
This Rakudo version is 2017.11.72.g.00632.edb.6 built on MoarVM version 2017.11.30.g.3.c.7.b.49.e.8.f, | |
running on arch (4.13.3.1.arch) / linux (4.14.3.1.ARCH) | |
Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help. | |
------------------------------------------------------------------------------------------------ | |
Reading symbols from /home/dan/Source/perl6/install/bin/moar...done. | |
.gdbinit: running app | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/usr/lib/libthread_db.so.1". | |
[New Thread 0x7ffff6310700 (LWP 6582)] | |
Thread 1 "moar" received signal SIGSEGV, Segmentation fault. | |
0x00007ffff76f329f in MVM_spesh_stats_gc_mark (tc=0x5555557bfb40, ss=0x7ffff022e050, worklist=0x5555558d97e0) at src/spesh/stats.c:670 | |
670 MVMSpeshStatsType *off_types = by_offset->type_tuples[l].arg_types; | |
MoarVM string pretty printer registered | |
moar-heap registered | |
diff-moar-heap registered | |
The program being debugged has been started already. | |
Start it from the beginning? (y or n) n | |
Program not restarted. | |
(gdb) bt | |
#0 0x00007ffff76f329f in MVM_spesh_stats_gc_mark (tc=0x5555557bfb40, ss=0x7ffff022e050, worklist=0x5555558d97e0) at src/spesh/stats.c:670 | |
#1 0x00007ffff76b6b41 in gc_mark (tc=0x5555557bfb40, st=0x55555579e380, data=0x55555836b1d8, worklist=0x5555558d97e0) at src/6model/reprs/MVMStaticFrameSpesh.c:28 | |
#2 0x00007ffff76621e5 in MVM_gc_mark_collectable (tc=0x5555557bfb40, worklist=0x5555558d97e0, new_addr=0x55555836b1c0) at src/gc/collect.c:428 | |
#3 0x00007ffff765f521 in MVM_gc_root_add_gen2s_to_worklist (tc=0x5555557bfb40, worklist=0x5555558d97e0) at src/gc/roots.c:302 | |
#4 0x00007ffff7660af1 in MVM_gc_collect (tc=0x5555557bfb40, what_to_do=1 '\001', gen=0 '\000') at src/gc/collect.c:155 | |
#5 0x00007ffff765b86e in run_gc (tc=0x555555758c40, what_to_do=0 '\000') at src/gc/orchestrate.c:369 | |
#6 0x00007ffff765bcd9 in MVM_gc_enter_from_allocator (tc=0x555555758c40) at src/gc/orchestrate.c:486 | |
#7 0x00007ffff765c19f in MVM_gc_allocate_nursery (tc=0x555555758c40, size=56) at src/gc/allocation.c:32 | |
#8 0x00007ffff765c0a2 in MVM_gc_allocate (tc=0x555555758c40, size=56) at src/gc/allocation.h:13 | |
#9 0x00007ffff765c21f in MVM_gc_allocate_zeroed (tc=0x555555758c40, size=56) at src/gc/allocation.c:49 | |
#10 0x00007ffff42df4f1 in ?? () | |
#11 0x00005555557f9d78 in ?? () | |
#12 0x00000008ffffffff in ?? () | |
#13 0x000055555575a120 in ?? () | |
#14 0x0000555555758c40 in ?? () | |
#15 0x0000555555759a70 in ?? () | |
#16 0x00005555557f9d78 in ?? () | |
#17 0x00007fffffffcef0 in ?? () | |
#18 0x00007ffff7652593 in MVM_fixed_size_free (tc=0x555555ff0530, al=0x7fff0002309a, bytes=93825003357488, to_free=0x7fffefad4b18) at src/core/fixedsizealloc.c:305 | |
#19 0x00007ffff773e00c in MVM_jit_enter_code (tc=0x555555758c40, cu=0x555555e04170, code=0x7ffff03a7eb0) at src/jit/compile.c:335 | |
#20 0x00007ffff762c3a6 in MVM_interp_run (tc=0x555555758c40, initial_invoke=0x7ffff772d2bd <toplevel_initial_invoke>, invoke_data=0x5555557c1860) at src/core/interp.c:5729 | |
#21 0x00007ffff772d422 in MVM_vm_run_file (instance=0x555555758260, filename=0x7fffffffebc9 "/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm") at src/moar.c:401 | |
#22 0x00005555555557e7 in main (argc=8, argv=0x7fffffffe7e8) at src/main.c:256 | |
(gdb) info threads | |
Id Target Id Frame | |
* 1 Thread 0x7ffff7f9b680 (LWP 6578) "moar" 0x00007ffff76f329f in MVM_spesh_stats_gc_mark (tc=0x5555557bfb40, ss=0x7ffff022e050, worklist=0x5555558d97e0) at src/spesh/stats.c:670 | |
2 Thread 0x7ffff6310700 (LWP 6582) "moar" 0x00007ffff6b2b38d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 | |
(gdb) r | |
The program being debugged has been started already. | |
Start it from the beginning? (y or n) y | |
Starting program: /home/dan/Source/perl6/install/bin/moar --execname=/home/dan/Source/perl6/install/bin/perl6-gdb-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm -e my\ @matrix\[2\;2\]\ =\ \[1,2\],\[3,4\]\;\ @matrix\[\<0\>\;0\]\ for\ \^1000000 | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/usr/lib/libthread_db.so.1". | |
[New Thread 0x7ffff6310700 (LWP 7431)] | |
*** Error in `/home/dan/Source/perl6/install/bin/moar': free(): invalid pointer: 0x00007ffff039f4f0 *** | |
Thread 2 "moar" received signal SIGABRT, Aborted. | |
[Switching to Thread 0x7ffff6310700 (LWP 7431)] | |
0x00007ffff70bc8a0 in raise () from /usr/lib/libc.so.6 | |
(gdb) bt | |
#0 0x00007ffff70bc8a0 in raise () from /usr/lib/libc.so.6 | |
#1 0x00007ffff70bdf09 in abort () from /usr/lib/libc.so.6 | |
#2 0x00007ffff70ff517 in __libc_message () from /usr/lib/libc.so.6 | |
#3 0x00007ffff7105c84 in malloc_printerr () from /usr/lib/libc.so.6 | |
#4 0x00007ffff7107599 in _int_free () from /usr/lib/libc.so.6 | |
#5 0x00007ffff76f0c2e in MVM_free (p=0x7ffff039f4f0) at src/core/alloc.h:40 | |
#6 0x00007ffff76f39cd in MVM_spesh_stats_destroy (tc=0x5555557bfb40, ss=0x7ffff0227910) at src/spesh/stats.c:741 | |
#7 0x00007ffff76f2e25 in MVM_spesh_stats_cleanup (tc=0x5555557bfb40, check_frames=0x7ffff044b1b0) at src/spesh/stats.c:641 | |
#8 0x00007ffff76f07c7 in worker (tc=0x5555557bfb40, callsite=0x7ffff7d746a0 <null_args_callsite>, args=0x0) at src/spesh/worker.c:13 | |
#9 0x00007ffff76873f6 in invoke_handler (tc=0x5555557bfb40, invokee=0x5555557b2820, callsite=0x7ffff7d746a0 <null_args_callsite>, args=0x0) at src/6model/reprs/MVMCFunction.c:9 | |
#10 0x00007ffff763deff in thread_initial_invoke (tc=0x5555557bfb40, data=0x5555557c0f40) at src/core/threads.c:59 | |
#11 0x00007ffff760033a in MVM_interp_run (tc=0x5555557bfb40, initial_invoke=0x7ffff763de74 <thread_initial_invoke>, invoke_data=0x5555557c0f40) at src/core/interp.c:93 | |
#12 0x00007ffff763dfb3 in start_thread (data=0x5555557c0f40) at src/core/threads.c:85 | |
#13 0x00007ffff6b2508a in start_thread () from /usr/lib/libpthread.so.0 | |
#14 0x00007ffff717e47f in clone () from /usr/lib/libc.so.6 | |
(gdb) info threads | |
Id Target Id Frame | |
1 Thread 0x7ffff7f9b680 (LWP 7430) "moar" MVM_interp_run (tc=0x555555758c40, initial_invoke=0x7ffff772d2bd <toplevel_initial_invoke>, invoke_data=0x5555557c1860) at src/core/interp.c:5734 | |
* 2 Thread 0x7ffff6310700 (LWP 7431) "moar" 0x00007ffff70bc8a0 in raise () from /usr/lib/libc.so.6 | |
(gdb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pv6 -e 'my @matrix[2;2] = [1,2],[3,4]; @matrix[<0>;0] for ^1000000' | |
================================================================================================ | |
This is Rakudo Perl 6 running in valgrind, a tool for debugging and profiling programs. | |
Running a program in valgrind usually takes *a lot* more time than running it directly, | |
so please be patient. | |
Valgrind options can be added with MVM_VALGRIND_OPTS environment variable. | |
This Rakudo version is 2017.11.72.g.00632.edb.6 built on MoarVM version 2017.11.28.gba.1.fb.9542, | |
running on arch (4.13.3.1.arch) / linux (4.14.3.1.ARCH) | |
------------------------------------------------------------------------------------------------ | |
==32368== Memcheck, a memory error detector | |
==32368== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
==32368== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info | |
==32368== Command: /home/dan/Source/perl6/install/bin/moar --execname=/home/dan/Source/perl6/install/bin/perl6-valgrind-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm -e my\ @matrix[2;2]\ =\ [1,2],[3,4];\ @matrix[\<0\>;0]\ for\ ^1000000 | |
==32368== | |
==32368== Thread 2: | |
==32368== Invalid read of size 8 | |
==32368== at 0x50E9987: live_range_spill (linear_scan.c:718) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== Address 0xb90e920 is 144 bytes inside a block of size 1,872 free'd | |
==32368== at 0x4C2F13F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50E90CC: MVM_realloc (alloc.h:20) | |
==32368== by 0x50E90CC: live_range_init (linear_scan.c:141) | |
==32368== by 0x50E9A74: insert_load_before_use (linear_scan.c:678) | |
==32368== by 0x50E9A74: live_range_spill (linear_scan.c:734) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== Block was alloc'd at | |
==32368== at 0x4C2EF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50EB38A: MVM_calloc (alloc.h:11) | |
==32368== by 0x50EB38A: determine_live_ranges (linear_scan.c:510) | |
==32368== by 0x50EB38A: MVM_jit_linear_scan_allocate (linear_scan.c:1105) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== | |
==32368== Invalid write of size 8 | |
==32368== at 0x50E9894: live_range_spill (linear_scan.c:723) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== Address 0xb90e920 is 144 bytes inside a block of size 1,872 free'd | |
==32368== at 0x4C2F13F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50E90CC: MVM_realloc (alloc.h:20) | |
==32368== by 0x50E90CC: live_range_init (linear_scan.c:141) | |
==32368== by 0x50E9A74: insert_load_before_use (linear_scan.c:678) | |
==32368== by 0x50E9A74: live_range_spill (linear_scan.c:734) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== Block was alloc'd at | |
==32368== at 0x4C2EF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50EB38A: MVM_calloc (alloc.h:11) | |
==32368== by 0x50EB38A: determine_live_ranges (linear_scan.c:510) | |
==32368== by 0x50EB38A: MVM_jit_linear_scan_allocate (linear_scan.c:1105) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== | |
==32368== Invalid read of size 8 | |
==32368== at 0x50E9878: live_range_spill (linear_scan.c:718) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== Address 0xb90e920 is 144 bytes inside a block of size 1,872 free'd | |
==32368== at 0x4C2F13F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50E90CC: MVM_realloc (alloc.h:20) | |
==32368== by 0x50E90CC: live_range_init (linear_scan.c:141) | |
==32368== by 0x50E9A74: insert_load_before_use (linear_scan.c:678) | |
==32368== by 0x50E9A74: live_range_spill (linear_scan.c:734) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== Block was alloc'd at | |
==32368== at 0x4C2EF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50EB38A: MVM_calloc (alloc.h:11) | |
==32368== by 0x50EB38A: determine_live_ranges (linear_scan.c:510) | |
==32368== by 0x50EB38A: MVM_jit_linear_scan_allocate (linear_scan.c:1105) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== | |
==32368== Invalid write of size 4 | |
==32368== at 0x50E99A8: live_range_spill (linear_scan.c:750) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== Address 0xb90e960 is 208 bytes inside a block of size 1,872 free'd | |
==32368== at 0x4C2F13F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50E90CC: MVM_realloc (alloc.h:20) | |
==32368== by 0x50E90CC: live_range_init (linear_scan.c:141) | |
==32368== by 0x50E9A74: insert_load_before_use (linear_scan.c:678) | |
==32368== by 0x50E9A74: live_range_spill (linear_scan.c:734) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== Block was alloc'd at | |
==32368== at 0x4C2EF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50EB38A: MVM_calloc (alloc.h:11) | |
==32368== by 0x50EB38A: determine_live_ranges (linear_scan.c:510) | |
==32368== by 0x50EB38A: MVM_jit_linear_scan_allocate (linear_scan.c:1105) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== | |
==32368== Invalid write of size 4 | |
==32368== at 0x50E99AF: live_range_spill (linear_scan.c:751) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== Address 0xb90e964 is 212 bytes inside a block of size 1,872 free'd | |
==32368== at 0x4C2F13F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50E90CC: MVM_realloc (alloc.h:20) | |
==32368== by 0x50E90CC: live_range_init (linear_scan.c:141) | |
==32368== by 0x50E9A74: insert_load_before_use (linear_scan.c:678) | |
==32368== by 0x50E9A74: live_range_spill (linear_scan.c:734) | |
==32368== by 0x50E9E63: prepare_arglist_and_call (linear_scan.c:819) | |
==32368== by 0x50EB2C0: process_tile (linear_scan.c:1023) | |
==32368== by 0x50EB2C0: linear_scan (linear_scan.c:1051) | |
==32368== by 0x50EB2C0: MVM_jit_linear_scan_allocate (linear_scan.c:1106) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== Block was alloc'd at | |
==32368== at 0x4C2EF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32368== by 0x50EB38A: MVM_calloc (alloc.h:11) | |
==32368== by 0x50EB38A: determine_live_ranges (linear_scan.c:510) | |
==32368== by 0x50EB38A: MVM_jit_linear_scan_allocate (linear_scan.c:1105) | |
==32368== by 0x50E1E14: MVM_jit_compile_expr_tree (compile.c:264) | |
==32368== by 0x50E1FB1: MVM_jit_compile_graph (compile.c:82) | |
==32368== by 0x5089249: MVM_spesh_candidate_add (candidate.c:96) | |
==32368== by 0x5096898: worker (worker.c:13) | |
==32368== by 0x501ABE0: thread_initial_invoke (threads.c:59) | |
==32368== by 0x4FF76ED: MVM_interp_run (interp.c:93) | |
==32368== by 0x501AC5D: start_thread (threads.c:85) | |
==32368== by 0x5E61089: start_thread (in /usr/lib/libpthread-2.26.so) | |
==32368== by 0x584C47E: clone (in /usr/lib/libc-2.26.so) | |
==32368== | |
==32368== | |
==32368== HEAP SUMMARY: | |
==32368== in use at exit: 58,350,726 bytes in 202,926 blocks | |
==32368== total heap usage: 2,284,343 allocs, 2,081,417 frees, 1,023,328,259 bytes allocated | |
==32368== | |
==32368== LEAK SUMMARY: | |
==32368== definitely lost: 30,048 bytes in 794 blocks | |
==32368== indirectly lost: 0 bytes in 0 blocks | |
==32368== possibly lost: 198,848 bytes in 3,550 blocks | |
==32368== still reachable: 58,121,830 bytes in 198,582 blocks | |
==32368== suppressed: 0 bytes in 0 blocks | |
==32368== Rerun with --leak-check=full to see details of leaked memory | |
==32368== | |
==32368== For counts of detected and suppressed errors, rerun with: -v | |
==32368== ERROR SUMMARY: 14 errors from 5 contexts (suppressed: 0 from 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment