==2178782== Memcheck, a memory error detector ==2178782== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2178782== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==2178782== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestImmersedBoundaryFftInterface -malloc_debug -malloc_dump -memory_info ==2178782== Parent PID: 2178034 ==2178782== ==2178782== Invalid free() / delete / delete[] / realloc() ==2178782== at 0x484BB6F: operator delete(void*, unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2178782== by 0x5B38103: ImmersedBoundaryMesh<2u, 2u>::Clear() (ImmersedBoundaryMesh.cpp:604) ==2178782== by 0x5B36979: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:524) ==2178782== by 0x5B36A59: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:525) ==2178782== by 0x11AA51: TestImmersedBoundaryFftInterface::TestConstructor() (TestImmersedBoundaryFftInterface.hpp:77) ==2178782== by 0x11BEB0: TestDescription_TestImmersedBoundaryFftInterface_TestConstructor::runTest() (TestImmersedBoundaryFftInterface.cpp:30) ==2178782== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2178782== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2178782== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2178782== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2178782== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2178782== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2178782== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2178782== Address 0x12424d10 is 0 bytes inside a block of size 48 free'd ==2178782== at 0x484BB6F: operator delete(void*, unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2178782== by 0x5ABE789: ImmersedBoundaryElement<2u, 2u>::~ImmersedBoundaryElement() (ImmersedBoundaryElement.cpp:63) ==2178782== by 0x5ABE7C9: ImmersedBoundaryElement<2u, 2u>::~ImmersedBoundaryElement() (ImmersedBoundaryElement.cpp:65) ==2178782== by 0x5B37F92: ImmersedBoundaryMesh<2u, 2u>::Clear() (ImmersedBoundaryMesh.cpp:583) ==2178782== by 0x5B36979: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:524) ==2178782== by 0x5B36A59: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:525) ==2178782== by 0x11AA51: TestImmersedBoundaryFftInterface::TestConstructor() (TestImmersedBoundaryFftInterface.hpp:77) ==2178782== by 0x11BEB0: TestDescription_TestImmersedBoundaryFftInterface_TestConstructor::runTest() (TestImmersedBoundaryFftInterface.cpp:30) ==2178782== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2178782== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2178782== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2178782== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2178782== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2178782== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2178782== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2178782== Block was alloc'd at ==2178782== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2178782== by 0x5B3621F: ImmersedBoundaryMesh<2u, 2u>::ImmersedBoundaryMesh(std::vector*, std::allocator*> >, std::vector*, std::allocator*> >, std::vector*, std::allocator*> >, unsigned int, unsigned int) (ImmersedBoundaryMesh.cpp:134) ==2178782== by 0x11A831: TestImmersedBoundaryFftInterface::TestConstructor() (TestImmersedBoundaryFftInterface.hpp:68) ==2178782== by 0x11BEB0: TestDescription_TestImmersedBoundaryFftInterface_TestConstructor::runTest() (TestImmersedBoundaryFftInterface.cpp:30) ==2178782== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2178782== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2178782== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2178782== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2178782== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2178782== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2178782== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2178782== { Memcheck:Free fun:_ZdlPvm fun:_ZN20ImmersedBoundaryMeshILj2ELj2EE5ClearEv fun:_ZN20ImmersedBoundaryMeshILj2ELj2EED1Ev fun:_ZN20ImmersedBoundaryMeshILj2ELj2EED0Ev fun:_ZN32TestImmersedBoundaryFftInterface15TestConstructorEv fun:_ZN64TestDescription_TestImmersedBoundaryFftInterface_TestConstructor7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2178782== ==2178782== FILE DESCRIPTORS: 9 open (3 std) at exit. ==2178782== Open file descriptor 12: ==2178782== at 0x80FD22D: pipe (pipe.c:29) ==2178782== by 0x100BB07D: ??? ==2178782== by 0xB9F24CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2178782== by 0x7A07418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2178782== by 0x79A0D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2178782== by 0x6675D38: PetscInitialize (pinit.c:924) ==2178782== by 0x654C2DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2178782== by 0x654C32D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2178782== by 0x11A31F: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2178782== by 0x115DD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2178782== by 0x118396: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2178782== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2178782== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2178782== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2178782== ==2178782== Open file descriptor 8: /dev/shm/open_mpi.0000 ==2178782== at 0x8101BCC: __open_nocancel (open64_nocancel.c:39) ==2178782== by 0x8085C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==2178782== by 0x78FF822: ??? ==2178782== by 0x78FF96F: ??? ==2178782== by 0xBA976DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2178782== by 0xBA97938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2178782== by 0xBA4D922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2178782== by 0xB9F22DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2178782== by 0x7A07418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2178782== by 0x79A0D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2178782== by 0x6675D38: PetscInitialize (pinit.c:924) ==2178782== by 0x654C2DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2178782== by 0x654C32D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2178782== by 0x11A31F: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2178782== by 0x115DD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2178782== by 0x118396: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2178782== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2178782== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2178782== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2178782== ==2178782== Open file descriptor 116: ==2178782== ==2178782== ==2178782== Open file descriptor 112: ==2178782== ==2178782== ==2178782== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryFftInterface_valgrind.txt ==2178782== ==2178782== ==2178782== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==2178782== ==2178782== ==2178782== ==2178782== HEAP SUMMARY: ==2178782== in use at exit: 700,631 bytes in 9,377 blocks ==2178782== total heap usage: 50,862 allocs, 41,494 frees, 1,361,959,106 bytes allocated ==2178782== ==2178782== LEAK SUMMARY: ==2178782== definitely lost: 0 bytes in 0 blocks ==2178782== indirectly lost: 0 bytes in 0 blocks ==2178782== possibly lost: 0 bytes in 0 blocks ==2178782== still reachable: 24 bytes in 2 blocks ==2178782== suppressed: 700,607 bytes in 9,375 blocks ==2178782== Reachable blocks (those to which a pointer was found) are not shown. ==2178782== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2178782== ==2178782== For lists of detected and suppressed errors, rerun with: -s ==2178782== ERROR SUMMARY: 9 errors from 1 contexts (suppressed: 34 from 34)