Потери памяти

Автор mihail_1, 29 декабря 2012, 20:54:11

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

mihail_1

valgrind по завершению сообщает:
Цитировать
==26799== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 29 from 3)
--26799--
--26799-- supp:      3 dl-hack4-64bit-addr-1
--26799-- supp:     25 dl-hack3-cond-1
--26799-- supp:      1 dl-hack4-64bit-addr-2
==26799== malloc/free: in use at exit: 50,868 bytes in 91 blocks.
==26799== malloc/free: 23,369,593 allocs, 23,369,502 frees, 84,687,184,147 bytes allocated.
==26799==
==26799== searching for pointers to 91 not-freed blocks.
==26799== checked 683,100,728 bytes.
==26799==
==26799== LEAK SUMMARY:
==26799==    definitely lost: 0 bytes in 0 blocks.
==26799==      possibly lost: 22,032 bytes in 81 blocks.
==26799==    still reachable: 28,836 bytes in 10 blocks.
==26799==         suppressed: 0 bytes in 0 blocks.
==26799== Rerun with --leak-check=full to see details of leaked memory.
--26799--  memcheck: sanity checks: 25616163 cheap, 7136 expensive
--26799--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--26799--  memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--26799--  memcheck: auxmaps_L2: 0 searches, 0 nodes
--26799--  memcheck: SMs: n_issued      = 710685 (11370960k, 11104M)
--26799--  memcheck: SMs: n_deissued    = 705368 (11285888k, 11021M)
--26799--  memcheck: SMs: max_noaccess  = 524287 (8388592k, 8191M)
--26799--  memcheck: SMs: max_undefined = 20520 (328320k, 320M)
--26799--  memcheck: SMs: max_defined   = 14531 (232496k, 227M)
--26799--  memcheck: SMs: max_non_DSM   = 11194 (179104k, 174M)
--26799--  memcheck: max sec V bit nodes:    69 (5k, 0M)
--26799--  memcheck: set_sec_vbits8 calls: 283 (new: 69, updates: 214)
--26799--  memcheck: max shadow mem size:   183253k, 178M
--26799-- translate:            fast SP updates identified: 6,460 ( 87.7%)
--26799-- translate:   generic_known SP updates identified: 720 (  9.7%)
--26799-- translate: generic_unknown SP updates identified: 183 (  2.4%)
--26799--     tt/tc: 292,753,893 tt lookups requiring 301,473,551 probes
--26799--     tt/tc: 292,753,893 fast-cache updates, 5 flushes
--26799--  transtab: new        8,025 (190,952 -> 2,921,963; ratio 153:10) [0 scs]
--26799--  transtab: dumped     0 (0 -> ??)
--26799--  transtab: discarded  677 (15,064 -> ??)
--26799-- scheduler: 989,545,060,783 jumps (bb entries).
--26799-- scheduler: 25,616,163/633,772,292 major/minor sched events.
--26799--    sanity: 25616164 cheap, 7136 expensive checks.
--26799--    exectx: 769 lists, 319 contexts (avg 0 per list)
--26799--    exectx: 46,739,124 searches, 51,239,992 full compares (1,096 per 1000)
--26799--    exectx: 0 cmp2, 298 cmp4, 0 cmpAll
--26799--  errormgr: 26 supplist searches, 275 comparisons during search
--26799--  errormgr: 29 errlist searches, 347 comparisons during search
Как узнать что за 91 кусок не были освобождены?