1 2 Invalid write of size 4 3 at 0x........: pthread_key_create (in /...libpthread...) 4 by 0x........: main (pth_create.c:17) 5 Address 0x........ is 1 bytes inside the accessing pointer's 6 legitimate range, a block of size 4 alloc'd 7 at 0x........: malloc (vg_replace_malloc.c:...) 8 by 0x........: main (pth_create.c:14) 9 10 Invalid write of size 4 11 at 0x........: pthread_key_create (in /...libpthread...) 12 by 0x........: main (pth_create.c:19) 13 Address 0x........ is 0 bytes inside the accessing pointer's 14 once-legitimate range, a block of size 4 free'd 15 at 0x........: free (vg_replace_malloc.c:...) 16 by 0x........: main (pth_create.c:18) 17 18 19 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 20