Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MasterDuke17/051510af2cff14c514ab5eb11d0f8db2 to your computer and use it in GitHub Desktop.
Save MasterDuke17/051510af2cff14c514ab5eb11d0f8db2 to your computer and use it in GitHub Desktop.
==13882== Syscall param write(buf) points to uninitialised byte(s)
==13882== at 0x5579770: __write_nocancel (in /usr/lib/libc-2.23.so)
==13882== by 0x550F4FE: _IO_file_write@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==13882== by 0x550EAC2: new_do_write (in /usr/lib/libc-2.23.so)
==13882== by 0x550FAFD: _IO_file_xsputn@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==13882== by 0x55057B5: fwrite (in /usr/lib/libc-2.23.so)
==13882== by 0x500D8C8: MVM_mast_to_file (driver.c:75)
==13882== by 0x4F9AD06: MVM_interp_run (interp.c:3105)
==13882== by 0x5051FD8: MVM_vm_run_file (moar.c:304)
==13882== by 0x400F63: main (main.c:191)
==13882== Address 0x10156c2c is 39,148 bytes inside a block of size 177,456 alloc'd
==13882== at 0x4C2C947: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13882== by 0x500CD4B: MVM_malloc (alloc.h:2)
==13882== by 0x500CD4B: form_bytecode_output (compiler.c:1427)
==13882== by 0x500CD4B: MVM_mast_compile (compiler.c:1602)
==13882== by 0x500D87C: MVM_mast_to_file (driver.c:75)
==13882== by 0x4F9AD06: MVM_interp_run (interp.c:3105)
==13882== by 0x5051FD8: MVM_vm_run_file (moar.c:304)
==13882== by 0x400F63: main (main.c:191)
==13882==
==13882==
==13882== HEAP SUMMARY:
==13882== in use at exit: 96,289,173 bytes in 321,719 blocks
==13882== total heap usage: 718,170 allocs, 396,451 frees, 265,867,366 bytes allocated
==13882==
==13882== LEAK SUMMARY:
==13882== definitely lost: 9,750 bytes in 362 blocks
==13882== indirectly lost: 22,368 bytes in 668 blocks
==13882== possibly lost: 377,160 bytes in 6,738 blocks
==13882== still reachable: 95,879,895 bytes in 313,951 blocks
==13882== suppressed: 0 bytes in 0 blocks
==13882== Rerun with --leak-check=full to see details of leaked memory
==13882==
==13882== For counts of detected and suppressed errors, rerun with: -v
==13882== Use --track-origins=yes to see where uninitialised values come from
==13882== 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