OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000004OMNeT++runtime / Tkenvpublic2008-11-24 11:352008-11-25 05:38
Reporterbaumgart 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.0b8 
Target VersionFixed in Version4.0rc1 
Summary0000004: valgrind errors with Tkenv::objectDeleted()
DescriptionThere are several valgrind errors with Tkenv::objectDeleted(), e.g.:

==13972== Conditional jump or move depends on uninitialised value(s)
==13972== at 0x47FCA28: Tkenv::objectDeleted(cObject*) (tkenv.cc:1115)
==13972== by 0x4AD7615: cObject::~cObject() (cobject.cc:31)
==13972== by 0x4AC1AC0: cRNG::~cRNG() (crng.h:58)
==13972== by 0x4AC4516: cMersenneTwister::~cMersenneTwister() (cmersennetwister.h:50)
==13972== by 0x4903B27: EnvirBase::readPerRunOptions() (envirbase.cc:1076)
==13972== by 0x47FD3AE: Tkenv::readPerRunOptions() (tkenv.cc:1055)
==13972== by 0x47FE84A: Tkenv::newRun(char const*, int) (tkenv.cc:748)
==13972== by 0x480DAEA: newRun_cmd(void*, Tcl_Interp*, int, char const**) (tkcmd.cc:301)
==13972== by 0x4F8FB6D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so.0)
==13972== by 0x4F90E55: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so.0)
==13972== by 0x4FBBDE6: (within /usr/lib/libtcl8.4.so.0)
==13972== by 0x4FB9F3E: TclCompEvalObj (in /usr/lib/libtcl8.4.so.0)


==13972== Conditional jump or move depends on uninitialised value(s)
==13972== at 0x47FCA28: Tkenv::objectDeleted(cObject*) (tkenv.cc:1115)
==13972== by 0x4AD7615: cObject::~cObject() (cobject.cc:31)
==13972== by 0x4ADA1A4: cNamedObject::~cNamedObject() (cnamedobject.cc:73)
==13972== by 0x4ADCFCB: cOwnedObject::~cOwnedObject() (cownedobject.cc:116)
==13972== by 0x8202625: cNoncopyableOwnedObject::~cNoncopyableOwnedObject() (cownedobject.h:251)
==13972== by 0x4AA4A82: cDefaultList::~cDefaultList() (cdefaultlist.cc:91)
==13972== by 0x4A9D516: cModuleType::create(char const*, cModule*, int, int) (ccomponenttype.cc:162)
==13972== by 0x4A9C671: cModuleType::create(char const*, cModule*) (ccomponenttype.cc:106)
==13972== by 0x4AEDD46: cSimulation::setupNetwork(cModuleType*) (csimulation.cc:381)
==13972== by 0x47FE94D: Tkenv::newRun(char const*, int) (tkenv.cc:762)
==13972== by 0x480DAEA: newRun_cmd(void*, Tcl_Interp*, int, char const**) (tkcmd.cc:301)
==13972== by 0x4F8FB6D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so.0)

==13972== Conditional jump or move depends on uninitialised value(s)
==13972== at 0x47FCA28: Tkenv::objectDeleted(cObject*) (tkenv.cc:1115)
==13972== by 0x4AD7615: cObject::~cObject() (cobject.cc:31)
==13972== by 0x4ADBC41: cPar::~cPar() (cpar.cc:40)
==13972== by 0x4A9ACEE: cComponent::reallocParamv(int) (ccomponent.cc:100)
==13972== by 0x4A9AE71: cComponent::addPar(cParImpl*) (ccomponent.cc:112)
==13972== by 0x4B4D62D: cNEDNetworkBuilder::doParam(cComponent*, ParamElement*, bool) (cnednetworkbuilder.cc:175)
==13972== by 0x4B4D9E9: cNEDNetworkBuilder::doParams(cComponent*, ParametersElement*, bool) (cnednetworkbuilder.cc:138)
==13972== by 0x4B4EFA0: cNEDNetworkBuilder::addParametersAndGatesTo(cComponent*, cNEDDeclaration*) (cnednetworkbuilder.cc:104)
==13972== by 0x4B49F49: cDynamicModuleType::addParametersAndGatesTo(cModule*) (cdynamicmoduletype.cc:72)
==13972== by 0x4A9D4D7: cModuleType::create(char const*, cModule*, int, int) (ccomponenttype.cc:156)
==13972== by 0x4A9C671: cModuleType::create(char const*, cModule*) (ccomponenttype.cc:106)
==13972== by 0x4B4E6D0: cNEDNetworkBuilder::addSubmodule(cModule*, SubmoduleElement*) (cnednetworkbuilder.cc:532)

Additional InformationUbuntu 8.04 with gcc 4.2.4
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000019)
andras (administrator)
2008-11-25 05:38

fixed in tkenv.cc

- Issue History
Date Modified Username Field Change
2008-11-24 11:35 baumgart New Issue
2008-11-24 11:35 baumgart Status new => assigned
2008-11-24 11:35 baumgart Assigned To => andras
2008-11-25 05:38 andras Status assigned => resolved
2008-11-25 05:38 andras Fixed in Version => 4.0b9
2008-11-25 05:38 andras Resolution open => fixed
2008-11-25 05:38 andras Note Added: 0000019


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker