Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created December 6, 2017 15:25
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 dogbert17/cdf6f54e914c809e608e5f77b909c9e1 to your computer and use it in GitHub Desktop.
Save dogbert17/cdf6f54e914c809e608e5f77b909c9e1 to your computer and use it in GitHub Desktop.
leaks
==31919== 12,352,832 bytes in 772,052 blocks are still reachable in loss record 3,199 of 3,205
==31919== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31919== by 0x41A0E34: MVM_malloc (alloc.h:2)
==31919== by 0x41A0E34: allocate_strands (ops.c:165)
==31919== by 0x41A0E34: MVM_string_substring (ops.c:630)
==31919== by 0x40EA97A: MVM_interp_run (interp.c:1582)
==31919== by 0x41D75BB: MVM_vm_run_file (moar.c:401)
==31919== by 0x8048D98: main (main.c:256)
==31919==
==31919== 12,574,720 bytes in 1,633 blocks are still reachable in loss record 3,200 of 3,205
==31919== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31919== by 0x411E746: MVM_malloc (alloc.h:2)
==31919== by 0x411E746: add_page (gen2.c:47)
==31919== by 0x411E746: MVM_gc_gen2_allocate (gen2.c:84)
==31919== by 0x411D8DE: process_worklist (collect.c:274)
==31919== by 0x411DFF8: MVM_gc_collect (collect.c:157)
==31919== by 0x41193E3: run_gc (orchestrate.c:369)
==31919== by 0x4119EC7: MVM_gc_enter_from_allocator (orchestrate.c:486)
==31919== by 0x411A3CF: MVM_gc_allocate_nursery (allocation.c:32)
==31919== by 0x411A449: MVM_gc_allocate (allocation.h:13)
==31919== by 0x411A449: MVM_gc_allocate_zeroed (allocation.c:49)
==31919== by 0x411A633: MVM_gc_allocate_object (allocation.c:86)
==31919== by 0x413F919: allocate (P6opaque.c:60)
==31919== by 0x410A791: MVM_box_str (coerce.c:433)
==31919== by 0x40F19A5: MVM_interp_run (interp.c:2168)
==31919==
==31919== 14,350,336 bytes in 1,883 blocks are still reachable in loss record 3,201 of 3,205
==31919== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31919== by 0x411E746: MVM_malloc (alloc.h:2)
==31919== by 0x411E746: add_page (gen2.c:47)
==31919== by 0x411E746: MVM_gc_gen2_allocate (gen2.c:84)
==31919== by 0x411D8DE: process_worklist (collect.c:274)
==31919== by 0x411DFF8: MVM_gc_collect (collect.c:157)
==31919== by 0x41193E3: run_gc (orchestrate.c:369)
==31919== by 0x4119EC7: MVM_gc_enter_from_allocator (orchestrate.c:486)
==31919== by 0x411A3CF: MVM_gc_allocate_nursery (allocation.c:32)
==31919== by 0x411A449: MVM_gc_allocate (allocation.h:13)
==31919== by 0x411A449: MVM_gc_allocate_zeroed (allocation.c:49)
==31919== by 0x411A633: MVM_gc_allocate_object (allocation.c:86)
==31919== by 0x4130C08: MVM_repr_alloc_init (reprconv.c:17)
==31919== by 0x41A0B9E: MVM_string_substring (ops.c:630)
==31919== by 0x40EA97A: MVM_interp_run (interp.c:1582)
==31919==
==31919== 17,289,216 bytes in 2,263 blocks are still reachable in loss record 3,202 of 3,205
==31919== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31919== by 0x411E746: MVM_malloc (alloc.h:2)
==31919== by 0x411E746: add_page (gen2.c:47)
==31919== by 0x411E746: MVM_gc_gen2_allocate (gen2.c:84)
==31919== by 0x411D8DE: process_worklist (collect.c:274)
==31919== by 0x411DFF8: MVM_gc_collect (collect.c:157)
==31919== by 0x41193E3: run_gc (orchestrate.c:369)
==31919== by 0x4119EC7: MVM_gc_enter_from_allocator (orchestrate.c:486)
==31919== by 0x411A3CF: MVM_gc_allocate_nursery (allocation.c:32)
==31919== by 0x411A449: MVM_gc_allocate (allocation.h:13)
==31919== by 0x411A449: MVM_gc_allocate_zeroed (allocation.c:49)
==31919== by 0x411A633: MVM_gc_allocate_object (allocation.c:86)
==31919== by 0x413F919: allocate (P6opaque.c:60)
==31919== by 0x4130C08: MVM_repr_alloc_init (reprconv.c:17)
==31919== by 0x62E6077: p6scalarfromdesc (in /home/dogbert/.rakudobrew/moar-master/install/share/perl6/runtime/dynext/libperl6_ops_moar.so)
==31919==
==31919== 50,541,608 bytes in 1,943 blocks are still reachable in loss record 3,203 of 3,205
==31919== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31919== by 0x419308A: MVM_malloc (alloc.h:2)
==31919== by 0x419308A: get_all_in_buffer (decode_stream.c:451)
==31919== by 0x4160116: MVM_decoder_take_available_chars (Decoder.c:245)
==31919== by 0x40E4255: MVM_interp_run (interp.c:5121)
==31919== by 0x41056D3: start_thread (threads.c:85)
==31919== by 0x4727F71: start_thread (pthread_create.c:312)
==31919== by 0x46183ED: clone (clone.S:129)
==31919==
==31919== 78,069,964 bytes in 3,616 blocks are still reachable in loss record 3,204 of 3,205
==31919== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31919== by 0x4197456: MVM_malloc (alloc.h:2)
==31919== by 0x4197456: MVM_string_utf8_decodestream (utf8.c:350)
==31919== by 0x4193B93: run_decode (decode_stream.c:115)
==31919== by 0x4193B93: MVM_string_decodestream_get_available (decode_stream.c:492)
==31919== by 0x4160116: MVM_decoder_take_available_chars (Decoder.c:245)
==31919== by 0x40E4255: MVM_interp_run (interp.c:5121)
==31919== by 0x41056D3: start_thread (threads.c:85)
==31919== by 0x4727F71: start_thread (pthread_create.c:312)
==31919== by 0x46183ED: clone (clone.S:129)
==31919==
==31919== 128,604,456 bytes in 118 blocks are still reachable in loss record 3,205 of 3,205
==31919== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31919== by 0x41A90BF: MVM_malloc (alloc.h:2)
==31919== by 0x41A90BF: MVM_string_join (ops.c:1843)
==31919== by 0x40EA526: MVM_interp_run (interp.c:1641)
==31919== by 0x41D75BB: MVM_vm_run_file (moar.c:401)
==31919== by 0x8048D98: main (main.c:256)
==31919==
==31919== LEAK SUMMARY:
==31919== definitely lost: 126,712 bytes in 6,378 blocks
==31919== indirectly lost: 4,876 bytes in 565 blocks
==31919== possibly lost: 114,452 bytes in 3,563 blocks
==31919== still reachable: 412,981,011 bytes in 1,080,658 blocks
==31919== suppressed: 0 bytes in 0 blocks
==31919==
==31919== For counts of detected and suppressed errors, rerun with: -v
==31919== Use --track-origins=yes to see where uninitialised values come from
==31919== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment