Skip to content

Instantly share code, notes, and snippets.

@timo
Created March 12, 2014 22:18
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 timo/eda741286aaa16a8a8b5 to your computer and use it in GitHub Desktop.
Save timo/eda741286aaa16a8a8b5 to your computer and use it in GitHub Desktop.
00289 push_i loc_15_obj, loc_18_int
00290 const_i64 loc_18_int, 278
00291 push_i loc_15_obj, loc_18_int
00292 const_i64 loc_18_int, 280
00293 push_i loc_15_obj, loc_18_int
00294 const_i64 loc_18_int, 281
00295 push_i loc_15_obj, loc_18_int
00296 const_i64 loc_18_int, 283
00297 push_i loc_15_obj, loc_18_int
00298 const_i64 loc_18_int, 285
00299 push_i loc_15_obj, loc_18_int
00300 const_i64 loc_18_int, 287
00301 push_i loc_15_obj, loc_18_int
00302 const_i64 loc_18_int, 289
00303 push_i loc_15_obj, loc_18_int
00304 const_i64 loc_18_int, 291
00305 push_i loc_15_obj, loc_18_int==25185== Invalid free() / delete / delete[] / realloc()
==25185== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==25185== by 0x4F6E7EF: gc_free (MVMString.c:67)
==25185== by 0x4F6A34C: MVM_gc_collect_free_gen2_unmarked (collect.c:632)
==25185== by 0x4F63FE8: MVM_gc_global_destruction (orchestrate.c:431)
==25185== by 0x4F9EFC5: MVM_vm_destroy_instance (moar.c:213)
==25185== by 0x400CFC: main (main.c:148)
==25185== Address 0x60f5690 is 0 bytes inside a block of size 40 free'd
==25185== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==25185== by 0x4F6E7EF: gc_free (MVMString.c:67)
==25185== by 0x4F6A184: MVM_gc_collect_free_nursery_uncopied (collect.c:533)
==25185== by 0x4F63FD8: MVM_gc_global_destruction (orchestrate.c:429)
==25185== by 0x4F9EFC5: MVM_vm_destroy_instance (moar.c:213)
==25185== by 0x400CFC: main (main.c:148)
==25185==
==25185==
==25185== HEAP SUMMARY:
==25185== in use at exit: 232,442 bytes in 3,036 blocks
==25185== total heap usage: 19,154 allocs, 16,119 frees, 13,649,025 bytes allocated
==25185==
==25185== LEAK SUMMARY:
==25185== definitely lost: 1,206 bytes in 10 blocks
==25185== indirectly lost: 564 bytes in 5 blocks
==25185== possibly lost: 0 bytes in 0 blocks
==25185== still reachable: 230,672 bytes in 3,021 blocks
==25185== suppressed: 0 bytes in 0 blocks
==25185== Rerun with --leak-check=full to see details of leaked memory
==25185==
==25185== For counts of detected and suppressed errors, rerun with: -v
==25185== Use --track-origins=yes to see where uninitialised values come from
==25185== ERROR SUMMARY: 2 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