[ET Trac] [Einstein Toolkit] #1685: Access of freed memory in CarpetIOHDF5 during 1-Proc test of recoverML-EE.par
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Oct 28 10:44:54 CDT 2014
#1685: Access of freed memory in CarpetIOHDF5 during 1-Proc test of recoverML-
EE.par
----------------------+-----------------------------------------------------
Reporter: sbrandt | Owner: eschnett
Type: defect | Status: new
Priority: major | Milestone:
Component: Carpet | Version: development version
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by sbrandt):
My valgrind output is below. The line numbers may not be as helpful as the
function names. Although I logged it as a CarpetIOHDF5 problem, it's
possible that this is a Cactus problem.
{{{
==16347== Invalid read of size 1
==16347== at 0xCE1424: Util_StrCmpi (String.c:439)
==16347== by 0xCDC8A0: CCTK_Equals (Misc.c:128)
==16347== by 0x2EA5506: IOUtil_SetAllParameters
(CheckpointRecovery.c:979)
==16347== by 0x246AFC6: CarpetIOHDF5::OpenFileSet(_cGH const*,
std::string, char const*, int) (Input.cc:1025)
==16347== by 0x246BDF4: CarpetIOHDF5::Recover(_cGH*, char const*, int)
(Input.cc:375)
==16347== by 0x2EA4F1E: IOUtil_RecoverParameters
(CheckpointRecovery.c:751)
==16347== by 0x24619EF: CarpetIOHDF5_RecoverParameters (Input.cc:106)
==16347== by 0xF1474C: CCTKi_BindingsParameterRecovery_CarpetIOHDF5
(ScheduleCarpetIOHDF5.c:304)
==16347== by 0xEEEE14: CCTKi_BindingsParameterRecoveryInitialise
(BindingsParameterRecovery.c:363)
==16347== by 0xCCB052: CCTKi_RecoverParameters.isra.0
(InitialiseCactus.c:219)
==16347== by 0xCCB1E9: CCTKi_InitialiseCactus (InitialiseCactus.c:104)
==16347== by 0xCA32F5: main (flesh.cc:64)
==16347== Address 0x82d09d0 is 0 bytes inside a block of size 9 free'd
==16347== at 0x59F24C4: free (in /usr/lib64/valgrind
/vgpreload_memcheck-amd64-linux.so)
==16347== by 0xCDCD50: CCTK_SetString (Misc.c:1237)
==16347== by 0xCCC203: ParameterSetKeyword.isra.2 (Parameters.c:2072)
==16347== by 0xCCCF50: ParameterSetSimple (Parameters.c:2015)
==16347== by 0xCCE29C: ParameterSet (Parameters.c:1828)
==16347== by 0xCCE492: CCTK_ParameterSet (Parameters.c:660)
==16347== by 0x2EA5592: IOUtil_SetAllParameters
(CheckpointRecovery.c:965)
==16347== by 0x246AFC6: CarpetIOHDF5::OpenFileSet(_cGH const*,
std::string, char const*, int) (Input.cc:1025)
==16347== by 0x246BDF4: CarpetIOHDF5::Recover(_cGH*, char const*, int)
(Input.cc:375)
==16347== by 0x2EA4F1E: IOUtil_RecoverParameters
(CheckpointRecovery.c:751)
==16347== by 0x24619EF: CarpetIOHDF5_RecoverParameters (Input.cc:106)
==16347== by 0xF1474C: CCTKi_BindingsParameterRecovery_CarpetIOHDF5
(ScheduleCarpetIOHDF5.c:304)
}}}
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1685#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list