Skip to content

Instantly share code, notes, and snippets.

@niner
Created October 7, 2016 14:41
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 niner/582e3dc1034eb4cee802d85d00e7a0dd to your computer and use it in GitHub Desktop.
Save niner/582e3dc1034eb4cee802d85d00e7a0dd to your computer and use it in GitHub Desktop.
t/modify_array.t .............. 16/? ==25363== Invalid free() / delete / delete[] / realloc()
==25363== at 0x4C2C38B: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==25363== by 0x5019A42: MVM_free (alloc.h:29)
==25363== by 0x5019F29: gc_free (MVMArray.c:81)
==25363== by 0x4FFC2F0: MVM_gc_collect_free_gen2_unmarked (collect.c:702)
==25363== by 0x4FF60C9: MVM_gc_global_destruction (orchestrate.c:513)
==25363== by 0x50B781C: MVM_vm_destroy_instance (moar.c:391)
==25363== by 0x4012A0: main (main.c:194)
==25363== Address 0xce94ef0 is 0 bytes inside a block of size 64 free'd
==25363== at 0x4C2C38B: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==25363== by 0x5019A42: MVM_free (alloc.h:29)
==25363== by 0x5019F29: gc_free (MVMArray.c:81)
==25363== by 0x5060A7F: repossess (serialization.c:2893)
==25363== by 0x5061162: MVM_serialization_deserialize (serialization.c:3057)
==25363== by 0x4FAF032: MVM_interp_run (interp.c:3005)
==25363== by 0x50B7568: MVM_vm_run_file (moar.c:304)
==25363== by 0x40128E: main (main.c:191)
==25363== Block was alloc'd at
==25363== at 0x4C2B12F: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==25363== by 0x50199C6: MVM_malloc (alloc.h:2)
==25363== by 0x501AA65: set_size_internal (MVMArray.c:334)
==25363== by 0x501B013: push (MVMArray.c:437)
==25363== by 0x4FA901E: MVM_interp_run (interp.c:2163)
==25363== by 0x50B7568: MVM_vm_run_file (moar.c:304)
==25363== by 0x40128E: main (main.c:191)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment