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