Ticket #643: cache.valgrind

File cache.valgrind, 9.2 KB (added by vorner, 9 years ago)

Output of valgrind

Line 
1==4329== HEAP SUMMARY:
2==4329==     in use at exit: 272 bytes in 17 blocks
3==4329==   total heap usage: 22,887 allocs, 22,870 frees, 7,618,068 bytes allocated
4==4329==
5==4329== 16 bytes in 1 blocks are definitely lost in loss record 2 of 17
6==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
7==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
8==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
9==4329==    by 0x52BB23A: isc::cache::ResolverClassCache::update(isc::dns::Message const&) (resolver_cache.cc:103)
10==4329==    by 0x52BC063: isc::cache::ResolverCache::update(isc::dns::Message const&) (resolver_cache.cc:205)
11==4329==    by 0x442FE7: (anonymous namespace)::ResolverCacheTest_testUpdateMessage_Test::TestBody() (resolver_cache_unittest.cc:50)
12==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
13==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
14==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
15==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
16==4329==    by 0x415323: main (run_unittests.cc:27)
17==4329==
18==4329== 16 bytes in 1 blocks are definitely lost in loss record 3 of 17
19==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
20==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
21==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
22==4329==    by 0x52BB23A: isc::cache::ResolverClassCache::update(isc::dns::Message const&) (resolver_cache.cc:103)
23==4329==    by 0x52BC063: isc::cache::ResolverCache::update(isc::dns::Message const&) (resolver_cache.cc:205)
24==4329==    by 0x443724: (anonymous namespace)::ResolverCacheTest_testUpdateMessage_Test::TestBody() (resolver_cache_unittest.cc:61)
25==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
26==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
27==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
28==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
29==4329==    by 0x415323: main (run_unittests.cc:27)
30==4329==
31==4329== 16 bytes in 1 blocks are definitely lost in loss record 4 of 17
32==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
33==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
34==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
35==4329==    by 0x52BB23A: isc::cache::ResolverClassCache::update(isc::dns::Message const&) (resolver_cache.cc:103)
36==4329==    by 0x52BC063: isc::cache::ResolverCache::update(isc::dns::Message const&) (resolver_cache.cc:205)
37==4329==    by 0x4442F3: (anonymous namespace)::ResolverCacheTest_testUpdateRRset_Test::TestBody() (resolver_cache_unittest.cc:71)
38==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
39==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
40==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
41==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
42==4329==    by 0x415323: main (run_unittests.cc:27)
43==4329==
44==4329== 16 bytes in 1 blocks are definitely lost in loss record 5 of 17
45==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
46==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
47==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
48==4329==    by 0x52BB23A: isc::cache::ResolverClassCache::update(isc::dns::Message const&) (resolver_cache.cc:103)
49==4329==    by 0x52BC063: isc::cache::ResolverCache::update(isc::dns::Message const&) (resolver_cache.cc:205)
50==4329==    by 0x445C17: (anonymous namespace)::ResolverCacheTest_testLookupUnsupportedClass_Test::TestBody() (resolver_cache_unittest.cc:100)
51==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
52==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
53==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
54==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
55==4329==    by 0x415323: main (run_unittests.cc:27)
56==4329==
57==4329== 16 bytes in 1 blocks are definitely lost in loss record 6 of 17
58==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
59==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
60==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
61==4329==    by 0x52BB23A: isc::cache::ResolverClassCache::update(isc::dns::Message const&) (resolver_cache.cc:103)
62==4329==    by 0x52BC063: isc::cache::ResolverCache::update(isc::dns::Message const&) (resolver_cache.cc:205)
63==4329==    by 0x446781: (anonymous namespace)::ResolverCacheTest_testLookupClosestRRset_Test::TestBody() (resolver_cache_unittest.cc:112)
64==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
65==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
66==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
67==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
68==4329==    by 0x415323: main (run_unittests.cc:27)
69==4329==
70==4329== 16 bytes in 1 blocks are definitely lost in loss record 14 of 17
71==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
72==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
73==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
74==4329==    by 0x42C2F3: (anonymous namespace)::MessageCacheTest_testLookup_Test::TestBody() (message_cache_unittest.cc:66)
75==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
76==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
77==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
78==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
79==4329==    by 0x415323: main (run_unittests.cc:27)
80==4329==
81==4329== 16 bytes in 1 blocks are definitely lost in loss record 15 of 17
82==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
83==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
84==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
85==4329==    by 0x42CC20: (anonymous namespace)::MessageCacheTest_testLookup_Test::TestBody() (message_cache_unittest.cc:73)
86==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
87==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
88==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
89==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
90==4329==    by 0x415323: main (run_unittests.cc:27)
91==4329==
92==4329== 16 bytes in 1 blocks are definitely lost in loss record 16 of 17
93==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
94==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
95==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
96==4329==    by 0x42DC8D: (anonymous namespace)::MessageCacheTest_testUpdate_Test::TestBody() (message_cache_unittest.cc:82)
97==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
98==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
99==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
100==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
101==4329==    by 0x415323: main (run_unittests.cc:27)
102==4329==
103==4329== 16 bytes in 1 blocks are definitely lost in loss record 17 of 17
104==4329==    at 0x4C288E7: operator new(unsigned long) (vg_replace_malloc.c:261)
105==4329==    by 0x52C992C: isc::cache::MessageEntry::MessageEntry(isc::dns::Message const&, boost::shared_ptr<isc::cache::RRsetCache>) (message_entry.cc:39)
106==4329==    by 0x52C622A: isc::cache::MessageCache::update(isc::dns::Message const&) (message_cache.cc:73)
107==4329==    by 0x42E5F5: (anonymous namespace)::MessageCacheTest_testUpdate_Test::TestBody() (message_cache_unittest.cc:90)
108==4329==    by 0x50782A9: testing::Test::Run() (gtest.cc:2095)
109==4329==    by 0x507839F: testing::internal::TestInfoImpl::Run() (gtest.cc:2314)
110==4329==    by 0x5078453: testing::TestCase::Run() (gtest.cc:2420)
111==4329==    by 0x5078753: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4024)
112==4329==    by 0x415323: main (run_unittests.cc:27)