Problem 1426

Summary: Arithmetic exception in new Compton scattering model
Product: Geant4 Reporter: Vladimir.Ivantchenko
Component: processes/electromagnetic/lowenergyAssignee: Sebastien Incerti <incerti>
Status: RESOLVED FIXED    
Severity: normal CC: jeremy.brown
Priority: P5    
Version: 9.6   
Hardware: All   
OS: Linux   

Description Vladimir.Ivantchenko 2013-01-18 18:01:22 CET
In example $G4INSTALL/examples/extended/electromagnetic/TestEm3
arithmetic exception happens in the new Compton scattering model.

G4FPE_DEBUG environment variable should be set.

TestEm3.in should be edited: instead of opt0 Physics Lists opt4 should be used, statistics should be increased from 100 to 1000 events.

The short gdb output is following:
 Program received signal SIGFPE, Arithmetic exception.

0x00000000005afc77 in G4LowEPComptonModel::SampleSecondaries(std::vector<G4DynamicParticle*, std::allocator<G4DynamicParticle*> >*, G4MaterialCutsCouple const*, G4DynamicParticle const*, double, double) ()

VI
Comment 1 Sebastien Incerti 2013-02-04 20:21:03 CET
Author of class has been informed of issue.
Comment 2 Jeremy Brown 2013-02-11 04:55:04 CET
Reported arithmetic FPE cause isolated and fixed.