DOCA should exit when called with improper indices
In lhcb-datapkg/AnalysisProductions!481 (diffs) one attempts to fill the variable
"DOCA23": F.DOCA(2, 3),
for a D->hh decay. That won't work, but should ideally warn at the beginning of the job and not cause a segfault. Now it does
#7 0x00002b4d6aa658ef in LoKi::ParticleClassificator::particleType_(LHCb::Particle const&) const () from /cvmfs/lhcb.cern.ch/lib/lhcb/REC/REC_v35r6/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libLoKiFitters.so
#8 0x00002b4d6aa19f7b in LoKi::DistanceCalculator::_distance(LHCb::Particle const&, LHCb::Particle const&, double&, bool, LHCb::Detector::IGeometryInfo const&, double*) const () from /cvmfs/lhcb.cern.ch/lib/lhcb/REC/REC_v35r6/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libLoKiFitters.so
#9 0x00002b4d6aa2a3df in virtual thunk to LoKi::DistanceCalculator::distance(LHCb::Particle const*, LHCb::Particle const*, double&, LHCb::Detector::IGeometryInfo const&, bool) const () from /cvmfs/lhcb.cern.ch/lib/lhcb/REC/REC_v35r6/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libLoKiFitters.so
which is hard to link to the initial cause. Thanks to @aiwieder for reporting in DaVinci#114 (closed).