test_hlt1_allen_default test is failing with a segfault
The HltEfficiencyChecker.test_hlt1_allen_default test is failing with a segfault.
In https://lhcb-nightlies.web.cern.ch/nightly/lhcb-master/1616/MooreAnalysis/x86_64_v2-centos7-gcc11-dbg/tests we get this:
#11 0x00007ff61ad5fd6c in THashTable::Clear (this=0x586042f0, option=0x7ff61afcd276 "nodelete") at /build/jenkins/workspace/lcg_release_pipeline/build/projects/ROOT-6.24.06/src/ROOT/6.24.06/core/cont/src/THashTable.cxx:177
#12 0x00007ff61ad5e3a1 in THashList::Delete (this=0x58258c60, option=0x7ff61a929ac4 "") at /build/jenkins/workspace/lcg_release_pipeline/build/projects/ROOT-6.24.06/src/ROOT/6.24.06/core/cont/src/THashList.cxx:214
#13 0x00007ff61a6e9615 in TDirectoryFile::Close (this=0x587df7a0, option=0x7ff5f65746f9 "") at /build/jenkins/workspace/lcg_release_pipeline/build/projects/ROOT-6.24.06/src/ROOT/6.24.06/io/io/src/TDirectoryFile.cxx:572
#14 0x00007ff61a7020ae in TFile::Close (this=0x587df7a0, option=0x7ff5f65746f9 "") at /build/jenkins/workspace/lcg_release_pipeline/build/projects/ROOT-6.24.06/src/ROOT/6.24.06/io/io/src/TFile.cxx:918
#15 0x00007ff5f63359c0 in ROOTService::~ROOTService (this=this
entry=0x5889df80, __in_chrg=<optimized out>) at ../main/src/ROOTService.cpp:56
#16 0x00007ff5f6a06040 in std::default_delete<ROOTService>::operator() (__ptr=0x5889df80, this=<optimized out>) at /cvmfs/lhcb.cern.ch/lib/lcg/releases/gcc/11.1.0-e80bf/x86_64-centos7/include/c++/11.1.0/bits/unique_ptr.h:85
#17 std::__uniq_ptr_impl<ROOTService, std::default_delete<ROOTService> >::reset (__p=0x0, this=0x585fedb0) at /cvmfs/lhcb.cern.ch/lib/lcg/releases/gcc/11.1.0-e80bf/x86_64-centos7/include/c++/11.1.0/bits/unique_ptr.h:182
#18 std::unique_ptr<ROOTService, std::default_delete<ROOTService> >::reset (__p=0x0, this=0x585fedb0) at /cvmfs/lhcb.cern.ch/lib/lcg/releases/gcc/11.1.0-e80bf/x86_64-centos7/include/c++/11.1.0/bits/unique_ptr.h:456
#19 RunAllen::finalize (this=0x585fd1c0) at ../Rec/Allen/src/RunAllen.cpp:187
#20 0x00007ff601ded78e in Gaudi::Algorithm::sysFinalize (this=0x585fd1c0) at ../GaudiKernel/src/Lib/Algorithm.cpp:483
#21 0x00007ff6008232c9 in operator() (alg=<optimized out>, __closure=0x7ffe98844c8f) at ../GaudiHive/src/HiveDataBroker.cpp:147
In another build we get something else (the root cause might be the same):
** Error in `python': munmap_chunk(): invalid pointer: 0x00000000597cb000 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7f3e4)[0x7fcd347513e4]
/lib64/libc.so.6(+0x39d10)[0x7fcd3470bd10]
/lib64/libc.so.6(+0x39d37)[0x7fcd3470bd37]
/cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.24.06-3455f/x86_64-centos7-gcc11-opt/lib/libCore.so(_ZN11TUnixSystem4ExitEib+0x1a)[0x7fcd2e87701a]
/cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.24.06-3455f/x86_64-centos7-gcc11-opt/lib/libCore.so(_ZN11TUnixSystem15DispatchSignalsE8ESignals+0x41)[0x7fcd2e87ad01]
/lib64/libpthread.so.0(+0xf630)[0x7fcd351b8630]
/workspace/build/LHCb/InstallArea/x86_64_v3-centos7-gcc11-opt+g/lib/libHltDAQ.so(_ZNSt13unordered_mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIiiESt4hashIS5_ESt8equal_toIS5_ESaIS6_IKS5_S7_EEES8_IiESA_IiESaIS6_IKiSF_EEED1Ev+0x33)[0x7fcd07d49dd3]
/lib64/libc.so.6(+0x39ce9)[0x7fcd3470bce9]
/lib64/libc.so.6(+0x39d37)[0x7fcd3470bd37]
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Python/3.9.6-b0f98/x86_64-centos7-gcc11-opt/bin/../lib/libpython3.9.so.1.0(+0x1d20a9)[0x7fcd357ce0a9]
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Python/3.9.6-b0f98/x86_64-centos7-gcc11-opt/bin/../lib/libpython3.9.so.1.0(+0x1d664f)[0x7fcd357d264f]
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Python/3.9.6-b0f98/x86_64-centos7-gcc11-opt/bin/../lib/libpython3.9.so.1.0(PyRun_SimpleFileExFlags+0x4f3)[0x7fcd357d3ae3]
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Python/3.9.6-b0f98/x86_64-centos7-gcc11-opt/bin/../lib/libpython3.9.so.1.0(Py_RunMain+0x758)[0x7fcd357f0b48]
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Python/3.9.6-b0f98/x86_64-centos7-gcc11-opt/bin/../lib/libpython3.9.so.1.0(Py_BytesMain+0x47)[0x7fcd357f1007]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fcd346f4555]