Problem 347

Summary: occasional crash in G4PAIonisation
Product: Geant4 Reporter: f-gahbauer
Component: processes/hadronicAssignee: Vladimir.Grichine
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 3.2   
Hardware: PC   
OS: Linux   

Description f-gahbauer 2002-02-04 14:41:01 CET
This problem occurs occasionally in G4PAIonisation.  Hundreds of events may be
processed ok before an array index suddenly goes out of range.  The place where
this occurs is shown below.  I can supply a more complete stack trace if
necessary.
Thanks!
Florian Gahbauer

#1  0x8086982 in G4PAIonisation::GetLossWithFluct (this=0x8666d40,
    Step=9.9321313495895005, aParticle=0x89f4f48, aMaterial=0x83e1380)
    at src/G4PAIonisation.cc:664
664                 (*(*fPAItransferBank)(iPlace+1))(iTransfer)*W2) )
Comment 1 Hans-Peter.Wellisch 2002-02-05 04:10:59 CET
Hi Michel, this is one for you (or Vladimir?) I guess.

Many greetings,

Hans-Peter.
Comment 2 Vladimir.Grichine 2002-05-24 01:43:59 CEST
The loops in get energy transfer functions were modified to prevent infinite
looping.