Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created June 20, 2019 19:52
Show Gist options
  • Save MasterDuke17/e2e32f880e871351eb9d035b8a866426 to your computer and use it in GitHub Desktop.
Save MasterDuke17/e2e32f880e871351eb9d035b8a866426 to your computer and use it in GitHub Desktop.
dan@hermes:~/p6$ MVM_SPESH_DISABLE=1 MVM_VALGRIND_OPTS='--leak-check=full' pv6 --full-cleanup -e ''
================================================================================================
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 2019.03.1.638.g.887121991 built on MoarVM version 2019.05.86.g.638001351,
running on ubuntu (19.04.Disco.Dingo) / linux (17.Ubuntu.SMP.Wed.May.15.10.52.21.UTC.2019)
------------------------------------------------------------------------------------------------
==21657== Memcheck, a memory error detector
==21657== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==21657== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==21657== Command: /home/dan/Source/perl6/install/bin/perl6-m --full-cleanup -e
==21657==
==21657==
==21657== HEAP SUMMARY:
==21657== in use at exit: 3,389 bytes in 7 blocks
==21657== total heap usage: 194,641 allocs, 194,634 frees, 55,590,956 bytes allocated
==21657==
==21657== 32 bytes in 1 blocks are definitely lost in loss record 1 of 7
==21657== at 0x483AB35: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==21657== by 0x6E1CAE2: MVM_calloc (alloc.h:11)
==21657== by 0x6E1CAE2: rakudo_scalar_set_container_spec (container.c:174)
==21657== by 0x4AB7639: deserialize_stable (serialization.c:2654)
==21657== by 0x4AB7C78: work_loop (serialization.c:2795)
==21657== by 0x4AB8192: MVM_serialization_demand_object (serialization.c:2834)
==21657== by 0x4AB3587: MVM_sc_get_object (sc.c:206)
==21657== by 0x4A2F9FB: MVM_sc_get_sc_object (sc.h:33)
==21657== by 0x4A2F9FB: MVM_interp_run (interp.c:3190)
==21657== by 0x4B2E164: MVM_vm_run_file (moar.c:444)
==21657== by 0x10961C: main (main.c:369)
==21657==
==21657== 1,696 bytes in 1 blocks are definitely lost in loss record 7 of 7
==21657== at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==21657== by 0x4A4BB42: MVM_malloc (alloc.h:2)
==21657== by 0x4A4BB42: MVM_load_bytecode_buffer_to_cu (loadbytecode.c:70)
==21657== by 0x4A2A8FB: MVM_interp_run (interp.c:5024)
==21657== by 0x4B2E164: MVM_vm_run_file (moar.c:444)
==21657== by 0x10961C: main (main.c:369)
==21657==
==21657== LEAK SUMMARY:
==21657== definitely lost: 1,728 bytes in 2 blocks
==21657== indirectly lost: 0 bytes in 0 blocks
==21657== possibly lost: 0 bytes in 0 blocks
==21657== still reachable: 1,661 bytes in 5 blocks
==21657== suppressed: 0 bytes in 0 blocks
==21657== Reachable blocks (those to which a pointer was found) are not shown.
==21657== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==21657==
==21657== For counts of detected and suppressed errors, rerun with: -v
==21657== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment