==490958== Memcheck, a memory error detector ==490958== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==490958== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==490958== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestEdge -malloc_debug -malloc_dump -memory_info ==490958== Parent PID: 490496 ==490958== ==490958== ==490958== FILE DESCRIPTORS: 9 open (3 std) at exit. ==490958== Open file descriptor 12: ==490958== at 0x7E4922D: pipe (pipe.c:29) ==490958== by 0xFDF307D: ??? ==490958== by 0xB7344CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==490958== by 0x7755418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==490958== by 0x76EED7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==490958== by 0x63E5D38: PetscInitialize (pinit.c:924) ==490958== by 0x625558B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==490958== by 0x62555D9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==490958== by 0x16CC01: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==490958== by 0x165903: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==490958== by 0x168DBE: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== ==490958== Open file descriptor 8: /dev/shm/open_mpi.0000 ==490958== at 0x7E4DBCC: __open_nocancel (open64_nocancel.c:39) ==490958== by 0x7DD1C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==490958== by 0x628D822: ??? ==490958== by 0x628D96F: ??? ==490958== by 0xB7D96DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==490958== by 0xB7D9938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==490958== by 0xB78F922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==490958== by 0xB7342DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==490958== by 0x7755418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==490958== by 0x76EED7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==490958== by 0x63E5D38: PetscInitialize (pinit.c:924) ==490958== by 0x625558B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==490958== by 0x62555D9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==490958== by 0x16CC01: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==490958== by 0x165903: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==490958== by 0x168DBE: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== ==490958== Open file descriptor 114: ==490958== ==490958== ==490958== Open file descriptor 111: ==490958== ==490958== ==490958== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestEdge_valgrind.txt ==490958== ==490958== ==490958== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==490958== ==490958== ==490958== ==490958== HEAP SUMMARY: ==490958== in use at exit: 710,002 bytes in 9,514 blocks ==490958== total heap usage: 50,134 allocs, 40,620 frees, 1,353,456,610 bytes allocated ==490958== ==490958== 96 (80 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 51 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x16CE65: TestEdge::TestEdgeInitialisation() (TestEdge.hpp:66) ==490958== by 0x1796F6: TestDescription_TestEdge_TestEdgeInitialisation::runTest() (TestEdge.cpp:31) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN8TestEdge22TestEdgeInitialisationEv fun:_ZN47TestDescription_TestEdge_TestEdgeInitialisation7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 96 (80 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 52 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x1723DF: TestEdge::TestEdgeProperties() (TestEdge.hpp:227) ==490958== by 0x1797CA: TestDescription_TestEdge_TestEdgeProperties::runTest() (TestEdge.cpp:43) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN8TestEdge18TestEdgePropertiesEv fun:_ZN43TestDescription_TestEdge_TestEdgeProperties7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 176 (40 direct, 136 indirect) bytes in 1 blocks are definitely lost in loss record 64 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x188BD9: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==490958== by 0x187F9F: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==490958== by 0x187228: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==490958== by 0x187FFF: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==490958== by 0x1872DE: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==490958== by 0x574A423: std::_Rb_tree_iterator std::_Rb_tree, std::less, std::allocator >::_M_insert_, std::less, std::allocator >::_Alloc_node>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, unsigned int const&, std::_Rb_tree, std::less, std::allocator >::_Alloc_node&) (stl_tree.h:1784) ==490958== by 0x5744175: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==490958== by 0x573F807: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==490958== by 0x580C51B: Edge<2u>::AddElement(unsigned int) (Edge.cpp:178) ==490958== by 0x580FE74: EdgeHelper<2u>::GetEdgeFromNodes(unsigned int, Node<2u>*, Node<2u>*) (EdgeHelper.cpp:73) ==490958== by 0x58515CF: MutableElement<2u, 2u>::BuildEdges() (MutableElement.cpp:299) ==490958== by 0x5BBB613: VertexMesh<2u, 2u>::GenerateEdgesFromElements(std::vector*, std::allocator*> >&) (VertexMesh.cpp:506) ==490958== by 0x5BBC5FA: VertexMesh<2u, 2u>::VertexMesh(std::vector*, std::allocator*> >, std::vector*, std::allocator*> >) (VertexMesh.cpp:101) ==490958== by 0x16D9F4: TestEdge::TestEdgeInitialisation() (TestEdge.hpp:129) ==490958== by 0x1796F6: TestDescription_TestEdge_TestEdgeInitialisation::runTest() (TestEdge.cpp:31) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIjEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaISt13_Rb_tree_nodeIjEEE8allocateERS2_m fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_M_get_nodeEv fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE14_M_create_nodeIJRKjEEEPSt13_Rb_tree_nodeIjEDpOT_ fun:_ZNKSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_Alloc_nodeclIRKjEEPSt13_Rb_tree_nodeIjEOT_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IRKjNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIjEPSt18_Rb_tree_node_baseSD_OT_RT0_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIRKjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_ fun:_ZNSt3setIjSt4lessIjESaIjEE6insertERKj fun:_ZN4EdgeILj2EE10AddElementEj fun:_ZN10EdgeHelperILj2EE16GetEdgeFromNodesEjP4NodeILj2EES3_ fun:_ZN14MutableElementILj2ELj2EE10BuildEdgesEv fun:_ZN10VertexMeshILj2ELj2EE25GenerateEdgesFromElementsERSt6vectorIP13VertexElementILj2ELj2EESaIS4_EE fun:_ZN10VertexMeshILj2ELj2EEC1ESt6vectorIP4NodeILj2EESaIS4_EES1_IP13VertexElementILj2ELj2EESaIS9_EE fun:_ZN8TestEdge22TestEdgeInitialisationEv fun:_ZN47TestDescription_TestEdge_TestEdgeInitialisation7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 192 bytes in 1 blocks are definitely lost in loss record 77 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x1A64FC: boost::archive::detail::heap_allocation >::doesnt_have_new_operator::invoke_new() (iserializer.hpp:241) ==490958== by 0x1A6192: boost::archive::detail::heap_allocation >::invoke_new() (iserializer.hpp:255) ==490958== by 0x1A5920: boost::archive::detail::heap_allocation >::heap_allocation() (iserializer.hpp:268) ==490958== by 0x1A42C7: boost::archive::detail::pointer_iserializer >::heap_allocation() const (iserializer.hpp:293) ==490958== by 0x62C9830: ??? (in /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0) ==490958== by 0x18D3DB: void boost::archive::detail::load_pointer_type::invoke*>(boost::archive::text_iarchive&, Node<2u>*&) (iserializer.hpp:541) ==490958== by 0x18CE98: void boost::archive::load*>(boost::archive::text_iarchive&, Node<2u>*&) (iserializer.hpp:624) ==490958== by 0x18CA8F: void boost::archive::detail::common_iarchive::load_override*>(Node<2u>*&) (common_iarchive.hpp:67) ==490958== by 0x18C6CC: void boost::archive::basic_text_iarchive::load_override*>(Node<2u>*&) (basic_text_iarchive.hpp:70) ==490958== by 0x18C2A6: void boost::archive::text_iarchive_impl::load_override*>(Node<2u>*&) (text_iarchive.hpp:82) ==490958== by 0x18BC8D: boost::archive::text_iarchive& boost::archive::detail::interface_iarchive::operator>>*>(Node<2u>*&) (interface_iarchive.hpp:68) ==490958== by 0x18B6FB: boost::archive::text_iarchive& boost::archive::detail::interface_iarchive::operator&*>(Node<2u>*&) (interface_iarchive.hpp:75) ==490958== by 0x18AFF3: void boost::serialization::load_construct_data(boost::archive::text_iarchive&, Edge<2u>*, unsigned int) (Edge.hpp:263) ==490958== by 0x18A909: void boost::serialization::load_construct_data_adl >(boost::archive::text_iarchive&, Edge<2u>*, unsigned int) (serialization.hpp:140) ==490958== by 0x18A14B: boost::archive::detail::pointer_iserializer >::load_object_ptr(boost::archive::detail::basic_iarchive&, void*, unsigned int) const (iserializer.hpp:340) ==490958== by 0x62C99F4: ??? (in /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0) ==490958== by 0x187458: void boost::archive::detail::load_pointer_type::invoke*>(boost::archive::text_iarchive&, Edge<2u>*&) (iserializer.hpp:541) ==490958== by 0x186044: void boost::archive::load*>(boost::archive::text_iarchive&, Edge<2u>*&) (iserializer.hpp:624) ==490958== by 0x1847B7: void boost::archive::detail::common_iarchive::load_override*>(Edge<2u>*&) (common_iarchive.hpp:67) ==490958== by 0x1822B2: void boost::archive::basic_text_iarchive::load_override*>(Edge<2u>*&) (basic_text_iarchive.hpp:70) ==490958== by 0x17EF40: void boost::archive::text_iarchive_impl::load_override*>(Edge<2u>*&) (text_iarchive.hpp:82) ==490958== by 0x17B7EF: boost::archive::text_iarchive& boost::archive::detail::interface_iarchive::operator>>*>(Edge<2u>*&) (interface_iarchive.hpp:68) ==490958== by 0x1748C6: TestEdge::TestArchiveEdge() (TestEdge.hpp:316) ==490958== by 0x179834: TestDescription_TestEdge_TestArchiveEdge::runTest() (TestEdge.cpp:49) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN5boost7archive6detail15heap_allocationI4NodeILj2EEE24doesnt_have_new_operator10invoke_newEv fun:_ZN5boost7archive6detail15heap_allocationI4NodeILj2EEE10invoke_newEv fun:_ZN5boost7archive6detail15heap_allocationI4NodeILj2EEEC1Ev fun:_ZNK5boost7archive6detail19pointer_iserializerINS0_13text_iarchiveE4NodeILj2EEE15heap_allocationEv obj:/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0 fun:_ZN5boost7archive6detail17load_pointer_typeINS0_13text_iarchiveEE6invokeIP4NodeILj2EEEEvRS3_RT_ fun:_ZN5boost7archive4loadINS0_13text_iarchiveEP4NodeILj2EEEEvRT_RT0_ fun:_ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE13load_overrideIP4NodeILj2EEEEvRT_ fun:_ZN5boost7archive19basic_text_iarchiveINS0_13text_iarchiveEE13load_overrideIP4NodeILj2EEEEvRT_ fun:_ZN5boost7archive18text_iarchive_implINS0_13text_iarchiveEE13load_overrideIP4NodeILj2EEEEvRT_ fun:_ZN5boost7archive6detail18interface_iarchiveINS0_13text_iarchiveEErsIP4NodeILj2EEEERS3_RT_ fun:_ZN5boost7archive6detail18interface_iarchiveINS0_13text_iarchiveEEanIP4NodeILj2EEEERS3_RT_ fun:_ZN5boost13serialization19load_construct_dataINS_7archive13text_iarchiveELj2EEEvRT_P4EdgeIXT0_EEj fun:_ZN5boost13serialization23load_construct_data_adlINS_7archive13text_iarchiveE4EdgeILj2EEEEvRT_PT0_j fun:_ZNK5boost7archive6detail19pointer_iserializerINS0_13text_iarchiveE4EdgeILj2EEE15load_object_ptrERNS1_14basic_iarchiveEPvj obj:/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0 fun:_ZN5boost7archive6detail17load_pointer_typeINS0_13text_iarchiveEE6invokeIP4EdgeILj2EEEEvRS3_RT_ fun:_ZN5boost7archive4loadINS0_13text_iarchiveEP4EdgeILj2EEEEvRT_RT0_ fun:_ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE13load_overrideIP4EdgeILj2EEEEvRT_ fun:_ZN5boost7archive19basic_text_iarchiveINS0_13text_iarchiveEE13load_overrideIP4EdgeILj2EEEEvRT_ fun:_ZN5boost7archive18text_iarchive_implINS0_13text_iarchiveEE13load_overrideIP4EdgeILj2EEEEvRT_ fun:_ZN5boost7archive6detail18interface_iarchiveINS0_13text_iarchiveEErsIP4EdgeILj2EEEERS3_RT_ fun:_ZN8TestEdge15TestArchiveEdgeEv fun:_ZN40TestDescription_TestEdge_TestArchiveEdge7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 192 bytes in 1 blocks are definitely lost in loss record 78 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x1A64FC: boost::archive::detail::heap_allocation >::doesnt_have_new_operator::invoke_new() (iserializer.hpp:241) ==490958== by 0x1A6192: boost::archive::detail::heap_allocation >::invoke_new() (iserializer.hpp:255) ==490958== by 0x1A5920: boost::archive::detail::heap_allocation >::heap_allocation() (iserializer.hpp:268) ==490958== by 0x1A42C7: boost::archive::detail::pointer_iserializer >::heap_allocation() const (iserializer.hpp:293) ==490958== by 0x62C9830: ??? (in /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0) ==490958== by 0x18D3DB: void boost::archive::detail::load_pointer_type::invoke*>(boost::archive::text_iarchive&, Node<2u>*&) (iserializer.hpp:541) ==490958== by 0x18CE98: void boost::archive::load*>(boost::archive::text_iarchive&, Node<2u>*&) (iserializer.hpp:624) ==490958== by 0x18CA8F: void boost::archive::detail::common_iarchive::load_override*>(Node<2u>*&) (common_iarchive.hpp:67) ==490958== by 0x18C6CC: void boost::archive::basic_text_iarchive::load_override*>(Node<2u>*&) (basic_text_iarchive.hpp:70) ==490958== by 0x18C2A6: void boost::archive::text_iarchive_impl::load_override*>(Node<2u>*&) (text_iarchive.hpp:82) ==490958== by 0x18BC8D: boost::archive::text_iarchive& boost::archive::detail::interface_iarchive::operator>>*>(Node<2u>*&) (interface_iarchive.hpp:68) ==490958== by 0x18B6FB: boost::archive::text_iarchive& boost::archive::detail::interface_iarchive::operator&*>(Node<2u>*&) (interface_iarchive.hpp:75) ==490958== by 0x18B006: void boost::serialization::load_construct_data(boost::archive::text_iarchive&, Edge<2u>*, unsigned int) (Edge.hpp:265) ==490958== by 0x18A909: void boost::serialization::load_construct_data_adl >(boost::archive::text_iarchive&, Edge<2u>*, unsigned int) (serialization.hpp:140) ==490958== by 0x18A14B: boost::archive::detail::pointer_iserializer >::load_object_ptr(boost::archive::detail::basic_iarchive&, void*, unsigned int) const (iserializer.hpp:340) ==490958== by 0x62C99F4: ??? (in /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0) ==490958== by 0x187458: void boost::archive::detail::load_pointer_type::invoke*>(boost::archive::text_iarchive&, Edge<2u>*&) (iserializer.hpp:541) ==490958== by 0x186044: void boost::archive::load*>(boost::archive::text_iarchive&, Edge<2u>*&) (iserializer.hpp:624) ==490958== by 0x1847B7: void boost::archive::detail::common_iarchive::load_override*>(Edge<2u>*&) (common_iarchive.hpp:67) ==490958== by 0x1822B2: void boost::archive::basic_text_iarchive::load_override*>(Edge<2u>*&) (basic_text_iarchive.hpp:70) ==490958== by 0x17EF40: void boost::archive::text_iarchive_impl::load_override*>(Edge<2u>*&) (text_iarchive.hpp:82) ==490958== by 0x17B7EF: boost::archive::text_iarchive& boost::archive::detail::interface_iarchive::operator>>*>(Edge<2u>*&) (interface_iarchive.hpp:68) ==490958== by 0x1748C6: TestEdge::TestArchiveEdge() (TestEdge.hpp:316) ==490958== by 0x179834: TestDescription_TestEdge_TestArchiveEdge::runTest() (TestEdge.cpp:49) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN5boost7archive6detail15heap_allocationI4NodeILj2EEE24doesnt_have_new_operator10invoke_newEv fun:_ZN5boost7archive6detail15heap_allocationI4NodeILj2EEE10invoke_newEv fun:_ZN5boost7archive6detail15heap_allocationI4NodeILj2EEEC1Ev fun:_ZNK5boost7archive6detail19pointer_iserializerINS0_13text_iarchiveE4NodeILj2EEE15heap_allocationEv obj:/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0 fun:_ZN5boost7archive6detail17load_pointer_typeINS0_13text_iarchiveEE6invokeIP4NodeILj2EEEEvRS3_RT_ fun:_ZN5boost7archive4loadINS0_13text_iarchiveEP4NodeILj2EEEEvRT_RT0_ fun:_ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE13load_overrideIP4NodeILj2EEEEvRT_ fun:_ZN5boost7archive19basic_text_iarchiveINS0_13text_iarchiveEE13load_overrideIP4NodeILj2EEEEvRT_ fun:_ZN5boost7archive18text_iarchive_implINS0_13text_iarchiveEE13load_overrideIP4NodeILj2EEEEvRT_ fun:_ZN5boost7archive6detail18interface_iarchiveINS0_13text_iarchiveEErsIP4NodeILj2EEEERS3_RT_ fun:_ZN5boost7archive6detail18interface_iarchiveINS0_13text_iarchiveEEanIP4NodeILj2EEEERS3_RT_ fun:_ZN5boost13serialization19load_construct_dataINS_7archive13text_iarchiveELj2EEEvRT_P4EdgeIXT0_EEj fun:_ZN5boost13serialization23load_construct_data_adlINS_7archive13text_iarchiveE4EdgeILj2EEEEvRT_PT0_j fun:_ZNK5boost7archive6detail19pointer_iserializerINS0_13text_iarchiveE4EdgeILj2EEE15load_object_ptrERNS1_14basic_iarchiveEPvj obj:/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.74.0 fun:_ZN5boost7archive6detail17load_pointer_typeINS0_13text_iarchiveEE6invokeIP4EdgeILj2EEEEvRS3_RT_ fun:_ZN5boost7archive4loadINS0_13text_iarchiveEP4EdgeILj2EEEEvRT_RT0_ fun:_ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE13load_overrideIP4EdgeILj2EEEEvRT_ fun:_ZN5boost7archive19basic_text_iarchiveINS0_13text_iarchiveEE13load_overrideIP4EdgeILj2EEEEvRT_ fun:_ZN5boost7archive18text_iarchive_implINS0_13text_iarchiveEE13load_overrideIP4EdgeILj2EEEEvRT_ fun:_ZN5boost7archive6detail18interface_iarchiveINS0_13text_iarchiveEErsIP4EdgeILj2EEEERS3_RT_ fun:_ZN8TestEdge15TestArchiveEdgeEv fun:_ZN40TestDescription_TestEdge_TestArchiveEdge7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 736 (120 direct, 616 indirect) bytes in 3 blocks are definitely lost in loss record 108 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x188BD9: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==490958== by 0x187F9F: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==490958== by 0x187228: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==490958== by 0x187FFF: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==490958== by 0x1872DE: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==490958== by 0x574A423: std::_Rb_tree_iterator std::_Rb_tree, std::less, std::allocator >::_M_insert_, std::less, std::allocator >::_Alloc_node>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, unsigned int const&, std::_Rb_tree, std::less, std::allocator >::_Alloc_node&) (stl_tree.h:1784) ==490958== by 0x5744175: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==490958== by 0x573F807: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==490958== by 0x58C363F: Node<2u>::AddElement(unsigned int) (Node.cpp:300) ==490958== by 0x5850867: MutableElement<2u, 2u>::RegisterWithNodes() (MutableElement.cpp:69) ==490958== by 0x585077A: MutableElement<2u, 2u>::MutableElement(unsigned int, std::vector*, std::allocator*> > const&) (MutableElement.cpp:55) ==490958== by 0x5BAAAA7: VertexElement<2u, 2u>::VertexElement(unsigned int, std::vector*, std::allocator*> > const&) (VertexElement.cpp:103) ==490958== by 0x172B8C: TestEdge::TestEdgeProperties() (TestEdge.hpp:270) ==490958== by 0x1797CA: TestDescription_TestEdge_TestEdgeProperties::runTest() (TestEdge.cpp:43) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIjEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaISt13_Rb_tree_nodeIjEEE8allocateERS2_m fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_M_get_nodeEv fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE14_M_create_nodeIJRKjEEEPSt13_Rb_tree_nodeIjEDpOT_ fun:_ZNKSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_Alloc_nodeclIRKjEEPSt13_Rb_tree_nodeIjEOT_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IRKjNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIjEPSt18_Rb_tree_node_baseSD_OT_RT0_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIRKjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_ fun:_ZNSt3setIjSt4lessIjESaIjEE6insertERKj fun:_ZN4NodeILj2EE10AddElementEj fun:_ZN14MutableElementILj2ELj2EE17RegisterWithNodesEv fun:_ZN14MutableElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN13VertexElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN8TestEdge18TestEdgePropertiesEv fun:_ZN43TestDescription_TestEdge_TestEdgeProperties7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 1,456 (304 direct, 1,152 indirect) bytes in 1 blocks are definitely lost in loss record 113 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x16D647: TestEdge::TestEdgeInitialisation() (TestEdge.hpp:103) ==490958== by 0x1796F6: TestDescription_TestEdge_TestEdgeInitialisation::runTest() (TestEdge.cpp:31) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN8TestEdge22TestEdgeInitialisationEv fun:_ZN47TestDescription_TestEdge_TestEdgeInitialisation7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 2,928 (144 direct, 2,784 indirect) bytes in 1 blocks are definitely lost in loss record 115 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x172BB6: TestEdge::TestEdgeProperties() (TestEdge.hpp:271) ==490958== by 0x1797CA: TestDescription_TestEdge_TestEdgeProperties::runTest() (TestEdge.cpp:43) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN8TestEdge18TestEdgePropertiesEv fun:_ZN43TestDescription_TestEdge_TestEdgeProperties7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== 3,488 (48 direct, 3,440 indirect) bytes in 1 blocks are definitely lost in loss record 116 of 120 ==490958== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==490958== by 0x58199BA: __gnu_cxx::new_allocator const, Edge<2u>*> > >::allocate(unsigned long, void const*) (new_allocator.h:127) ==490958== by 0x5818BA3: std::allocator_traits const, Edge<2u>*> > > >::allocate(std::allocator const, Edge<2u>*> > >&, unsigned long) (alloc_traits.h:464) ==490958== by 0x58173FE: std::_Rb_tree, std::pair const, Edge<2u>*>, std::_Select1st const, Edge<2u>*> >, std::less >, std::allocator const, Edge<2u>*> > >::_M_get_node() (stl_tree.h:561) ==490958== by 0x58159E6: std::_Rb_tree_node const, Edge<2u>*> >* std::_Rb_tree, std::pair const, Edge<2u>*>, std::_Select1st const, Edge<2u>*> >, std::less >, std::allocator const, Edge<2u>*> > >::_M_create_node const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple const&>&&, std::tuple<>&&) (stl_tree.h:611) ==490958== by 0x5813272: std::_Rb_tree_iterator const, Edge<2u>*> > std::_Rb_tree, std::pair const, Edge<2u>*>, std::_Select1st const, Edge<2u>*> >, std::less >, std::allocator const, Edge<2u>*> > >::_M_emplace_hint_unique const&>, std::tuple<> >(std::_Rb_tree_const_iterator const, Edge<2u>*> >, std::piecewise_construct_t const&, std::tuple const&>&&, std::tuple<>&&) (stl_tree.h:2431) ==490958== by 0x581166F: std::map, Edge<2u>*, std::less >, std::allocator const, Edge<2u>*> > >::operator[](std::pair const&) (stl_map.h:501) ==490958== by 0x580FDBA: EdgeHelper<2u>::GetEdgeFromNodes(Node<2u>*, Node<2u>*) (EdgeHelper.cpp:57) ==490958== by 0x580FE5F: EdgeHelper<2u>::GetEdgeFromNodes(unsigned int, Node<2u>*, Node<2u>*) (EdgeHelper.cpp:72) ==490958== by 0x58515CF: MutableElement<2u, 2u>::BuildEdges() (MutableElement.cpp:299) ==490958== by 0x5BBB613: VertexMesh<2u, 2u>::GenerateEdgesFromElements(std::vector*, std::allocator*> >&) (VertexMesh.cpp:506) ==490958== by 0x5BBC5FA: VertexMesh<2u, 2u>::VertexMesh(std::vector*, std::allocator*> >, std::vector*, std::allocator*> >) (VertexMesh.cpp:101) ==490958== by 0x16D9F4: TestEdge::TestEdgeInitialisation() (TestEdge.hpp:129) ==490958== by 0x1796F6: TestDescription_TestEdge_TestEdgeInitialisation::runTest() (TestEdge.cpp:31) ==490958== by 0x164EFE: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==490958== by 0x16906C: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==490958== by 0x168F51: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==490958== by 0x168DF7: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==490958== by 0x168C5E: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==490958== by 0x1692F5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==490958== by 0x163BF0: main (TestEdge.cpp:19) ==490958== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKS2_IjjEP4EdgeILj2EEEEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaISt13_Rb_tree_nodeISt4pairIKS1_IjjEP4EdgeILj2EEEEEE8allocateERS9_m fun:_ZNSt8_Rb_treeISt4pairIjjES0_IKS1_P4EdgeILj2EEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE11_M_get_nodeEv fun:_ZNSt8_Rb_treeISt4pairIjjES0_IKS1_P4EdgeILj2EEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE14_M_create_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS2_EESH_IJEEEEEPSt13_Rb_tree_nodeIS6_EDpOT_ fun:_ZNSt8_Rb_treeISt4pairIjjES0_IKS1_P4EdgeILj2EEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS2_EESH_IJEEEEESt17_Rb_tree_iteratorIS6_ESt23_Rb_tree_const_iteratorIS6_EDpOT_ fun:_ZNSt3mapISt4pairIjjEP4EdgeILj2EESt4lessIS1_ESaIS0_IKS1_S4_EEEixERS7_ fun:_ZN10EdgeHelperILj2EE16GetEdgeFromNodesEP4NodeILj2EES3_ fun:_ZN10EdgeHelperILj2EE16GetEdgeFromNodesEjP4NodeILj2EES3_ fun:_ZN14MutableElementILj2ELj2EE10BuildEdgesEv fun:_ZN10VertexMeshILj2ELj2EE25GenerateEdgesFromElementsERSt6vectorIP13VertexElementILj2ELj2EESaIS4_EE fun:_ZN10VertexMeshILj2ELj2EEC1ESt6vectorIP4NodeILj2EESaIS4_EES1_IP13VertexElementILj2ELj2EESaIS9_EE fun:_ZN8TestEdge22TestEdgeInitialisationEv fun:_ZN47TestDescription_TestEdge_TestEdgeInitialisation7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==490958== LEAK SUMMARY: ==490958== definitely lost: 1,200 bytes in 11 blocks ==490958== indirectly lost: 8,160 bytes in 126 blocks ==490958== possibly lost: 0 bytes in 0 blocks ==490958== still reachable: 24 bytes in 2 blocks ==490958== suppressed: 700,618 bytes in 9,375 blocks ==490958== Reachable blocks (those to which a pointer was found) are not shown. ==490958== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==490958== ==490958== For lists of detected and suppressed errors, rerun with: -s ==490958== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 34 from 34)