Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created October 12, 2021 16:04
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/b3331ef6a3d50060fae201ace62dad99 to your computer and use it in GitHub Desktop.
Save MasterDuke17/b3331ef6a3d50060fae201ace62dad99 to your computer and use it in GitHub Desktop.
[dan@alexandria rakudo]$ valgrind --leak-check=full '/home/dan/Source/perl6/install/bin/moar' --full-cleanup --libpath='/home/dan/Source/perl6/rakudo/blib' --libpath='/home/dan/Source/perl6/install/share/nqp/lib' rakudo.moarvm --rakudo-home='/home/dan/Source/perl6/rakudo/gen/build_rakudo_home' --setting=NULL.c --stagestats --ll-exception --optimize=3 --target=mbc --output=blib/CORE.c.setting.moarvm 'gen/moar/CORE.c.setting'
==126144== Memcheck, a memory error detector
==126144== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==126144== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==126144== Command: /home/dan/Source/perl6/install/bin/moar --full-cleanup --libpath=/home/dan/Source/perl6/rakudo/blib --libpath=/home/dan/Source/perl6/install/share/nqp/lib rakudo.moarvm --rakudo-home=/home/dan/Source/perl6/rakudo/gen/build_rakudo_home --setting=NULL.c --stagestats --ll-exception --optimize=3 --target=mbc --output=blib/CORE.c.setting.moarvm gen/moar/CORE.c.setting
==126144==
Stage start : 0.005
Stage parse : 1075.611
Stage syntaxcheck: 0.001
Stage ast : 0.001
Stage optimize : 142.472
Stage mast : 223.937
Stage mbc : 41.316
==126144==
==126144== HEAP SUMMARY:
==126144== in use at exit: 4,872 bytes in 19 blocks
==126144== total heap usage: 39,667,525 allocs, 39,667,506 frees, 32,705,370,689 bytes allocated
==126144==
==126144== 792 bytes in 9 blocks are definitely lost in loss record 1 of 3
==126144== at 0x48435FF: calloc (vg_replace_malloc.c:1117)
==126144== by 0x4B03E34: MVM_calloc (alloc.h:11)
==126144== by 0x4B03E34: process_recording (program.c:2706)
==126144== by 0x4B04A99: MVM_disp_program_record_end (program.c:2812)
==126144== by 0x4A7CD1A: handle_end_of_dispatch_record (callstack.c:423)
==126144== by 0x4A7CD1A: MVM_callstack_unwind_dispatch_record (callstack.c:573)
==126144== by 0x4B04C8E: MVM_disp_program_record_end (program.c:2751)
==126144== by 0x4A7CB42: handle_end_of_dispatch_record (callstack.c:423)
==126144== by 0x4A7CB42: MVM_callstack_unwind_frame (callstack.c:534)
==126144== by 0x4A7598B: remove_one_frame (frame.c:935)
==126144== by 0x4A7A839: MVM_frame_try_return (frame.c:1054)
==126144== by 0x4A64C7D: MVM_interp_run (interp.c:570)
==126144== by 0x10973E: main (main.c:307)
==126144==
==126144== 792 bytes in 9 blocks are definitely lost in loss record 2 of 3
==126144== at 0x48435FF: calloc (vg_replace_malloc.c:1117)
==126144== by 0x4B03E34: MVM_calloc (alloc.h:11)
==126144== by 0x4B03E34: process_recording (program.c:2706)
==126144== by 0x4B04A99: MVM_disp_program_record_end (program.c:2812)
==126144== by 0x4A7CD1A: handle_end_of_dispatch_record (callstack.c:423)
==126144== by 0x4A7CD1A: MVM_callstack_unwind_dispatch_record (callstack.c:573)
==126144== by 0x4B04C8E: MVM_disp_program_record_end (program.c:2751)
==126144== by 0x4A7CB42: handle_end_of_dispatch_record (callstack.c:423)
==126144== by 0x4A7CB42: MVM_callstack_unwind_frame (callstack.c:534)
==126144== by 0x4A7598B: remove_one_frame (frame.c:935)
==126144== by 0x4A7A839: MVM_frame_try_return (frame.c:1054)
==126144== by 0x18E32F5D: ???
==126144== by 0x4A5A9E5: MVM_interp_run (interp.c:6228)
==126144== by 0x10973E: main (main.c:307)
==126144==
==126144== 3,288 bytes in 1 blocks are definitely lost in loss record 3 of 3
==126144== at 0x483E7C5: malloc (vg_replace_malloc.c:380)
==126144== by 0x4A8CB57: MVM_malloc (alloc.h:2)
==126144== by 0x4A8CB57: MVM_fixed_size_alloc (fixedsizealloc.c:210)
==126144== by 0x4A8CB57: MVM_fixed_size_alloc (fixedsizealloc.c:186)
==126144== by 0x4A8CFAD: MVM_fixed_size_realloc_at_safepoint (fixedsizealloc.c:260)
==126144== by 0x4A4E359: MVM_callsite_intern (callsite.c:240)
==126144== by 0x4AF9FC4: MVM_disp_inline_cache_transition (inline_cache.c:404)
==126144== by 0x4B03FFC: process_recording (program.c:2722)
==126144== by 0x4B04A99: MVM_disp_program_record_end (program.c:2812)
==126144== by 0x4A7CD1A: handle_end_of_dispatch_record (callstack.c:423)
==126144== by 0x4A7CD1A: MVM_callstack_unwind_dispatch_record (callstack.c:573)
==126144== by 0x4B04C8E: MVM_disp_program_record_end (program.c:2751)
==126144== by 0x4A7CB42: handle_end_of_dispatch_record (callstack.c:423)
==126144== by 0x4A7CB42: MVM_callstack_unwind_frame (callstack.c:534)
==126144== by 0x4A758C8: remove_one_frame (frame.c:932)
==126144== by 0x4A7A839: MVM_frame_try_return (frame.c:1054)
==126144==
==126144== LEAK SUMMARY:
==126144== definitely lost: 4,872 bytes in 19 blocks
==126144== indirectly lost: 0 bytes in 0 blocks
==126144== possibly lost: 0 bytes in 0 blocks
==126144== still reachable: 0 bytes in 0 blocks
==126144== suppressed: 0 bytes in 0 blocks
==126144==
==126144== For lists of detected and suppressed errors, rerun with: -s
==126144== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment