This problem is easily worked around. When the process: G4Cerenkov* theCerenkovProcess = new G4Cerenkov("Cerenkov"); is applied to em particles and the maximum number of photons is set int MaxNumPhotons=300; theCerenkovProcess->SetMaxNumPhotonsPerStep(MaxNumPhotons); the program exits with 'time going backwards' in G4ParticleChange::Checkit. I have compiled Geant 4.0.1 export G4SYSTEM=Linux-g++ export GBASE=${HOME}/work/G4 export G4INSTALL=${GBASE}/geant4 export CLHEP_BASE_DIR=${GBASE}/CLHEP export G4USE_STL=Yes export G4DEBUG=1 This problem can be avoided by not setting the maximum number of photons per step. Thanks, Clark
This problem 'time going backwards' in G4ParticleChange::Checkit' is the same as in bug report #13. It seems the symptom is a memory leak somewhere. Unfortunately, ExampleN06 works with setting the maximum number of photons. The only way to resolve this problem is by running the very application, which produces the bug.
*** This bug has been marked as a duplicate of 13 ***