Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created October 13, 2013 19:44
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 FROGGS/78ff60b293aa4e996c9b to your computer and use it in GitHub Desktop.
Save FROGGS/78ff60b293aa4e996c9b to your computer and use it in GitHub Desktop.
valgrind /home/froggs/dev/nqp/install/bin/moar --libpath=/home/froggs/dev/nqp/install/languages/nqp/lib /home/froggs/dev/nqp/install/languages/nqp/lib/nqp.moarvm --target=mbc --output=blib/Perl6/Grammar.moarvm --encoding=utf8 src/Perl6/Grammar.nqp
==22815== Memcheck, a memory error detector
==22815== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==22815== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==22815== Command: /home/froggs/dev/nqp/install/bin/moar --libpath=/home/froggs/dev/nqp/install/languages/nqp/lib /home/froggs/dev/nqp/install/languages/nqp/lib/nqp.moarvm --target=mbc --output=blib/Perl6/Grammar.moarvm --encoding=utf8 src/Perl6/Grammar.nqp
==22815==
Bytecode validation error at offset 5562, instruction 1011:
operand type 64 does not match register type 56
frame_name_36
==22815== Invalid read of size 8
==22815== at 0x459ECC: MVM_interp_run (interp.c:3180)
==22815== by 0x443197: MVM_vm_run_file (moar.c:132)
==22815== by 0x40458C: main (main.c:130)
==22815== Address 0x901d9f0 is not stack'd, malloc'd or (recently) free'd
==22815==
==22815==
==22815== HEAP SUMMARY:
==22815== in use at exit: 30,150,181 bytes in 93,951 blocks
==22815== total heap usage: 101,841 allocs, 7,890 frees, 47,548,205 bytes allocated
==22815==
==22815== LEAK SUMMARY:
==22815== definitely lost: 9,616 bytes in 257 blocks
==22815== indirectly lost: 0 bytes in 0 blocks
==22815== possibly lost: 0 bytes in 0 blocks
==22815== still reachable: 30,140,565 bytes in 93,694 blocks
==22815== suppressed: 0 bytes in 0 blocks
==22815== Rerun with --leak-check=full to see details of leaked memory
==22815==
==22815== For counts of detected and suppressed errors, rerun with: -v
==22815== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment