1
2--------- p: disabling errors (expect 0) ---------
3
4
5--------- p: creating child ---------
6
7
8--------- c: start (expect 1) ---------
9
10Thread 2:
11Invalid read of size 1
12   at 0x........: err (err_disable3.c:25)
13   by 0x........: child_fn (err_disable3.c:31)
14   ...
15 Address 0x........ is 5 bytes inside a block of size 10 free'd
16   at 0x........: free (vg_replace_malloc.c:...)
17   by 0x........: main (err_disable3.c:42)
18 Block was alloc'd at
19   at 0x........: malloc (vg_replace_malloc.c:...)
20   by 0x........: main (err_disable3.c:41)
21
22
23--------- c: end ---------
24
25
26--------- p: join child ---------
27
28
29--------- p: re_enabled (expect 1) ---------
30
31Thread 1:
32Invalid read of size 1
33   at 0x........: err (err_disable3.c:25)
34   by 0x........: main (err_disable3.c:60)
35 Address 0x........ is 5 bytes inside a block of size 10 free'd
36   at 0x........: free (vg_replace_malloc.c:...)
37   by 0x........: main (err_disable3.c:42)
38 Block was alloc'd at
39   at 0x........: malloc (vg_replace_malloc.c:...)
40   by 0x........: main (err_disable3.c:41)
41
42