4memcheck..................memcheck..../threadnameRUNNING0x...........InvalidWriteInvalid write of size 10x...........bad_things...threadname.c...0x...........main...threadname.c...Address 0x........ is 0 bytes after a block of size 1 alloc'd0x...........malloc...vg_replace_malloc.c...0x...........bad_things...threadname.c...0x...........main...threadname.c...0x...........InvalidWriteInvalid write of size 10x...........bad_things...threadname.c...0x...........child_fn_0...threadname.c...Address 0x........ is 0 bytes after a block of size 2 alloc'd0x...........malloc...vg_replace_malloc.c...0x...........bad_things...threadname.c...0x...........child_fn_0...threadname.c...0x...........try1InvalidWriteInvalid write of size 10x...........bad_things...threadname.c...0x...........child_fn_1...threadname.c...Address 0x........ is 0 bytes after a block of size 3 alloc'd0x...........malloc...vg_replace_malloc.c...0x...........bad_things...threadname.c...0x...........child_fn_1...threadname.c......try1I am in child_fn_1
0x...........012345678901234InvalidWriteInvalid write of size 10x...........bad_things...threadname.c...0x...........child_fn_2...threadname.c...Address 0x........ is 0 bytes after a block of size 4 alloc'd0x...........malloc...vg_replace_malloc.c...0x...........bad_things...threadname.c...0x...........child_fn_2...threadname.c...0x...........InvalidWriteInvalid write of size 10x...........bad_things...threadname.c...0x...........main...threadname.c...Address 0x........ is 0 bytes after a block of size 5 alloc'd0x...........malloc...vg_replace_malloc.c...0x...........bad_things...threadname.c...0x...........main...threadname.c...FINISHED...0x...........0x...........0x...........0x...........0x...........