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
19
20--------- c: end ---------
21
22
23--------- p: join child ---------
24
25
26--------- p: re_enabled (expect 1) ---------
27
28Thread 1:
29Invalid read of size 1
30   at 0x........: err (err_disable3.c:25)
31   by 0x........: main (err_disable3.c:60)
32 Address 0x........ is 5 bytes inside a block of size 10 free'd
33   at 0x........: free (vg_replace_malloc.c:...)
34   by 0x........: main (err_disable3.c:42)
35
36