Problem 1192

Summary: CHIPS Crash in G4QLowEnergy::PostStepDoIt
Product: Geant4 Reporter: Andrea Dotti <andrea.dotti>
Component: processes/hadronic/models/chiral_inv_phase_spaceAssignee: Alberto.Ribon
Status: RESOLVED WONTFIX    
Severity: trivial CC: dennis.herbert.wright, John.Apostolakis
Priority: P5    
Version: 9.4   
Hardware: All   
OS: All   

Description Andrea Dotti 2011-04-19 08:43:21 CEST
Crash in CHIPS with message for a pi- primary at 25 GeV on a PbWO4 calorimeter

***G4QLowEnergy::PoStDI:Decay is impossible,totM=206729,GSM=206762
terminate called after throwing an instance of 'G4QException'
  what():  std::exception

From GDB Session:
Exception thrown at:
#6  0x00002aaab24bf38c in G4QLowEnergy::PostStepDoIt (this=0x12769b0, 
    track=..., step=<value optimized out>) at src/G4QLowEnergy.cc:1446
(gdb) frame 6
#6  0x00002aaab24bf38c in G4QLowEnergy::PostStepDoIt (this=0x12769b0, 
    track=..., step=<value optimized out>) at src/G4QLowEnergy.cc:1446
1446        throw G4QException("G4QLowEnergy::PostStepDoIt: Can't decay the Compound");

The "track" argument is a C14 nucleus at 630 MeV on

(gdb) print track.fpDynamicParticle.theKineticEnergy
$6 = 0.63065792356945138

(gdb) print *track.fpDynamicParticle.theParticleDefinition
$7 = (G4Ions) {
  <G4ParticleDefinition> = {
    _vptr.G4ParticleDefinition = 0x2aaabac88250, 
    theParticleName = {
      <std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {
        static npos = 18446744073709551615, 
        _M_dataplus = {
          <std::allocator<char>> = {
            <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
          members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider: 
          _M_p = 0x17ef5a8 "C14[0.0]"
        }
      }, <No data fields>}, 
    thePDGMass = 13040.871337034388,
Comment 1 Alberto.Ribon 2012-10-23 11:19:08 CEST
The author said that he cannot reproduce the problem, but it could be that it is already fixed in the Geant4 version 9.5 .

The CHIPS package is no longer supported and will be dropped in the Geant4 version 10 .