Invalid read of size 4 ... Address 0x........ is 4 bytes inside a block of size 5 alloc'd at 0x........: memalign (vg_replace_malloc.c:...) ... Invalid read of size 4 ... Address 0x........ is 4 bytes inside a block of size 5 alloc'd at 0x........: memalign (vg_replace_malloc.c:...) ... Invalid read of size 4 ... Address 0x........ is 4 bytes inside a block of size 12 free'd at 0x........: free (vg_replace_malloc.c:...) ...