(original) (raw)
In this test, dmalloc incorrectly reports many non-freed pointers instead of the write to unallocated memory that the test program performs. 1064871483: 51: Dmalloc version '5.2.2' from 'http://dmalloc.com/' 1064871483: 51: flags = 0x4e40503, logfile 'logfile' 1064871483: 51: interval = 100, addr = 0, seen # = 0, limit = 0 1064871483: 51: starting time = 1064871483 1064871483: 51: process pid = 22937 1064871483: 51: Dumping Chunk Statistics: 1064871483: 51: basic-block 4096 bytes, alignment 8 bytes, heap grows up 1064871483: 51: heap address range: 0x80cc000 to 0x80dd000, 69632 bytes 1064871483: 51: user blocks: 6 blocks, 22820 bytes (32%) 1064871483: 51: admin blocks: 11 blocks, 45056 bytes (64%) 1064871483: 51: external blocks: 0 blocks, 0 bytes (0%) 1064871483: 51: total blocks: 17 blocks, 69632 bytes 1064871483: 51: heap checked 0 1064871483: 51: alloc calls: malloc 12, calloc 0, realloc 0, free 0 1064871483: 51: alloc calls: recalloc 0, memalign 0, valloc 0 1064871483: 51: alloc calls: new 38, delete 1 1064871483: 51: current memory in use: 4148 bytes (49 pnts) 1064871483: 51: total memory allocated: 4152 bytes (50 pnts) 1064871483: 51: max in use at one time: 4152 bytes (50 pnts) 1064871483: 51: max alloced with 1 call: 1704 bytes 1064871483: 51: max unused memory space: 1768 bytes (29%) 1064871483: 51: top 10 allocations: 1064871483: 51: total-size count in-use-size count source 1064871483: 51: 3344 3 3344 3 ra=0x804d191 1064871483: 51: 208 1 208 1 ra=0x400854de 1064871483: 51: 44 1 44 1 ra=0x4006c11a 1064871483: 51: 44 1 44 1 ra=0x4006c169 1064871483: 51: 40 1 40 1 ra=0x4006bd5f 1064871483: 51: 40 1 40 1 ra=0x4006bd10 1064871483: 51: 36 1 36 1 ra=0x4006776b 1064871483: 51: 36 3 36 3 ra=0x4008b654 1064871483: 51: 36 3 36 3 ra=0x4008a4d4 1064871483: 51: 4152 50 4148 49 Total of 40 1064871483: 51: Dumping Not-Freed Pointers Changed Since Start: 1064871483: 51: not freed: '0x80cce08|s1' (28 bytes) from 'ra=0x4006c244' 1064871483: 51: not freed: '0x80cce48|s1' (44 bytes) from 'ra=0x4006c169' 1064871483: 51: not freed: '0x80cce88|s1' (44 bytes) from 'ra=0x4006c11a' 1064871483: 51: not freed: '0x80ccec8|s1' (24 bytes) from 'ra=0x4006be3a' 1064871483: 51: not freed: '0x80ccf08|s1' (40 bytes) from 'ra=0x4006bd5f' 1064871483: 51: not freed: '0x80ccf48|s1' (40 bytes) from 'ra=0x4006bd10' 1064871483: 51: not freed: '0x80ccf88|s1' (28 bytes) from 'ra=0x4006bc7d' 1064871483: 51: not freed: '0x80ccfc8|s1' (36 bytes) from 'ra=0x4006776b' 1064871483: 51: not freed: '0x80d4808|s1' (1000 bytes) from 'ra=0x804d191' 1064871483: 51: not freed: '0x80d4c08|s1' (640 bytes) from 'ra=0x804d191' 1064871483: 51: not freed: '0x80d5c88|s1' (16 bytes) from 'ra=0x4006683d' 1064871483: 51: not freed: '0x80d5ca8|s1' (20 bytes) from 'ra=0x804bc01' 1064871483: 51: not freed: '0x80d5cc8|s1' (12 bytes) from 'ra=0x4008b654' 1064871483: 51: not freed: '0x80d5ce8|s1' (12 bytes) from 'ra=0x4008b654' 1064871483: 51: not freed: '0x80d5d08|s1' (12 bytes) from 'ra=0x4008b654' 1064871483: 51: not freed: '0x80d5d28|s1' (12 bytes) from 'ra=0x4008a4d4' 1064871483: 51: not freed: '0x80d5d48|s1' (12 bytes) from 'ra=0x4008a4d4' 1064871483: 51: not freed: '0x80d5d68|s1' (12 bytes) from 'ra=0x4008a4d4' 1064871483: 51: not freed: '0x80d5d88|s1' (8 bytes) from 'ra=0x4006c402' 1064871483: 51: not freed: '0x80d5da8|s1' (8 bytes) from 'ra=0x4006c3b8' 1064871483: 51: not freed: '0x80d5dc8|s1' (16 bytes) from 'ra=0x4006c360' 1064871483: 51: not freed: '0x80d5de8|s1' (8 bytes) from 'ra=0x4006c316' 1064871483: 51: not freed: '0x80d5e08|s1' (8 bytes) from 'ra=0x4006c2cc' 1064871483: 51: not freed: '0x80d5e28|s1' (8 bytes) from 'ra=0x4006c1fa' 1064871483: 51: not freed: '0x80d5e48|s1' (8 bytes) from 'ra=0x4006c1b0' 1064871483: 51: not freed: '0x80d5e68|s1' (8 bytes) from 'ra=0x4006c0d3' 1064871483: 51: not freed: '0x80d5e88|s1' (8 bytes) from 'ra=0x4006c08c' 1064871483: 51: not freed: '0x80d5ea8|s1' (8 bytes) from 'ra=0x4006c042' 1064871483: 51: not freed: '0x80d5ec8|s1' (8 bytes) from 'ra=0x4006bff8' 1064871483: 51: not freed: '0x80d5ee8|s1' (8 bytes) from 'ra=0x4006bfae' 1064871483: 51: not freed: '0x80d5f08|s1' (16 bytes) from 'ra=0x4006bf56' 1064871483: 51: not freed: '0x80d5f28|s1' (8 bytes) from 'ra=0x4006bf0c' 1064871483: 51: not freed: '0x80d5f48|s1' (8 bytes) from 'ra=0x4006bec2' 1064871483: 51: not freed: '0x80d5f68|s1' (8 bytes) from 'ra=0x4006bdf0' 1064871483: 51: not freed: '0x80d5f88|s1' (8 bytes) from 'ra=0x4006bda6' 1064871483: 51: not freed: '0x80d5fa8|s1' (8 bytes) from 'ra=0x4006bcc9' 1064871483: 51: not freed: '0x80d5fc8|s1' (8 bytes) from 'ra=0x4006bc33' 1064871483: 51: not freed: '0x80d5fe8|s1' (12 bytes) from 'ra=0x4006bb8d' 1064871483: 51: not freed: '0x80d6808|s1' (1704 bytes) from 'ra=0x804d191' 1064871483: 51: not freed: '0x80d7f08|s1' (208 bytes) from 'ra=0x400854de' 1064871483: 51: not freed: '0x80d8f78|s1' (4 bytes) from 'ra=0x4008b5d9' 1064871483: 51: not freed: '0x80d8f88|s1' (4 bytes) from 'ra=0x4008b5d9' 1064871483: 51: not freed: '0x80d8f98|s1' (4 bytes) from 'ra=0x4008b4fc' 1064871483: 51: not freed: '0x80d8fa8|s1' (4 bytes) from 'ra=0x4008b5d9' 1064871483: 51: not freed: '0x80d8fb8|s1' (1 bytes) from 'ra=0x4008a456' 1064871483: 51: not freed: '0x80d8fc8|s1' (1 bytes) from 'ra=0x4008a456' 1064871483: 51: not freed: '0x80d8fd8|s1' (1 bytes) from 'ra=0x4008a379' 1064871483: 51: not freed: '0x80d8fe8|s1' (1 bytes) from 'ra=0x4008a456' 1064871483: 51: not freed: '0x80d8ff8|s1' (4 bytes) from 'ra=0x400677cc' 1064871483: 51: total-size count source 1064871483: 51: 3344 3 ra=0x804d191 1064871483: 51: 208 1 ra=0x400854de 1064871483: 51: 44 1 ra=0x4006c11a 1064871483: 51: 44 1 ra=0x4006c169 1064871483: 51: 40 1 ra=0x4006bd5f 1064871483: 51: 40 1 ra=0x4006bd10 1064871483: 51: 36 3 ra=0x4008b654 1064871483: 51: 36 1 ra=0x4006776b 1064871483: 51: 36 3 ra=0x4008a4d4 1064871483: 51: 28 1 ra=0x4006c244 1064871483: 51: 28 1 ra=0x4006bc7d 1064871483: 51: 24 1 ra=0x4006be3a 1064871483: 51: 20 1 ra=0x804bc01 1064871483: 51: 16 1 ra=0x4006bf56 1064871483: 51: 16 1 ra=0x4006c360 1064871483: 51: 16 1 ra=0x4006683d 1064871483: 51: 12 3 ra=0x4008b5d9 1064871483: 51: 12 1 ra=0x4006bb8d 1064871483: 51: 8 1 ra=0x4006c316 1064871483: 51: 8 1 ra=0x4006c1b0 1064871483: 51: 8 1 ra=0x4006c08c 1064871483: 51: 8 1 ra=0x4006bfae 1064871483: 51: 8 1 ra=0x4006c3b8 1064871483: 51: 8 1 ra=0x4006c042 1064871483: 51: 8 1 ra=0x4006bec2 1064871483: 51: 8 1 ra=0x4006c1fa 1064871483: 51: 8 1 ra=0x4006c2cc 1064871483: 51: 8 1 ra=0x4006bda6 1064871483: 51: 8 1 ra=0x4006bc33 1064871483: 51: 8 1 ra=0x4006c0d3 1064871483: 51: 8 1 ra=0x4006bf0c 1064871483: 51: 8 1 ra=0x4006bcc9 1064871483: 51: 8 1 ra=0x4006c402 1064871483: 51: 8 1 ra=0x4006bff8 1064871483: 51: 8 1 ra=0x4006bdf0 1064871483: 51: 4 1 ra=0x4008b4fc 1064871483: 51: 4 1 ra=0x400677cc 1064871483: 51: 3 3 ra=0x4008a456 1064871483: 51: 1 1 ra=0x4008a379 1064871483: 51: 4148 49 Total of 39 1064871483: 51: ending time = 1064871483, elapsed since start = 0:00:00