Skip to content

Fix memory leak from HiveSlimEventLoopMgr

Address leak sanitizer error

Direct leak of 72 byte(s) in 1 object(s) allocated from:
    #0 0x7fde14527116 in operator new(unsigned long) ../../../../gcc-7.3.0/libsanitizer/lsan/lsan_interceptors.cc:162
    #1 0x7fde04064d60 in HiveSlimEventLoopMgr::createEventContext(EventContext*&, int) ../GaudiHive/src/HiveSlimEventLoopMgr.cpp:528
    #2 0x7fde040664cf in HiveSlimEventLoopMgr::executeEvent(void*) ../GaudiHive/src/HiveSlimEventLoopMgr.cpp:305
    #3 0x7fde0406791c in HiveSlimEventLoopMgr::nextEvent(int) ../GaudiHive/src/HiveSlimEventLoopMgr.cpp:439
    #4 0x7fde04064fd9 in HiveSlimEventLoopMgr::executeRun(int) ../GaudiHive/src/HiveSlimEventLoopMgr.cpp:364
    #5 0x7fde05e1096f in ApplicationMgr::executeRun(int) ../GaudiCoreSvc/src/ApplicationMgr/ApplicationMgr.cpp:834
    #6 0x7fde07030767 in py_bootstrap_app_run ../GaudiKernel/src/Lib/Bootstrap.cpp:278
    #7 0x7fde07521ad7 in ffi_call_unix64 (/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_93/Python/2.7.13/x86_64-centos7-gcc7-dbg/lib/python2.7/lib-dynload/_ctypes.so+0x1bad7)

Merge request reports

Loading