Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created November 9, 2013 22:15
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/aa0e679d876fb59379d7 to your computer and use it in GitHub Desktop.
Save FROGGS/aa0e679d876fb59379d7 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/Metamodel.moarvm --encoding=utf8 src/gen/m-Metamodel.nqp
==3507== Memcheck, a memory error detector
==3507== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==3507== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==3507== 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/Metamodel.moarvm --encoding=utf8 src/gen/m-Metamodel.nqp
==3507==
==3507== Conditional jump or move depends on uninitialised value(s)
==3507== at 0x53B2AF1: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:867)
==3507== by 0x53B3A3A: _IO_default_xsputn (genops.c:481)
==3507== by 0x53B1B02: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1356)
==3507== by 0x5385C93: buffered_vfprintf (vfprintf.c:2362)
==3507== by 0x538097D: vfprintf (vfprintf.c:1307)
==3507== by 0x538AF56: fprintf (fprintf.c:32)
==3507== by 0x4EF8856: panic_unhandled_ex (exceptions.c:288)
==3507== by 0x4EF9062: MVM_exception_throw_adhoc_va (exceptions.c:460)
==3507== by 0x4EF8E47: MVM_exception_throw_adhoc (exceptions.c:421)
==3507== by 0x4F3EFD2: MVM_file_get_stdstream (fileops.c:717)
==3507== by 0x4F3F082: MVM_file_get_stderr (fileops.c:742)
==3507== by 0x4F0B501: MVM_interp_run (interp.c:3119)
==3507==
==3507== Syscall param write(buf) points to uninitialised byte(s)
==3507== at 0x5423700: __write_nocancel (syscall-template.S:81)
==3507== by 0x53B1242: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1262)
==3507== by 0x53B1121: new_do_write (fileops.c:538)
==3507== by 0x53B2854: _IO_do_write@@GLIBC_2.2.5 (fileops.c:511)
==3507== by 0x53B2BAE: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:876)
==3507== by 0x53B3A3A: _IO_default_xsputn (genops.c:481)
==3507== by 0x53B1B02: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1356)
==3507== by 0x5385C93: buffered_vfprintf (vfprintf.c:2362)
==3507== by 0x538097D: vfprintf (vfprintf.c:1307)
==3507== by 0x538AF56: fprintf (fprintf.c:32)
==3507== by 0x4EF8856: panic_unhandled_ex (exceptions.c:288)
==3507== by 0x4EF9062: MVM_exception_throw_adhoc_va (exceptions.c:460)
==3507== Address 0x56f9223 is 131 bytes inside data symbol "_IO_2_1_stderr_"
==3507==
==3507==
==3507== HEAP SUMMARY:
==3507== in use at exit: 51,926,696 bytes in 142,894 blocks
==3507== total heap usage: 245,216 allocs, 102,322 frees, 151,345,429 bytes allocated
==3507==
==3507== LEAK SUMMARY:
==3507== definitely lost: 286,409 bytes in 3,902 blocks
==3507== indirectly lost: 5,544 bytes in 78 blocks
==3507== possibly lost: 0 bytes in 0 blocks
==3507== still reachable: 51,634,743 bytes in 138,914 blocks
==3507== suppressed: 0 bytes in 0 blocks
==3507== Rerun with --leak-check=full to see details of leaked memory
==3507==
==3507== For counts of detected and suppressed errors, rerun with: -v
==3507== Use --track-origins=yes to see where uninitialised values come from
==3507== ERROR SUMMARY: 16 errors from 2 contexts (suppressed: 2 from 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment