Problem 978

Summary: G4Track::GetVolume() causes core dump rather than returning null
Product: Geant4 Reporter: asai
Component: trackAssignee: kurasige
Status: RESOLVED FIXED    
Severity: trivial CC: kurasige
Priority: P5    
Version: 9.0   
Hardware: All   
OS: All   

Description asai 2007-10-02 01:46:09 CEST
G4Track::GetVolume() causes core dump instead of returning null when this method is invoked for a primary particle (i.e. does not yet have a valid touchable).
Comment 1 kurasige 2007-10-02 02:45:10 CEST
Add protection to avoid core dump if the touchable is invalid