Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active April 12, 2019 02:33
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 MasterDuke17/11f340ab08c4e055da1ac5996c343c8e to your computer and use it in GitHub Desktop.
Save MasterDuke17/11f340ab08c4e055da1ac5996c343c8e to your computer and use it in GitHub Desktop.
[dan@alexandria p6]$ MVM_JIT_DISABLE=1 pv6 9.p6 >master2.log
==30125== Memcheck, a memory error detector
==30125== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==30125== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==30125== Command: /home/dan/Source/perl6/install/bin/perl6-m 9.p6
==30125==
==30125== Thread 5:
==30125== Invalid write of size 8
==30125== at 0x4BEF983: uv__finish_close (core.c:276)
==30125== by 0x4BEF983: uv__run_closing_handles (core.c:293)
==30125== by 0x4BEF983: uv_run (core.c:363)
==30125== by 0x4A9F81F: enter_loop (eventloop.c:90)
==30125== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30125== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30125== by 0x4A234B1: MVM_interp_run (interp.c:128)
==30125== by 0x4A65285: start_thread (threads.c:87)
==30125== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30125== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30125== Address 0xc1a10c0 is 880 bytes inside a block of size 1,016 free'd
==30125== at 0x48389AB: free (vg_replace_malloc.c:530)
==30125== by 0x4A7B037: MVM_free (alloc.h:40)
==30125== by 0x4A7C1BD: MVM_fixed_size_free (fixedsizealloc.c:308)
==30125== by 0x4A5BA3F: remove_one_frame (frame.c:875)
==30125== by 0x4A5C035: MVM_frame_try_return (frame.c:1010)
==30125== by 0x4A25F6D: MVM_interp_run (interp.c:531)
==30125== by 0x4BA6B37: MVM_vm_run_file (moar.c:444)
==30125== by 0x1098C2: main (main.c:343)
==30125== Block was alloc'd at
==30125== at 0x483777F: malloc (vg_replace_malloc.c:299)
==30125== by 0x4A7AF76: MVM_malloc (alloc.h:2)
==30125== by 0x4A7BDA2: MVM_fixed_size_alloc (fixedsizealloc.c:194)
==30125== by 0x4A5A1F9: allocate_frame (frame.c:300)
==30125== by 0x4A5AC83: MVM_frame_invoke (frame.c:515)
==30125== by 0x4ACBAB7: invoke_handler (MVMCode.c:10)
==30125== by 0x4A2A323: MVM_interp_run (interp.c:1036)
==30125== by 0x4BA6B37: MVM_vm_run_file (moar.c:444)
==30125== by 0x1098C2: main (main.c:343)
==30125==
==30125== Invalid write of size 8
==30125== at 0x4BEF978: uv__finish_close (core.c:276)
==30125== by 0x4BEF978: uv__run_closing_handles (core.c:293)
==30125== by 0x4BEF978: uv_run (core.c:363)
==30125== by 0x4A9F81F: enter_loop (eventloop.c:90)
==30125== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30125== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30125== by 0x4A234B1: MVM_interp_run (interp.c:128)
==30125== by 0x4A65285: start_thread (threads.c:87)
==30125== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30125== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30125== Address 0xb8eeea8 is 0 bytes after a block of size 40 alloc'd
==30125== at 0x483777F: malloc (vg_replace_malloc.c:299)
==30125== by 0x4AEAB43: MVM_malloc (alloc.h:2)
==30125== by 0x4AEAD28: initialize_mutex (ReentrantMutex.c:9)
==30125== by 0x4AEAE64: initialize (ReentrantMutex.c:31)
==30125== by 0x4A3044D: MVM_interp_run (interp.c:1852)
==30125== by 0x4BA6B37: MVM_vm_run_file (moar.c:444)
==30125== by 0x1098C2: main (main.c:343)
==30125==
==30125== Thread 4:
==30125== Conditional jump or move depends on uninitialised value(s)
==30125== at 0x4AF81E0: gc_mark (MVMStaticFrameSpesh.c:34)
==30125== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30125== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30125== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30125== by 0x4A915CB: run_gc (orchestrate.c:409)
==30125== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30125== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30125== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30125== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30125== by 0x4A925A2: MVM_gc_allocate_frame (allocation.c:102)
==30125== by 0x4A59FE4: allocate_frame (frame.c:250)
==30125== by 0x4A5AB22: MVM_frame_invoke (frame.c:494)
==30125==
==30125== Invalid read of size 8
==30125== at 0x4AF81DA: gc_mark (MVMStaticFrameSpesh.c:34)
==30125== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30125== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30125== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30125== by 0x4A915CB: run_gc (orchestrate.c:409)
==30125== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30125== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30125== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30125== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30125== by 0x4A925A2: MVM_gc_allocate_frame (allocation.c:102)
==30125== by 0x4A59FE4: allocate_frame (frame.c:250)
==30125== by 0x4A5AB22: MVM_frame_invoke (frame.c:494)
==30125== Address 0x918e680 is 0 bytes after a block of size 128 alloc'd
==30125== at 0x4839D7B: realloc (vg_replace_malloc.c:826)
==30125== by 0x4B2344D: MVM_realloc (alloc.h:20)
==30125== by 0x4B23C20: MVM_spesh_add_spesh_slot (optimize.c:116)
==30125== by 0x4AC8C55: spesh (P6opaque.c:1454)
==30125== by 0x4B26137: optimize_repr_op (optimize.c:938)
==30125== by 0x4B2BB42: optimize_bb_switch (optimize.c:2809)
==30125== by 0x4B2C015: optimize_bb (optimize.c:2941)
==30125== by 0x4B2D456: MVM_spesh_optimize (optimize.c:3308)
==30125== by 0x4B189A3: MVM_spesh_candidate_add (candidate.c:85)
==30125== by 0x4B37202: worker (worker.c:16)
==30125== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30125== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30125==
==30125== Invalid read of size 8
==30125== at 0x4AF81F2: gc_mark (MVMStaticFrameSpesh.c:34)
==30125== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30125== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30125== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30125== by 0x4A915CB: run_gc (orchestrate.c:409)
==30125== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30125== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30125== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30125== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30125== by 0x4A925A2: MVM_gc_allocate_frame (allocation.c:102)
==30125== by 0x4A59FE4: allocate_frame (frame.c:250)
==30125== by 0x4A5AB22: MVM_frame_invoke (frame.c:494)
==30125== Address 0x918e688 is 8 bytes after a block of size 128 alloc'd
==30125== at 0x4839D7B: realloc (vg_replace_malloc.c:826)
==30125== by 0x4B2344D: MVM_realloc (alloc.h:20)
==30125== by 0x4B23C20: MVM_spesh_add_spesh_slot (optimize.c:116)
==30125== by 0x4AC8C55: spesh (P6opaque.c:1454)
==30125== by 0x4B26137: optimize_repr_op (optimize.c:938)
==30125== by 0x4B2BB42: optimize_bb_switch (optimize.c:2809)
==30125== by 0x4B2C015: optimize_bb (optimize.c:2941)
==30125== by 0x4B2D456: MVM_spesh_optimize (optimize.c:3308)
==30125== by 0x4B189A3: MVM_spesh_candidate_add (candidate.c:85)
==30125== by 0x4B37202: worker (worker.c:16)
==30125== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30125== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30125==
==30125== Invalid read of size 2
==30125== at 0x4AF81F5: gc_mark (MVMStaticFrameSpesh.c:34)
==30125== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30125== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30125== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30125== by 0x4A915CB: run_gc (orchestrate.c:409)
==30125== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30125== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30125== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30125== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30125== by 0x4A925A2: MVM_gc_allocate_frame (allocation.c:102)
==30125== by 0x4A59FE4: allocate_frame (frame.c:250)
==30125== by 0x4A5AB22: MVM_frame_invoke (frame.c:494)
==30125== Address 0x2990000000c is not stack'd, malloc'd or (recently) free'd
==30125==
==30125==
==30125== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==30125== Access not within mapped region at address 0x2990000000C
==30125== at 0x4AF81F5: gc_mark (MVMStaticFrameSpesh.c:34)
==30125== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30125== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30125== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30125== by 0x4A915CB: run_gc (orchestrate.c:409)
==30125== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30125== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30125== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30125== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30125== by 0x4A925A2: MVM_gc_allocate_frame (allocation.c:102)
==30125== by 0x4A59FE4: allocate_frame (frame.c:250)
==30125== by 0x4A5AB22: MVM_frame_invoke (frame.c:494)
==30125== If you believe this happened as a result of a stack
==30125== overflow in your program's main thread (unlikely but
==30125== possible), you can try to increase the size of the
==30125== main thread stack using the --main-stacksize= flag.
==30125== The main thread stack size used in this run was 8388608.
==30125==
==30125== HEAP SUMMARY:
==30125== in use at exit: 148,238,182 bytes in 219,930 blocks
==30125== total heap usage: 625,607 allocs, 252,908 frees, 291,860,022 bytes allocated
==30125==
Memcheck: mc_main.c:5761 (vgMemCheck_is_valid_aligned_word): Assertion 'VG_IS_WORD_ALIGNED(a)' failed.
host stacktrace:
==30125== at 0x58048114: show_sched_status_wrk (m_libcassert.c:369)
==30125== by 0x58048227: report_and_quit (m_libcassert.c:440)
==30125== by 0x580483B9: vgPlain_assert_fail (m_libcassert.c:506)
==30125== by 0x58012C29: vgMemCheck_is_valid_aligned_word (mc_main.c:5761)
==30125== by 0x580017A8: heuristic_reachedness.isra.3 (mc_leakcheck.c:782)
==30125== by 0x58001C77: lc_push_without_clique_if_a_chunk_ptr (mc_leakcheck.c:915)
==30125== by 0x5800240D: lc_push_if_a_chunk_ptr (mc_leakcheck.c:1000)
==30125== by 0x5800240D: lc_scan_memory (mc_leakcheck.c:1170)
==30125== by 0x58002820: scan_memory_root_set (mc_leakcheck.c:1967)
==30125== by 0x58004868: vgMemCheck_detect_memory_leaks (mc_leakcheck.c:2176)
==30125== by 0x58007B0E: mc_fini (mc_main.c:8003)
==30125== by 0x580B9FE5: shutdown_actions_NORETURN (m_main.c:2149)
==30125== by 0x580F58E3: run_a_thread_NORETURN (syswrap-linux.c:203)
==30125== by 0x580F5A8A: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:320)
==30125== by 0x580B853D: ??? (in /usr/lib/valgrind/memcheck-amd64-linux)
==30125== by 0xDEADBEEFDEADBEEE: ???
==30125== by 0xDEADBEEFDEADBEEE: ???
==30125== by 0xDEADBEEFDEADBEEE: ???
sched status:
running_tid=4
Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.
If that doesn't help, please report this bug to: www.valgrind.org
In the bug report, send all the above text, the valgrind
version, and what OS and version you are using. Thanks.
[dan@alexandria p6]$ MVM_JIT_DISABLE=1 pv6 9.p6 >master2.log
==30921== Memcheck, a memory error detector
==30921== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==30921== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==30921== Command: /home/dan/Source/perl6/install/bin/perl6-m 9.p6
==30921==
==30921== Thread 5:
==30921== Invalid write of size 8
==30921== at 0x4BEF983: uv__finish_close (core.c:276)
==30921== by 0x4BEF983: uv__run_closing_handles (core.c:293)
==30921== by 0x4BEF983: uv_run (core.c:363)
==30921== by 0x4A9F81F: enter_loop (eventloop.c:90)
==30921== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30921== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30921== by 0x4A234B1: MVM_interp_run (interp.c:128)
==30921== by 0x4A65285: start_thread (threads.c:87)
==30921== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30921== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30921== Address 0x108071a0 is 48 bytes inside a block of size 848 free'd
==30921== at 0x48389AB: free (vg_replace_malloc.c:530)
==30921== by 0x4A7B037: MVM_free (alloc.h:40)
==30921== by 0x4A7C1BD: MVM_fixed_size_free (fixedsizealloc.c:308)
==30921== by 0x4A5BA3F: remove_one_frame (frame.c:875)
==30921== by 0x4A5C035: MVM_frame_try_return (frame.c:1010)
==30921== by 0x4A26004: MVM_interp_run (interp.c:539)
==30921== by 0x4A65285: start_thread (threads.c:87)
==30921== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30921== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30921== Block was alloc'd at
==30921== at 0x483777F: malloc (vg_replace_malloc.c:299)
==30921== by 0x4A7AF76: MVM_malloc (alloc.h:2)
==30921== by 0x4A7BDA2: MVM_fixed_size_alloc (fixedsizealloc.c:194)
==30921== by 0x4A7BDCF: MVM_fixed_size_alloc_zeroed (fixedsizealloc.c:201)
==30921== by 0x4A5A1C8: allocate_frame (frame.c:296)
==30921== by 0x4A5AB22: MVM_frame_invoke (frame.c:494)
==30921== by 0x4A4F151: MVM_interp_run (interp.c:5754)
==30921== by 0x4A65285: start_thread (threads.c:87)
==30921== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30921== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30921==
==30921== Invalid write of size 8
==30921== at 0x4BEF978: uv__finish_close (core.c:276)
==30921== by 0x4BEF978: uv__run_closing_handles (core.c:293)
==30921== by 0x4BEF978: uv_run (core.c:363)
==30921== by 0x4A9F81F: enter_loop (eventloop.c:90)
==30921== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30921== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30921== by 0x4A234B1: MVM_interp_run (interp.c:128)
==30921== by 0x4A65285: start_thread (threads.c:87)
==30921== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30921== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30921== Address 0x10807708 is 40 bytes inside a block of size 1,488 free'd
==30921== at 0x48389AB: free (vg_replace_malloc.c:530)
==30921== by 0x4B10883: MVM_free (alloc.h:40)
==30921== by 0x4B137FA: build_cfg (graph.c:738)
==30921== by 0x4B15568: MVM_spesh_graph_create (graph.c:1296)
==30921== by 0x4B31719: MVM_spesh_inline_try_get_graph_from_unspecialized (inline.c:294)
==30921== by 0x4B29732: optimize_call (optimize.c:2067)
==30921== by 0x4B2B80B: optimize_bb_switch (optimize.c:2688)
==30921== by 0x4B2C015: optimize_bb (optimize.c:2941)
==30921== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30921== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30921== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30921== by 0x4B2D456: MVM_spesh_optimize (optimize.c:3308)
==30921== Block was alloc'd at
==30921== at 0x4839B65: calloc (vg_replace_malloc.c:752)
==30921== by 0x4B10802: MVM_calloc (alloc.h:11)
==30921== by 0x4B10F47: build_cfg (graph.c:146)
==30921== by 0x4B15568: MVM_spesh_graph_create (graph.c:1296)
==30921== by 0x4B31719: MVM_spesh_inline_try_get_graph_from_unspecialized (inline.c:294)
==30921== by 0x4B29732: optimize_call (optimize.c:2067)
==30921== by 0x4B2B80B: optimize_bb_switch (optimize.c:2688)
==30921== by 0x4B2C015: optimize_bb (optimize.c:2941)
==30921== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30921== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30921== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30921== by 0x4B2D456: MVM_spesh_optimize (optimize.c:3308)
==30921==
==30921== Thread 4:
==30921== Conditional jump or move depends on uninitialised value(s)
==30921== at 0x4AF81E0: gc_mark (MVMStaticFrameSpesh.c:34)
==30921== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30921== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30921== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30921== by 0x4A915CB: run_gc (orchestrate.c:409)
==30921== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30921== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30921== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30921== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30921== by 0x4A92501: MVM_gc_allocate_object (allocation.c:89)
==30921== by 0x4A5C938: MVM_frame_takeclosure (frame.c:1192)
==30921== by 0x4A2B599: MVM_interp_run (interp.c:1220)
==30921==
==30921== Use of uninitialised value of size 8
==30921== at 0x4AF81F5: gc_mark (MVMStaticFrameSpesh.c:34)
==30921== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30921== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30921== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30921== by 0x4A915CB: run_gc (orchestrate.c:409)
==30921== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30921== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30921== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30921== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30921== by 0x4A92501: MVM_gc_allocate_object (allocation.c:89)
==30921== by 0x4A5C938: MVM_frame_takeclosure (frame.c:1192)
==30921== by 0x4A2B599: MVM_interp_run (interp.c:1220)
==30921==
==30921== Invalid read of size 2
==30921== at 0x4AF81F5: gc_mark (MVMStaticFrameSpesh.c:34)
==30921== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30921== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30921== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30921== by 0x4A915CB: run_gc (orchestrate.c:409)
==30921== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30921== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30921== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30921== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30921== by 0x4A92501: MVM_gc_allocate_object (allocation.c:89)
==30921== by 0x4A5C938: MVM_frame_takeclosure (frame.c:1192)
==30921== by 0x4A2B599: MVM_interp_run (interp.c:1220)
==30921== Address 0x100000280 is not stack'd, malloc'd or (recently) free'd
==30921==
==30921==
==30921== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==30921== Access not within mapped region at address 0x100000280
==30921== at 0x4AF81F5: gc_mark (MVMStaticFrameSpesh.c:34)
==30921== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==30921== by 0x4A95D50: MVM_gc_root_add_gen2s_to_worklist (roots.c:325)
==30921== by 0x4A974B5: MVM_gc_collect (collect.c:155)
==30921== by 0x4A915CB: run_gc (orchestrate.c:409)
==30921== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30921== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30921== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30921== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30921== by 0x4A92501: MVM_gc_allocate_object (allocation.c:89)
==30921== by 0x4A5C938: MVM_frame_takeclosure (frame.c:1192)
==30921== by 0x4A2B599: MVM_interp_run (interp.c:1220)
==30921== If you believe this happened as a result of a stack
==30921== overflow in your program's main thread (unlikely but
==30921== possible), you can try to increase the size of the
==30921== main thread stack using the --main-stacksize= flag.
==30921== The main thread stack size used in this run was 8388608.
==30921==
==30921== HEAP SUMMARY:
==30921== in use at exit: 153,292,604 bytes in 219,703 blocks
==30921== total heap usage: 588,123 allocs, 216,419 frees, 280,001,274 bytes allocated
==30921==
Memcheck: mc_main.c:5761 (vgMemCheck_is_valid_aligned_word): Assertion 'VG_IS_WORD_ALIGNED(a)' failed.
host stacktrace:
==30921== at 0x58048114: show_sched_status_wrk (m_libcassert.c:369)
==30921== by 0x58048227: report_and_quit (m_libcassert.c:440)
==30921== by 0x580483B9: vgPlain_assert_fail (m_libcassert.c:506)
==30921== by 0x58012C29: vgMemCheck_is_valid_aligned_word (mc_main.c:5761)
==30921== by 0x580017A8: heuristic_reachedness.isra.3 (mc_leakcheck.c:782)
==30921== by 0x58001C77: lc_push_without_clique_if_a_chunk_ptr (mc_leakcheck.c:915)
==30921== by 0x5800240D: lc_push_if_a_chunk_ptr (mc_leakcheck.c:1000)
==30921== by 0x5800240D: lc_scan_memory (mc_leakcheck.c:1170)
==30921== by 0x58002820: scan_memory_root_set (mc_leakcheck.c:1967)
==30921== by 0x58004868: vgMemCheck_detect_memory_leaks (mc_leakcheck.c:2176)
==30921== by 0x58007B0E: mc_fini (mc_main.c:8003)
==30921== by 0x580B9FE5: shutdown_actions_NORETURN (m_main.c:2149)
==30921== by 0x580F58E3: run_a_thread_NORETURN (syswrap-linux.c:203)
==30921== by 0x580F5A8A: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:320)
==30921== by 0x580B853D: ??? (in /usr/lib/valgrind/memcheck-amd64-linux)
==30921== by 0xDEADBEEFDEADBEEE: ???
==30921== by 0xDEADBEEFDEADBEEE: ???
==30921== by 0xDEADBEEFDEADBEEE: ???
sched status:
running_tid=4
Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.
If that doesn't help, please report this bug to: www.valgrind.org
In the bug report, send all the above text, the valgrind
version, and what OS and version you are using. Thanks.
[dan@alexandria p6]$ MVM_JIT_DISABLE=1 pv6 9.p6 >master.log
==29582== Memcheck, a memory error detector
==29582== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29582== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==29582== Command: /home/dan/Source/perl6/install/bin/perl6-m 9.p6
==29582==
==29582== Thread 5:
==29582== Invalid write of size 8
==29582== at 0x4BEF983: uv__finish_close (core.c:276)
==29582== by 0x4BEF983: uv__run_closing_handles (core.c:293)
==29582== by 0x4BEF983: uv_run (core.c:363)
==29582== by 0x4A9F81F: enter_loop (eventloop.c:90)
==29582== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==29582== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==29582== by 0x4A234B1: MVM_interp_run (interp.c:128)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==29582== Address 0xd25fb10 is 0 bytes inside a block of size 256 free'd
==29582== at 0x48389AB: free (vg_replace_malloc.c:530)
==29582== by 0x4B37B47: MVM_free (alloc.h:40)
==29582== by 0x4B3902E: incorporate_stats (stats.c:386)
==29582== by 0x4B39171: sim_stack_pop (stats.c:409)
==29582== by 0x4B391F7: sim_stack_find (stats.c:427)
==29582== by 0x4B39B6E: MVM_spesh_stats_update (stats.c:601)
==29582== by 0x4B36F55: worker (worker.c:16)
==29582== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==29582== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==29582== by 0x4A234B1: MVM_interp_run (interp.c:128)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== Block was alloc'd at
==29582== at 0x48376AF: malloc (vg_replace_malloc.c:298)
==29582== by 0x4839DE7: realloc (vg_replace_malloc.c:826)
==29582== by 0x4B37B0B: MVM_realloc (alloc.h:20)
==29582== by 0x4B39BE0: MVM_spesh_stats_update (stats.c:605)
==29582== by 0x4B36F55: worker (worker.c:16)
==29582== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==29582== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==29582== by 0x4A234B1: MVM_interp_run (interp.c:128)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==29582==
==29582== Invalid write of size 8
==29582== at 0x4BEF978: uv__finish_close (core.c:276)
==29582== by 0x4BEF978: uv__run_closing_handles (core.c:293)
==29582== by 0x4BEF978: uv_run (core.c:363)
==29582== by 0x4A9F81F: enter_loop (eventloop.c:90)
==29582== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==29582== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==29582== by 0x4A234B1: MVM_interp_run (interp.c:128)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==29582== Address 0xeecc4f8 is 24 bytes before a block of size 72 alloc'd
==29582== at 0x483777F: malloc (vg_replace_malloc.c:299)
==29582== by 0x4B51316: MVM_malloc (alloc.h:2)
==29582== by 0x4B52451: allocate_strands (ops.c:166)
==29582== by 0x4B54F59: MVM_string_concatenate (ops.c:903)
==29582== by 0x4AA8020: MVM_proc_spawn_async (procops.c:960)
==29582== by 0x4A43BA1: MVM_interp_run (interp.c:4339)
==29582== by 0x4BA6B37: MVM_vm_run_file (moar.c:444)
==29582== by 0x1098C2: main (main.c:343)
==29582==
valgrind: m_mallocfree.c:307 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed.
valgrind: Heap block lo/hi size mismatch: lo = 80, hi = 191709880.
This is probably caused by your program erroneously writing past the
end of a heap block and corrupting heap metadata. If you fix any
invalid writes reported by Memcheck, this assertion failure will
probably go away. Please try that before reporting this as a bug.
host stacktrace:
==29582== at 0x58048114: show_sched_status_wrk (m_libcassert.c:369)
==29582== by 0x58048227: report_and_quit (m_libcassert.c:440)
==29582== by 0x580483B9: vgPlain_assert_fail (m_libcassert.c:506)
==29582== by 0x58052490: get_bszB_as_is (m_mallocfree.c:305)
==29582== by 0x58052490: get_bszB (m_mallocfree.c:315)
==29582== by 0x58052490: get_pszB (m_mallocfree.c:389)
==29582== by 0x58052490: vgPlain_describe_arena_addr (m_mallocfree.c:1592)
==29582== by 0x5803DEDA: vgPlain_describe_addr (m_addrinfo.c:187)
==29582== by 0x5803CD46: vgMemCheck_update_Error_extra (mc_errors.c:1187)
==29582== by 0x58041E24: vgPlain_maybe_record_error (m_errormgr.c:823)
==29582== by 0x5803C1CB: vgMemCheck_record_address_error (mc_errors.c:767)
==29582== by 0x58011274: mc_LOADVn_slow (mc_main.c:1553)
==29582== by 0x10041F4802: ???
==29582== by 0x1002E8DF2F: ???
==29582== by 0x100200834F: ???
==29582== by 0x1002E8DF17: ???
==29582== by 0x1002E8DF2F: ???
==29582== by 0x1002E8DF3F: ???
==29582== by 0x100248BE3F: ???
==29582== by 0x1002008727: ???
==29582== by 0x1002E8D7F7: ???
sched status:
running_tid=1
Thread 1: status = VgTs_Runnable (lwpid 29582)
==29582== at 0x4ABA450: VMArray_gc_mark (VMArray.c:82)
==29582== by 0x4A98BD4: MVM_gc_mark_collectable (collect.c:439)
==29582== by 0x4A979D1: process_worklist (collect.c:348)
==29582== by 0x4A971A7: MVM_gc_collect (collect.c:74)
==29582== by 0x4A9D24E: MVM_finalize_walk_queues (finalize.c:107)
==29582== by 0x4A90E09: finish_gc (orchestrate.c:170)
==29582== by 0x4A915F3: run_gc (orchestrate.c:413)
==29582== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==29582== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==29582== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==29582== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==29582== by 0x4A925A2: MVM_gc_allocate_frame (allocation.c:102)
==29582== by 0x4A59FE4: allocate_frame (frame.c:250)
==29582== by 0x4A5AB22: MVM_frame_invoke (frame.c:494)
==29582== by 0x4A4F6C5: MVM_interp_run (interp.c:5802)
==29582== by 0x4BA6B37: MVM_vm_run_file (moar.c:444)
==29582== by 0x1098C2: main (main.c:343)
client stack range: [0x1FFEFFD000 0x1FFF000FFF] client SP: 0x1FFEFFE930
valgrind stack range: [0x1002D8E000 0x1002E8DFFF] top usage: 8416 of 1048576
Thread 2: status = VgTs_WaitSys syscall 202 (lwpid 29583)
==29582== at 0x5511AFC: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.28.so)
==29582== by 0x4BF9E18: uv_cond_wait (thread.c:758)
==29582== by 0x4AECEBB: shift (ConcBlockingQueue.c:238)
==29582== by 0x4AB4992: MVM_repr_shift_o (reprconv.c:470)
==29582== by 0x4B36DD8: worker (worker.c:16)
==29582== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==29582== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==29582== by 0x4A234B1: MVM_interp_run (interp.c:128)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
client stack range: [0x5D3B000 0x6539FFF] client SP: 0x6538580
valgrind stack range: [0x100371C000 0x100381BFFF] top usage: 3192 of 1048576
Thread 3: status = VgTs_WaitSys syscall 202 (lwpid 29584)
==29582== at 0x5511AFC: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.28.so)
==29582== by 0x4BF9E18: uv_cond_wait (thread.c:758)
==29582== by 0x4AECEBB: shift (ConcBlockingQueue.c:238)
==29582== by 0x4A343E7: MVM_interp_run (interp.c:2341)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
client stack range: [0xD59F000 0xDD9DFFF] client SP: 0xDD9C6D0
valgrind stack range: [0x1008481000 0x1008580FFF] top usage: 5512 of 1048576
Thread 4: status = VgTs_WaitSys syscall 202 (lwpid 29585)
==29582== at 0x5511AFC: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.28.so)
==29582== by 0x4BF9E18: uv_cond_wait (thread.c:758)
==29582== by 0x4A912BC: MVM_gc_mark_thread_unblocked (orchestrate.c:310)
==29582== by 0x4A3E7A0: MVM_interp_run (interp.c:3676)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
client stack range: [0xDDA0000 0xE59EFFF] client SP: 0xE59D710
valgrind stack range: [0x1008791000 0x1008890FFF] top usage: 5512 of 1048576
Thread 5: status = VgTs_WaitSys syscall 202 (lwpid 29586)
==29582== at 0x5511AFC: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.28.so)
==29582== by 0x4BF9E18: uv_cond_wait (thread.c:758)
==29582== by 0x4A90DA5: finish_gc (orchestrate.c:151)
==29582== by 0x4A915F3: run_gc (orchestrate.c:413)
==29582== by 0x4A91DDA: MVM_gc_enter_from_interrupt (orchestrate.c:613)
==29582== by 0x4A9F7A2: async_handler (eventloop.c:75)
==29582== by 0x4BEF0A6: uv__async_io (async.c:118)
==29582== by 0x4BE99A8: uv__io_poll (linux-core.c:379)
==29582== by 0x4BEF90D: uv_run (core.c:361)
==29582== by 0x4A9F81F: enter_loop (eventloop.c:90)
==29582== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==29582== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==29582== by 0x4A234B1: MVM_interp_run (interp.c:128)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
client stack range: [0xE5A1000 0xED9FFFF] client SP: 0xED9AFC0
valgrind stack range: [0x1008AA9000 0x1008BA8FFF] top usage: 4120 of 1048576
Thread 6: status = VgTs_WaitSys syscall 202 (lwpid 29587)
==29582== at 0x5511AFC: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.28.so)
==29582== by 0x4BF9E18: uv_cond_wait (thread.c:758)
==29582== by 0x4AECEBB: shift (ConcBlockingQueue.c:238)
==29582== by 0x4A343E7: MVM_interp_run (interp.c:2341)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
client stack range: [0xF1A2000 0xF9A0FFF] client SP: 0xF99F6D0
valgrind stack range: [0x1008EA1000 0x1008FA0FFF] top usage: 2904 of 1048576
Thread 7: status = VgTs_WaitSys syscall 202 (lwpid 29590)
==29582== at 0x5511AFC: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.28.so)
==29582== by 0x4BF9E18: uv_cond_wait (thread.c:758)
==29582== by 0x4A90DA5: finish_gc (orchestrate.c:151)
==29582== by 0x4A915F3: run_gc (orchestrate.c:413)
==29582== by 0x4A91DDA: MVM_gc_enter_from_interrupt (orchestrate.c:613)
==29582== by 0x4A24025: MVM_interp_run (interp.c:240)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
client stack range: [0x101A3000 0x109A1FFF] client SP: 0x109A0690
valgrind stack range: [0x10094F5000 0x10095F4FFF] top usage: 2872 of 1048576
Thread 8: status = VgTs_WaitSys syscall 202 (lwpid 29635)
==29582== at 0x5511AFC: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.28.so)
==29582== by 0x4BF9E18: uv_cond_wait (thread.c:758)
==29582== by 0x4A912BC: MVM_gc_mark_thread_unblocked (orchestrate.c:310)
==29582== by 0x4AECEC7: shift (ConcBlockingQueue.c:238)
==29582== by 0x4A343E7: MVM_interp_run (interp.c:2341)
==29582== by 0x4A65285: start_thread (threads.c:87)
==29582== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==29582== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
client stack range: [0x1E1AF000 0x1E9ADFFF] client SP: 0x1E9AC6B0
valgrind stack range: [0x100A77D000 0x100A87CFFF] top usage: 2920 of 1048576
Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.
If that doesn't help, please report this bug to: www.valgrind.org
In the bug report, send all the above text, the valgrind
version, and what OS and version you are using. Thanks.
[dan@alexandria p6]$ MVM_JIT_DISABLE=1 pv6 9.p6 >master2.log
==30209== Memcheck, a memory error detector
==30209== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==30209== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==30209== Command: /home/dan/Source/perl6/install/bin/perl6-m 9.p6
==30209==
==30209== Thread 5:
==30209== Invalid write of size 8
==30209== at 0x4BEF983: uv__finish_close (core.c:276)
==30209== by 0x4BEF983: uv__run_closing_handles (core.c:293)
==30209== by 0x4BEF983: uv_run (core.c:363)
==30209== by 0x4A9F81F: enter_loop (eventloop.c:90)
==30209== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30209== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30209== by 0x4A234B1: MVM_interp_run (interp.c:128)
==30209== by 0x4A65285: start_thread (threads.c:87)
==30209== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30209== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30209== Address 0x730cd70 is 48 bytes inside a block of size 248 free'd
==30209== at 0x48389AB: free (vg_replace_malloc.c:530)
==30209== by 0x4B10883: MVM_free (alloc.h:40)
==30209== by 0x4B13809: build_cfg (graph.c:739)
==30209== by 0x4B15863: MVM_spesh_graph_create_from_cand (graph.c:1347)
==30209== by 0x4B3151C: MVM_spesh_inline_try_get_graph (inline.c:246)
==30209== by 0x4B291AF: optimize_call (optimize.c:1981)
==30209== by 0x4B2B80B: optimize_bb_switch (optimize.c:2688)
==30209== by 0x4B2C015: optimize_bb (optimize.c:2941)
==30209== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30209== by 0x4B2D456: MVM_spesh_optimize (optimize.c:3308)
==30209== by 0x4B189A3: MVM_spesh_candidate_add (candidate.c:85)
==30209== by 0x4B37202: worker (worker.c:16)
==30209== Block was alloc'd at
==30209== at 0x4839B65: calloc (vg_replace_malloc.c:752)
==30209== by 0x4B10802: MVM_calloc (alloc.h:11)
==30209== by 0x4B127E9: build_cfg (graph.c:479)
==30209== by 0x4B15863: MVM_spesh_graph_create_from_cand (graph.c:1347)
==30209== by 0x4B3151C: MVM_spesh_inline_try_get_graph (inline.c:246)
==30209== by 0x4B291AF: optimize_call (optimize.c:1981)
==30209== by 0x4B2B80B: optimize_bb_switch (optimize.c:2688)
==30209== by 0x4B2C015: optimize_bb (optimize.c:2941)
==30209== by 0x4B2C04F: optimize_bb (optimize.c:2945)
==30209== by 0x4B2D456: MVM_spesh_optimize (optimize.c:3308)
==30209== by 0x4B189A3: MVM_spesh_candidate_add (candidate.c:85)
==30209== by 0x4B37202: worker (worker.c:16)
==30209==
==30209== Invalid write of size 8
==30209== at 0x4BEF978: uv__finish_close (core.c:276)
==30209== by 0x4BEF978: uv__run_closing_handles (core.c:293)
==30209== by 0x4BEF978: uv_run (core.c:363)
==30209== by 0x4A9F81F: enter_loop (eventloop.c:90)
==30209== by 0x4AC1429: invoke_handler (MVMCFunction.c:9)
==30209== by 0x4A651C5: thread_initial_invoke (threads.c:59)
==30209== by 0x4A234B1: MVM_interp_run (interp.c:128)
==30209== by 0x4A65285: start_thread (threads.c:87)
==30209== by 0x550BA9C: start_thread (in /usr/lib/libpthread-2.28.so)
==30209== by 0x52B6B22: clone (in /usr/lib/libc-2.28.so)
==30209== Address 0x925d8f8 is 40 bytes inside a block of size 64 free'd
==30209== at 0x48389AB: free (vg_replace_malloc.c:530)
==30209== by 0x4AB9F4B: MVM_free (alloc.h:40)
==30209== by 0x4ABA5EF: gc_free (VMArray.c:106)
==30209== by 0x4A99219: MVM_gc_collect_free_nursery_uncopied (collect.c:626)
==30209== by 0x4A910B1: finish_gc (orchestrate.c:241)
==30209== by 0x4A915F3: run_gc (orchestrate.c:413)
==30209== by 0x4A91A3B: MVM_gc_enter_from_allocator (orchestrate.c:526)
==30209== by 0x4A922B1: MVM_gc_allocate_nursery (allocation.c:35)
==30209== by 0x4A920AC: MVM_gc_allocate (allocation.h:18)
==30209== by 0x4A9233A: MVM_gc_allocate_zeroed (allocation.c:52)
==30209== by 0x4A92501: MVM_gc_allocate_object (allocation.c:89)
==30209== by 0x4A3052B: MVM_interp_run (interp.c:1859)
==30209== Block was alloc'd at
==30209== at 0x483777F: malloc (vg_replace_malloc.c:299)
==30209== by 0x4AB9ECF: MVM_malloc (alloc.h:2)
==30209== by 0x4ABB273: set_size_internal (VMArray.c:365)
==30209== by 0x4ABB88B: push (VMArray.c:475)
==30209== by 0x4AB44CC: MVM_repr_push_o (reprconv.c:387)
==30209== by 0x4B3E015: evaluate_guards (plugin.c:97)
==30209== by 0x4B3E131: resolve_using_guards (plugin.c:125)
==30209== by 0x4B3F12E: MVM_spesh_plugin_resolve (plugin.c:426)
==30209== by 0x4A4C48C: MVM_interp_run (interp.c:5322)
==30209== by 0x4BA6B37: MVM_vm_run_file (moar.c:444)
==30209== by 0x1098C2: main (main.c:343)
==30209==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment