Skip to content

Instantly share code, notes, and snippets.

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/56d636666153e2202feaad03c8b29f13 to your computer and use it in GitHub Desktop.
Save MasterDuke17/56d636666153e2202feaad03c8b29f13 to your computer and use it in GitHub Desktop.
==17582== Syscall param write(buf) points to uninitialised byte(s)
==17582== at 0x5579770: __write_nocancel (in /usr/lib/libc-2.23.so)
==17582== by 0x550F4FE: _IO_file_write@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==17582== by 0x550EAC2: new_do_write (in /usr/lib/libc-2.23.so)
==17582== by 0x550FAFD: _IO_file_xsputn@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==17582== by 0x55057B5: fwrite (in /usr/lib/libc-2.23.so)
==17582== by 0x500D608: MVM_mast_to_file (driver.c:75)
==17582== by 0x4F9AD06: MVM_interp_run (interp.c:3105)
==17582== by 0x5051D18: MVM_vm_run_file (moar.c:304)
==17582== by 0x400F63: main (main.c:191)
==17582== Address 0xff2512c is 39,148 bytes inside a block of size 177,456 alloc'd
==17582== at 0x4C2C947: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17582== by 0x500CA8B: MVM_malloc (alloc.h:2)
==17582== by 0x500CA8B: form_bytecode_output (compiler.c:1427)
==17582== by 0x500CA8B: MVM_mast_compile (compiler.c:1602)
==17582== by 0x500D5BC: MVM_mast_to_file (driver.c:75)
==17582== by 0x4F9AD06: MVM_interp_run (interp.c:3105)
==17582== by 0x5051D18: MVM_vm_run_file (moar.c:304)
==17582== by 0x400F63: main (main.c:191)
==17582==
==17582==
==17582== HEAP SUMMARY:
==17582== in use at exit: 83,423,266 bytes in 430,668 blocks
==17582== total heap usage: 2,252,904 allocs, 1,822,236 frees, 561,970,970 bytes allocated
==17582==
==17582== LEAK SUMMARY:
==17582== definitely lost: 9,750 bytes in 362 blocks
==17582== indirectly lost: 22,368 bytes in 668 blocks
==17582== possibly lost: 5,713,672 bytes in 90,121 blocks
==17582== still reachable: 77,677,476 bytes in 339,517 blocks
==17582== of which reachable via heuristic:
==17582== length64 : 2,949,001 bytes in 26,998 blocks
==17582== suppressed: 0 bytes in 0 blocks
==17582== Rerun with --leak-check=full to see details of leaked memory
==17582==
==17582== For counts of detected and suppressed errors, rerun with: -v
==17582== Use --track-origins=yes to see where uninitialised values come from
==17582== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment