[MOAB-dev] Memory Leak in moab::Core::Initialize( )

Grindeanu, Iulian R. iulian at mcs.anl.gov
Fri Apr 22 08:44:09 CDT 2016


Thanks for reporting.
are you initializing mpi before calling moab::Core constructor?
If not, you should;

What version of moab are you using?
Iulian
________________________________
From: moab-dev-bounces at mcs.anl.gov [moab-dev-bounces at mcs.anl.gov] on behalf of Dario Pezzoli [dpezzoli at simscale.com]
Sent: Friday, April 22, 2016 8:31 AM
To: moab-dev at mcs.anl.gov
Subject: [MOAB-dev] Memory Leak in moab::Core::Initialize( )

Dear all,

I get a memory leak issue when it comes to free the memory allocated by the constructor moab::Core::Core( ).
Have someone already encountered this problem?

Many thanks in advance.

Yours,
Dario

Here is the Valgring report:
==20018==    at 0xDDA469B: opal_os_dirpath_create (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)
==20018==    by 0xDD3F4EC: orte_session_dir (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)
==20018==    by 0xDD529E9: orte_ess_base_app_setup (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)
==20018==    by 0x2A07EBA5: ??? (in /usr/lib/openmpi/lib/openmpi/mca_ess_singleton.so)
==20018==    by 0xDD32842: orte_init (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)
==20018==    by 0xDCF2023: ompi_mpi_init (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)
==20018==    by 0xDD0965F: PMPI_Init (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)
==20018==    by 0x5D6F060: moab::Core::initialize() (in /opt/moab/lib/x86_64-linux-gnu/libMOAB.so.4.9.0)
==20018==    by 0x5D6F11C: moab::Core::Core() (in /opt/moab/lib/x86_64-linux-gnu/libMOAB.so.4.9.0)
==20018==    by 0x45BFBD: mesh::MoabMesh::initializeMoabInterface()


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20160422/5800163d/attachment.html>


More information about the moab-dev mailing list