[Scummvm-devel] Dmalloc results

Claudio Matsuoka claudio at helllabs.org
Mon Nov 12 19:37:02 CET 2001


On Mon, 12 Nov 2001, Christophe Thibault wrote:

> that's maybe because it calls ::free() instead of Scumm::free()?

Bingo. It was confusing dmalloc. Ok, here's the report:


1005622367: 3150: Dmalloc version '4.6.0' from 'http://dmalloc.com/'
1005622367: 3150: flags = 0x14f47583, logfile 'log'
1005622367: 3150: interval = 0, addr = 0, seen # = 0
1005622367: 3150: starting time = 1005622076
1005622367: 3150: free bucket count/bits:  80/5 35/6 49/7 26/8 13/9 16/10 12/11 4/12 1/13 2/14 2/15 7/16 1/17 1/18
1005622367: 3150: basic-block 4096 bytes, alignment 8 bytes, heap grows up
1005622367: 3150: heap: 0x80cc000 to 0x823a000, size 1499136 bytes (366 blocks)
1005622367: 3150: heap checked 0
1005622367: 3150: alloc calls: malloc 1164, calloc 505, realloc 0, free 1481
1005622367: 3150: alloc calls: recalloc 0, memalign 0, valloc 0
1005622367: 3150:  total memory allocated: 4442356 bytes (1669 pnts)
1005622367: 3150:  max in use at one time: 831726 bytes (325 pnts)
1005622367: 3150: max alloced with 1 call: 256000 bytes
1005622367: 3150: max alloc rounding loss: 96946 bytes (10%)
1005622367: 3150: max memory space wasted: 470669 bytes (33%)
1005622367: 3150: final user memory space: basic 328, divided 29, 1399341 bytes
1005622367: 3150:  final admin overhead: basic 6, divided 3, 36864 bytes (2%)
1005622367: 3150:  final external space: 0 bytes (0 blocks)
1005622367: 3150: top 10 allocations:
1005622367: 3150:  total-size  count in-use-size  count  source
1005622367: 3150:     3657693    450      481519    183  sys.cpp:142
1005622367: 3150:      470528    919           0      0  ra=0x40049866
1005622367: 3150:      256000      1           0      0  ra=0x40049e74
1005622367: 3150:        8192      2           0      0  ra=0x40030c2e
1005622367: 3150:        8160      1        8160      1  ra=0x40092ae5
1005622367: 3150:        6144      3           0      0  ra=0x401ea3c6
1005622367: 3150:        4008      3           0      0  ra=0x401ea042
1005622367: 3150:        2932      1           0      0  ra=0x4021c0ab
1005622367: 3150:        2548      7         364      1  ra=0x40105701
1005622367: 3150:     4442356   1669      490221    188  Total of 89
1005622367: 3150: dumping not-freed pointers changed since 0:
1005622367: 3150:  not freed: '0x80cf0e8|s17' (9 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf448|s1' (9 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf468|s1' (14 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf488|s1' (9 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf4a8|s1' (17 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf4c8|s1' (14 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf4e8|s1' (14 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf508|s1' (9 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf528|s1' (9 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf548|s9' (17 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf568|s9' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf588|s7' (17 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf5a8|s7' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf5c8|s7' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf5e8|s7' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf608|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf628|s1' (13 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf648|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf668|s1' (12 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf688|s1' (12 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf6a8|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf6c8|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf6e8|s1' (16 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf708|s1' (18 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf728|s1' (18 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf748|s1' (18 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf768|s1' (14 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf788|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf7a8|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf7c8|s1' (18 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf7e8|s1' (13 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf808|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf828|s1' (13 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf848|s1' (13 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf868|s1' (12 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf888|s1' (12 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf8a8|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf8c8|s1' (19 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf8e8|s21' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf928|s1' (14 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf948|s1' (19 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf968|s1' (20 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf988|s1' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf9a8|s1' (19 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cf9c8|s19' (10 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cfa08|s23' (15 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cfa48|s1' (19 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80cfb08|s17' (10 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1048|s1' (26 bytes) from 'ra=0x402006f3'
1005622367: 3150:  not freed: '0x80d1588|s1' (24 bytes) from 'ra=0x40065481'
1005622367: 3150:  not freed: '0x80d1788|s1' (24 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d17c8|s1' (24 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1808|s1' (44 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1848|s1' (24 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1888|s1' (44 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d18c8|s1' (44 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1908|s1' (24 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1948|s1' (24 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1988|s1' (49 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d19c8|s1' (52 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1a08|s1' (49 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1a48|s1' (37 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1a88|s1' (32 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1ac8|s1' (33 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1b08|s1' (34 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1b48|s1' (22 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1b88|s1' (23 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1bc8|s1' (30 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1c08|s1' (32 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1c48|s1' (49 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1c88|s3' (41 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1cc8|s1' (21 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1d08|s1' (22 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1d48|s1' (22 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1d88|s1' (35 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1dc8|s1' (22 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d1e08|s3' (28 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d2c08|s1' (400 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d2e08|s1' (400 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6708|s1' (128 bytes) from 'ra=0x40064edd'
1005622367: 3150:  not freed: '0x80d6808|s1' (204 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6908|s1' (204 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6a08|s1' (164 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6b08|s1' (204 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6c08|s1' (204 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6d08|s1' (204 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6e08|s1' (204 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80d6f08|s1' (180 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80dd008|s1' (8160 bytes) from 'ra=0x40092ae5'
1005622367: 3150:  not freed: '0x80e3308|s1' (103 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3388|s1' (103 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3408|s1' (84 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3488|s1' (56 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3508|s1' (104 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3588|s1' (54 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3608|s1' (54 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3688|s1' (103 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3708|s1' (103 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3788|s1' (62 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3808|s1' (82 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3888|s1' (64 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3908|s1' (70 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3a08|s1' (74 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e3a88|s3' (56 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e4808|s1' (1399 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e0008|s3' (804 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e0408|s1' (804 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e0808|s1' (1004 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x80e0c08|s1' (1004 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125008|s1' (254 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125208|s1' (254 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125408|s1' (248 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125608|s1' (248 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125808|s1' (260 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125a08|s1' (324 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125c08|s1' (404 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8125e08|s1' (400 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8126008|s1' (980 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8126408|s1' (980 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8126808|s1' (804 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8126c08|s1' (804 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812a008|s1' (1604 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812a808|s1' (1399 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812b008|s1' (400 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812b208|s1' (254 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812b408|s1' (254 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812b608|s1' (248 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812b808|s1' (248 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812ba08|s1' (364 bytes) from 'ra=0x40105701'
1005622367: 3150:  not freed: '0x812be08|s1' (276 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812c008|s1' (1004 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812c408|s1' (1004 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812c808|s1' (980 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812cc08|s1' (980 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x814f008|s1' (510 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8181808|s1' (1490 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151008|s9' (180 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151108|s3' (187 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151208|s1' (179 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151308|s1' (232 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151408|s1' (164 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151508|s1' (193 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151708|s1' (196 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151b08|s1' (152 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151c08|s1' (137 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151d08|s1' (189 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8151e08|s3' (210 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8161008|s9' (1498 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8149008|s1' (584 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x814a008|s5' (314 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x814a208|s1' (312 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81df008|s151' (733 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81df408|s135' (936 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x814c008|s1' (1831 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8208008|s3' (1231 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8208808|s3' (2018 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8160308|s5' (210 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8160408|s3' (220 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8127008|s1' (3004 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8128008|s1' (5604 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812d008|s1' (5584 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x812f008|s3' (2093 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8130008|s1' (4170 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x813e008|s1' (2809 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x814d008|s1' (4122 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8155008|s1' (7143 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8157008|s1' (6872 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8159008|s3' (7074 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x815b008|s1' (6458 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x815e008|s1' (2490 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x815f008|s3' (2529 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x816e008|s3' (65290 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8190008|s1' (3563 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8191008|s3' (3556 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8192008|s3' (25093 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x819f008|s1' (7085 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81a2008|s7' (2422 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81a3008|s9' (65290 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81b3008|s1' (51376 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81c0008|s1' (3313 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81c2008|s5' (3036 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81e0008|s3' (7280 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81e2008|s1' (2720 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x81e4008|s5' (4329 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8202008|s1' (2203 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8204008|s5' (16330 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8209008|s3' (64860 bytes) from 'sys.cpp:142'
1005622367: 3150:  not freed: '0x8219008|s3' (55169 bytes) from 'sys.cpp:142'
1005622367: 3150:  total-size  count  source
1005622367: 3150:      481519    183  sys.cpp:142
1005622367: 3150:        8160      1  ra=0x40092ae5
1005622367: 3150:         364      1  ra=0x40105701
1005622367: 3150:         128      1  ra=0x40064edd
1005622367: 3150:          26      1  ra=0x402006f3
1005622367: 3150:          24      1  ra=0x40065481
1005622367: 3150:      490221    188  Total of 6
1005622367: 3150:  known memory: 183 pointers, 481519 bytes
1005622367: 3150:  unknown memory: 5 pointers, 8702 bytes
1005622367: 3150: ending time = 1005622367, elapsed since start = 0:04:51





More information about the Scummvm-devel mailing list