Problem 2491

Summary: Rare crashes of NeutronHP in Geant4 11.0.p02 and 11.0.ref05
Product: Geant4 Reporter: Alberto.Ribon
Component: processes/hadronic/models/neutron_hpAssignee: Alberto.Ribon
Status: RESOLVED FIXED    
Severity: critical    
Priority: P5    
Version: 11.0   
Hardware: All   
OS: All   

Description Alberto.Ribon 2022-06-09 20:13:48 CEST
Rare cases of crashes when using physics lists with _HP (e.g. FTFP_BERT_HP, QGSP_BERT_HP), using Geant4 11.0.p02 or 11.0.ref05.
The crashes messages are per-se useless, but show that there are rare cases with huge energy violations, with ions (likely nuclear residuals) with huge energy (thousands of TeV, with a few GeV primary particle impinging on a calorimeter).

The problem is very difficult to reproduce, and it is not seen at process-level.
Comment 1 Alberto.Ribon 2022-06-28 15:15:15 CEST
The problem has been understood and fixed: it was due to access to arrays at negative index (-1) in the method G4ParticleHPContAngularPar::Sample.
The fix will appear in G4 11.1.beta and 11.0.p03.