https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- This one is real: Running simulation... ** Event #1 T=0 Elapsed: 0.000s (0m 00s) 0% completed ev/sec=0 ** Event #2160226 T=0.003 Elapsed: 0.000s (0m 00s) 100% completed ev/sec=0 <!> Simulation time limit reached -- simulation stopped. Calling finish() at end of Run #0... ==24978== Invalid free() / delete / delete[] / realloc() ==24978== at 0x4841685: operator delete(void*, unsigned long) (vg_replace_malloc.c:814) ==24978== by 0x48FA61: UnknownInlinedFun (new_allocator.h:157) ==24978== by 0x48FA61: UnknownInlinedFun (alloc_traits.h:496) ==24978== by 0x48FA61: UnknownInlinedFun (basic_string.h:247) ==24978== by 0x48FA61: UnknownInlinedFun (basic_string.h:242) ==24978== by 0x48FA61: UnknownInlinedFun (basic_string.h:675) ==24978== by 0x48FA61: sRunData::writeRunData(_IO_FILE*, opp_string) (runattributes.cc:85) ==24978== by 0x43F227: cFileOutputScalarManager::init() (fileoutscalarmgr.cc:115) ==24978== by 0x43F764: cFileOutputScalarManager::recordScalar(cComponent*, char const*, double, opp_string_map*) (fileoutscalarmgr.cc:162) ==24978== by 0x527EBA: UnknownInlinedFun (ccomponent.cc:232) ==24978== by 0x527EBA: MACRelayUnitNP::finish() (MACRelayUnitNP.cc:205) ==24978== by 0x46E9CA: cModule::callFinish() (cmodule.cc:1151) ==24978== by 0x46E97B: cModule::callFinish() (cmodule.cc:1144) ==24978== by 0x46E97B: cModule::callFinish() (cmodule.cc:1144) ==24978== by 0x42C73E: UnknownInlinedFun (csimulation.cc:425) ==24978== by 0x42C73E: Cmdenv::run() [clone .cold] (cmdenv.cc:273) ==24978== by 0x4610AE: EnvirBase::run(int, char**, cConfiguration*) (envirbase.cc:230) ==24978== by 0x5373CC: setupUserInterface(int, char**, cConfiguration*) [clone .constprop.0] (startup.cc:234) ==24978== by 0x433B2C: main (main.cc:39) ==24978== Address 0x1ffefff5e0 is on thread 1's stack ==24978== in frame #1, created by sRunData::writeRunData(_IO_FILE*, opp_string) (new_allocator.h:81)