Dimuon trackeff lines crashing with dd4hep
The DiMuonTrackEfficiency lines are causing a seg fault when running Hlt2 with dd4hep. Log files with the crash are in /eos/lhcb/user/m/mstahl/commissioning/221117_hlt2_dd4hep_TrackEff_{crash,try_to_fix}.log
. When running Moore the following lines were excluded
"Hlt2TrackEff_DiMuon_MuonUT.*",
"Hlt2TrackEff_DiMuon_Downstream.*",
This probed whether the crash was due to a dependency on the UT (and it also cleared up the error messages).
This is possibly caused by algorithms in hlt2_probetracks
, calling the measurement provider (the trackeff lines seem to be the only ones using that).
The relevant line in the first log seems to be
../Tr/TrackTools/src/VPMeasurementProvider.cpp:109: VPMeasurementProvider::addToMeasurements(const DeVP&, gsl::span<LHCb::v2::LHCbID>, std::vector<LHCb::Measurement>&) const::<lambda(LHCb::v2::LHCbID)>: Assertion `clus != nullptr' failed.
When fixing the assert, the seg fault stays, but the error message changes, see /eos/lhcb/user/m/mstahl/commissioning/221117_hlt2_dd4hep_TrackEff_try_to_fix.log
Note: Until the issue is fixed, we will have to exclude the lines when running Hlt2 online.