Segfault when running HLT2 reconstruction with 2024 data (Turcal raw events)
A segfault appears in some events when running Moore/v55r9 over HLT2. Reproduce with lb-run Moore/v55r9 gaudirun.py moore_data24_withUT.py
with moore_data24_withUT.py attached. The same does not appear in Moore/v55r8, which cannot be used in this case as the fix for storing UT hits is not included.
segfault message starts with:
Thread 16 (Thread 0x7f82065f1640 (LWP 3592077) "python3"):
#0 0x00007f8258ad8a3f in wait4 () from /lib64/libc.so.6
#1 0x00007f8258a4b243 in do_system () from /lib64/libc.so.6
#2 0x00007f8251d0fb69 in TUnixSystem::StackTrace() () from /cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.30.04-dd2db/x86_64-el9-gcc13-opt/lib/libCore.so
#3 0x00007f825215c5e3 in (anonymous namespace)::TExceptionHandlerImp::HandleException(int) () from /cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.30.04-dd2db/x86_64-el9-gcc13-opt/lib/libcppyy_backend3_9.so
#4 0x00007f8251d0f391 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.30.04-dd2db/x86_64-el9-gcc13-opt/lib/libCore.so
#5 <signal handler called>
#6 LHCb::findCluster (clusters=..., channelID=...) at /workspace/build/LHCB/LHCB_v55r9/InstallArea/x86_64_v3-el9-gcc13-opt+g/include/Event/VPMicroCluster.h:51
#7 operator()<LHCb::Detector::VPChannelID> (id=..., __closure=<synthetic pointer>) at ../Tr/TrackTools/src/AddClustersToTrackTool.cpp:45
#8 std::for_each<__gnu_cxx::__normal_iterator<const LHCb::Detector::VPChannelID*, std::vector<LHCb::Detector::VPChannelID> >, (anonymous namespace)::<lambda(const auto:184&, auto:185&, const auto:186&)>::<lambda(auto:187)> > (__f=..., __last=..., __first=...) at /cvmfs/lhcb.cern.ch/lib/lcg/releases/gcc/13.1.0-b3d18/x86_64-el9/include/c++/13.1.0/bits/stl_algo.h:3833
#9 operator()<LHCb::Container::MultiIndexedContainer<LHCb::VPMicroCluster, 52>, std::vector<LHCb::VPMicroCluster>, std::vector<LHCb::Detector::VPChannelID> > (channel_ids=..., out=..., in=..., __closure=<optimized out>) at ../Tr/TrackTools/src/AddClustersToTrackTool.cpp:44
Full errorlog.txt attached.
This seems to be related to !3708 (merged)
Edited by Peilian Li