SHARE
TWEET

Untitled

a guest Apr 21st, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==16465== Memcheck, a memory error detector
  2. ==16465== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
  3. ==16465== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
  4. ==16465== Command: tests/.libs/lt-host_cmds_unittests
  5. ==16465==
  6. [==========] Running 2 tests from 1 test case.
  7. [----------] Global test environment set-up.
  8. [----------] 2 tests from LibLoadTest
  9. [ RUN      ] LibLoadTest.commands
  10. 2017-04-21 14:46:25.719 DEBUG [kea.commands/16465] COMMAND_REGISTERED Command list-commands registered
  11. 2017-04-21 14:46:25.833 INFO  [kea.commands/16465] COMMAND_RECEIVED Received command 'list-commands'
  12. [ "list-commands" ]
  13. 2017-04-21 14:46:25.858 INFO  [kea.commands/16465] COMMAND_RECEIVED Received command 'list-commands'
  14. [ "list-commands" ]
  15. 2017-04-21 14:46:25.879 DEBUG [kea.hooks/16465] HOOKS_LIBRARY_LOADING loading hooks library /home/thomson/devel/kea-premium/premium/src/hooks/dhcp/host_cmds/.libs/libdhcp_host_cmds.so
  16. 2017-04-21 14:46:26.601 DEBUG [kea.hooks/16465] HOOKS_LIBRARY_VERSION hooks library /home/thomson/devel/kea-premium/premium/src/hooks/dhcp/host_cmds/.libs/libdhcp_host_cmds.so reports its version as 4
  17. 2017-04-21 14:46:26.625 DEBUG [kea.commands/16465] COMMAND_REGISTERED Command reservation-add registered
  18. 2017-04-21 14:46:26.625 DEBUG [kea.commands/16465] COMMAND_REGISTERED Command reservation-del registered
  19. 2017-04-21 14:46:26.627 INFO  [kea.host_cmds_hooks/16465] HOST_CMDS_INIT_OK loading Host Commands hooks library successful
  20. 2017-04-21 14:46:26.628 DEBUG [kea.hooks/16465] HOOKS_LOAD_SUCCESS 'load' function in hook library /home/thomson/devel/kea-premium/premium/src/hooks/dhcp/host_cmds/.libs/libdhcp_host_cmds.so returned success
  21. 2017-04-21 14:46:26.628 INFO  [kea.hooks/16465] HOOKS_LIBRARY_LOADED hooks library /home/thomson/devel/kea-premium/premium/src/hooks/dhcp/host_cmds/.libs/libdhcp_host_cmds.so successfully loaded
  22. 2017-04-21 14:46:26.637 INFO  [kea.commands/16465] COMMAND_RECEIVED Received command 'list-commands'
  23. [ "list-commands", "reservation-add", "reservation-del" ]
  24. 2017-04-21 14:46:26.639 INFO  [kea.commands/16465] COMMAND_RECEIVED Received command 'list-commands'
  25. [ "list-commands", "reservation-add", "reservation-del" ]
  26. 2017-04-21 14:46:26.642 DEBUG [kea.hooks/16465] HOOKS_LIBRARY_UNLOADING unloading library /home/thomson/devel/kea-premium/premium/src/hooks/dhcp/host_cmds/.libs/libdhcp_host_cmds.so
  27. 2017-04-21 14:46:26.645 DEBUG [kea.commands/16465] COMMAND_DEREGISTERED Command reservation-add deregistered
  28. 2017-04-21 14:46:26.646 DEBUG [kea.commands/16465] COMMAND_DEREGISTERED Command reservation-del deregistered
  29. 2017-04-21 14:46:26.647 INFO  [kea.host_cmds_hooks/16465] HOST_CMDS_DEINIT_OK unloading Host Commands hooks library successful
  30. 2017-04-21 14:46:26.648 DEBUG [kea.hooks/16465] HOOKS_UNLOAD_SUCCESS 'unload' function in hook library /home/thomson/devel/kea-premium/premium/src/hooks/dhcp/host_cmds/.libs/libdhcp_host_cmds.so returned success
  31. ####deregisterAllCallouts(context_create)
  32. ####deregisterAllCallouts(context_destroy)
  33. ####deregisterAllCallouts(control_command_receive)
  34. ####deregisterAllCallouts(lease4_expire)
  35. ==16465== Invalid read of size 8
  36. ==16465==    at 0x5304468: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::size() const (stl_vector.h:655)
  37. ==16465==    by 0x5302CC9: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:256)
  38. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  39. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  40. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  41. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  42. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  43. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  44. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  45. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  46. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  47. ==16465==    by 0x5309349: isc::hooks::LibraryManagerCollection::~LibraryManagerCollection() (library_manager_collection.h:83)
  48. ==16465==  Address 0x8df0b50 is 16 bytes before a block of size 24 alloc'd
  49. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  50. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  51. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  52. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  53. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  54. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  55. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  56. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  57. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  58. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  59. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  60. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  61. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  62. ==16465==
  63. ==16465== Invalid read of size 8
  64. ==16465==    at 0x5304473: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::size() const (stl_vector.h:655)
  65. ==16465==    by 0x5302CC9: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:256)
  66. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  67. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  68. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  69. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  70. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  71. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  72. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  73. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  74. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  75. ==16465==    by 0x5309349: isc::hooks::LibraryManagerCollection::~LibraryManagerCollection() (library_manager_collection.h:83)
  76. ==16465==  Address 0x8df0b48 is 24 bytes before a block of size 24 alloc'd
  77. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  78. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  79. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  80. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  81. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  82. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  83. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  84. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  85. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  86. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  87. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  88. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  89. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  90. ==16465==
  91. ==16465== Invalid read of size 8
  92. ==16465==    at 0x5304A2A: __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >::__normal_iterator(std::pair<int, int (*)(isc::hooks::CalloutHandle&)>* const&) (stl_iterator.h:741)
  93. ==16465==    by 0x5303C7D: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::end() (stl_vector.h:566)
  94. ==16465==    by 0x5302CF3: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:263)
  95. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  96. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  97. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  98. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  99. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  100. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  101. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  102. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  103. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  104. ==16465==  Address 0x8df0b50 is 16 bytes before a block of size 24 alloc'd
  105. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  106. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  107. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  108. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  109. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  110. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  111. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  112. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  113. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  114. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  115. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  116. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  117. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  118. ==16465==
  119. ==16465== Invalid read of size 8
  120. ==16465==    at 0x5304A2A: __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >::__normal_iterator(std::pair<int, int (*)(isc::hooks::CalloutHandle&)>* const&) (stl_iterator.h:741)
  121. ==16465==    by 0x5303C7D: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::end() (stl_vector.h:566)
  122. ==16465==    by 0x5302D50: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:262)
  123. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  124. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  125. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  126. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  127. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  128. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  129. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  130. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  131. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  132. ==16465==  Address 0x8df0b50 is 16 bytes before a block of size 24 alloc'd
  133. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  134. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  135. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  136. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  137. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  138. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  139. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  140. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  141. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  142. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  143. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  144. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  145. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  146. ==16465==
  147. ==16465== Invalid read of size 8
  148. ==16465==    at 0x5304A2A: __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >::__normal_iterator(std::pair<int, int (*)(isc::hooks::CalloutHandle&)>* const&) (stl_iterator.h:741)
  149. ==16465==    by 0x5303C31: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::begin() (stl_vector.h:548)
  150. ==16465==    by 0x5302D79: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:262)
  151. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  152. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  153. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  154. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  155. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  156. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  157. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  158. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  159. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  160. ==16465==  Address 0x8df0b48 is 24 bytes before a block of size 24 alloc'd
  161. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  162. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  163. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  164. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  165. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  166. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  167. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  168. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  169. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  170. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  171. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  172. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  173. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  174. ==16465==
  175. ==16465== Invalid read of size 8
  176. ==16465==    at 0x5304A2A: __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >::__normal_iterator(std::pair<int, int (*)(isc::hooks::CalloutHandle&)>* const&) (stl_iterator.h:741)
  177. ==16465==    by 0x5303C31: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::begin() (stl_vector.h:548)
  178. ==16465==    by 0x530458F: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::erase(__gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> const*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> const*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >) (stl_vector.h:1175)
  179. ==16465==    by 0x5302DE6: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:263)
  180. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  181. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  182. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  183. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  184. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  185. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  186. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  187. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  188. ==16465==  Address 0x8df0b48 is 24 bytes before a block of size 24 alloc'd
  189. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  190. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  191. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  192. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  193. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  194. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  195. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  196. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  197. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  198. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  199. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  200. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  201. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  202. ==16465==
  203. ==16465== Invalid read of size 8
  204. ==16465==    at 0x53051B9: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::cbegin() const (stl_vector.h:621)
  205. ==16465==    by 0x530459F: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::erase(__gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> const*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> const*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >) (stl_vector.h:1176)
  206. ==16465==    by 0x5302DE6: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:263)
  207. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  208. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  209. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  210. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  211. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  212. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  213. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  214. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  215. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  216. ==16465==  Address 0x8df0b48 is 24 bytes before a block of size 24 alloc'd
  217. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  218. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  219. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  220. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  221. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  222. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  223. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  224. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  225. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  226. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  227. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  228. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  229. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  230. ==16465==
  231. ==16465== Invalid read of size 8
  232. ==16465==    at 0x5304468: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::size() const (stl_vector.h:655)
  233. ==16465==    by 0x5302E0C: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:266)
  234. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  235. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  236. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  237. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  238. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  239. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  240. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  241. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  242. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  243. ==16465==    by 0x5309349: isc::hooks::LibraryManagerCollection::~LibraryManagerCollection() (library_manager_collection.h:83)
  244. ==16465==  Address 0x8df0b50 is 16 bytes before a block of size 24 alloc'd
  245. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  246. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  247. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  248. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  249. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  250. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  251. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  252. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  253. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  254. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  255. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  256. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  257. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  258. ==16465==
  259. ==16465== Invalid read of size 8
  260. ==16465==    at 0x5304473: std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > >::size() const (stl_vector.h:655)
  261. ==16465==    by 0x5302E0C: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:266)
  262. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  263. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  264. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  265. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  266. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  267. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  268. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  269. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  270. ==16465==    by 0x5316E73: isc::hooks::LibraryManagerCollection::unloadLibraries() (library_manager_collection.cc:118)
  271. ==16465==    by 0x5309349: isc::hooks::LibraryManagerCollection::~LibraryManagerCollection() (library_manager_collection.h:83)
  272. ==16465==  Address 0x8df0b48 is 24 bytes before a block of size 24 alloc'd
  273. ==16465==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  274. ==16465==    by 0x5317AD9: boost::detail::shared_count::shared_count<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_count.hpp:130)
  275. ==16465==    by 0x5317767: void boost::detail::sp_pointer_construct<isc::hooks::CalloutManager, isc::hooks::CalloutManager>(boost::shared_ptr<isc::hooks::CalloutManager>*, isc::hooks::CalloutManager*, boost::detail::shared_count&) (shared_ptr.hpp:271)
  276. ==16465==    by 0x5317360: boost::shared_ptr<isc::hooks::CalloutManager>::shared_ptr<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:349)
  277. ==16465==    by 0x53170C2: void boost::shared_ptr<isc::hooks::CalloutManager>::reset<isc::hooks::CalloutManager>(isc::hooks::CalloutManager*) (shared_ptr.hpp:620)
  278. ==16465==    by 0x5316CC9: isc::hooks::LibraryManagerCollection::loadLibraries() (library_manager_collection.cc:82)
  279. ==16465==    by 0x5308C80: isc::hooks::HooksManager::loadLibrariesInternal(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:74)
  280. ==16465==    by 0x5308D44: isc::hooks::HooksManager::loadLibraries(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<isc::data::Element const> > > > const&) (hooks_manager.cc:91)
  281. ==16465==    by 0x40DDBF: (anonymous namespace)::LibLoadTest::loadLibs() (load_unload_unittest.cc:52)
  282. ==16465==    by 0x40EA65: (anonymous namespace)::LibLoadTest_commands_Test::TestBody() (load_unload_unittest.cc:95)
  283. ==16465==    by 0x434092: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
  284. ==16465==    by 0x434092: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
  285. ==16465==    by 0x42AAA4: testing::Test::Run() [clone .part.475] (gtest.cc:2475)
  286. ==16465==
  287. ####deregisterAllCallouts(lease4_recover)
  288. ==16465==
  289. ==16465== Process terminating with default action of signal 11 (SIGSEGV)
  290. ==16465==  Bad permissions for mapped region at address 0x552EA08
  291. ==16465==    at 0x53060CA: std::pair<int, int (*)(isc::hooks::CalloutHandle&)>::operator=(std::pair<int, int (*)(isc::hooks::CalloutHandle&)>&&) (stl_pair.h:170)
  292. ==16465==    by 0x53054C2: __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > > std::__remove_if<__gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, __gnu_cxx::__ops::_Iter_pred<std::binder1st<isc::hooks::CalloutManager::CalloutLibraryEqual> > >(__gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, __gnu_cxx::__ops::_Iter_pred<std::binder1st<isc::hooks::CalloutManager::CalloutLibraryEqual> >) (stl_algo.h:868)
  293. ==16465==    by 0x53046E3: __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > > std::remove_if<__gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, std::binder1st<isc::hooks::CalloutManager::CalloutLibraryEqual> >(__gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, __gnu_cxx::__normal_iterator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>*, std::vector<std::pair<int, int (*)(isc::hooks::CalloutHandle&)>, std::allocator<std::pair<int, int (*)(isc::hooks::CalloutHandle&)> > > >, std::binder1st<isc::hooks::CalloutManager::CalloutLibraryEqual>) (stl_algo.h:937)
  294. ==16465==    by 0x5302D91: isc::hooks::CalloutManager::deregisterAllCallouts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (callout_manager.cc:259)
  295. ==16465==    by 0x53160C0: isc::hooks::LibraryManager::unloadLibrary() (library_manager.cc:332)
  296. ==16465==    by 0x5314EE7: isc::hooks::LibraryManager::~LibraryManager() (library_manager.cc:61)
  297. ==16465==    by 0x5317B82: void boost::checked_delete<isc::hooks::LibraryManager>(isc::hooks::LibraryManager*) (checked_delete.hpp:34)
  298. ==16465==    by 0x53181B1: boost::detail::sp_counted_impl_p<isc::hooks::LibraryManager>::dispose() (sp_counted_impl.hpp:78)
  299. ==16465==    by 0x40F7FB: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  300. ==16465==    by 0x40F88E: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  301. ==16465==    by 0x530AA73: boost::shared_ptr<isc::hooks::LibraryManager>::~shared_ptr() (shared_ptr.hpp:323)
  302. ==16465==    by 0x531729F: boost::shared_ptr<isc::hooks::LibraryManager>::reset() (shared_ptr.hpp:614)
  303. ==16465==
  304. ==16465== HEAP SUMMARY:
  305. ==16465==     in use at exit: 345,731 bytes in 2,286 blocks
  306. ==16465==   total heap usage: 4,360 allocs, 2,074 frees, 480,818 bytes allocated
  307. ==16465==
  308. ==16465== LEAK SUMMARY:
  309. ==16465==    definitely lost: 0 bytes in 0 blocks
  310. ==16465==    indirectly lost: 0 bytes in 0 blocks
  311. ==16465==      possibly lost: 0 bytes in 0 blocks
  312. ==16465==    still reachable: 345,731 bytes in 2,286 blocks
  313. ==16465==         suppressed: 0 bytes in 0 blocks
  314. ==16465== Rerun with --leak-check=full to see details of leaked memory
  315. ==16465==
  316. ==16465== For counts of detected and suppressed errors, rerun with: -v
  317. ==16465== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top