2 ------ out of range reads in malloc-backed pool ------
5 at 0x........: test (mempool2.c:135)
6 by 0x........: main (mempool2.c:174)
7 Address 0x........ is 1 bytes before a block of size 10 client-defined
8 at 0x........: allocate (mempool2.c:108)
9 by 0x........: test (mempool2.c:130)
10 by 0x........: main (mempool2.c:174)
12 Invalid read of size 1
13 at 0x........: test (mempool2.c:136)
14 by 0x........: main (mempool2.c:174)
15 Address 0x........ is 0 bytes after a block of size 10 client-defined
16 at 0x........: allocate (mempool2.c:108)
17 by 0x........: test (mempool2.c:130)
18 by 0x........: main (mempool2.c:174)
21 ------ out of range reads in mmap-backed pool ------
23 Invalid read of size 1
24 at 0x........: test (mempool2.c:140)
25 by 0x........: main (mempool2.c:174)
26 Address 0x........ is 1 bytes before a block of size 20 client-defined
27 at 0x........: allocate (mempool2.c:108)
28 by 0x........: test (mempool2.c:131)
29 by 0x........: main (mempool2.c:174)
31 Invalid read of size 1
32 at 0x........: test (mempool2.c:141)
33 by 0x........: main (mempool2.c:174)
34 Address 0x........ is 0 bytes after a block of size 20 client-defined
35 at 0x........: allocate (mempool2.c:108)
36 by 0x........: test (mempool2.c:131)
37 by 0x........: main (mempool2.c:174)
40 ------ read free in malloc-backed pool ------
42 Illegal memory pool address
43 at 0x........: test (mempool2.c:145)
44 by 0x........: main (mempool2.c:174)
45 Address 0x........ is 0 bytes inside a block of size 32 alloc'd
46 at 0x........: malloc (vg_replace_malloc.c:...)
47 by 0x........: make_pool (mempool2.c:46)
48 by 0x........: test (mempool2.c:122)
49 by 0x........: main (mempool2.c:174)
52 ------ read free in mmap-backed pool ------
54 Illegal memory pool address
55 at 0x........: test (mempool2.c:150)
56 by 0x........: main (mempool2.c:174)
57 Address 0x........ is not stack'd, malloc'd or (recently) free'd
60 ------ double free in malloc-backed pool ------
62 Illegal memory pool address
63 at 0x........: test (mempool2.c:155)
64 by 0x........: main (mempool2.c:174)
65 Address 0x........ is 0 bytes inside a block of size 32 alloc'd
66 at 0x........: malloc (vg_replace_malloc.c:...)
67 by 0x........: make_pool (mempool2.c:46)
68 by 0x........: test (mempool2.c:122)
69 by 0x........: main (mempool2.c:174)
72 ------ double free in mmap-backed pool ------
74 Illegal memory pool address
75 at 0x........: test (mempool2.c:159)
76 by 0x........: main (mempool2.c:174)
77 Address 0x........ is not stack'd, malloc'd or (recently) free'd