I have encoutered the following error in on of my simulations. It seems to occur every ~ 500 kEvents, but I think it is largely related to the energy of the primary proton (the higher the more likely the error) This is error message I recieve just prior to crashing : GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD Dumping the registered hadronic state information Nucleus A, Z = 27 13 Projectile was a gamma projectile momentum (px, py, pz) = (2.86327e-13, 4.62019e-13, 3890.17) Projectile energy = 3890.17 GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD_GHAD callback to user-defined or default signal handler Segmentation fault As far as I could tell the error message prio to the segmentation fault is being produced by G4HadronicWhiteBoard::Dump() I have a random seed that reproducibly produces this event with this error as well as a more verbose output of the event if that helps. I am using geant4.6.2.p01 on redhat 7.3 and gcc 2.96 I am using a physics list that is almost identical to the one provided in examples/advances/cosmicray_charging (I only commented out two lines involving the EM interactions of GenericIons) // pmanager->AddProcess(new G4MultipleScattering, -1, 1, 1); // pmanager->AddProcess(new G4ionIonisation, -1, 2, 2); (since these were causing the program to hang up and crash from the very first event) One random seed that produces the crashing event (at least on my computer) is 0 261598878 1777897614 where I use HepRandom::setTheEngine(new RanecuEngine); in my main() function
Hi, thank you for reporting this. Looks like we have a bug left in the gamma-nuclear reactions... We'll have a look. Many greetings, Hans-Peter.
Hi. I'm having the same problem with 4.8.1. Using a different physics list though. Are there any patches. Would upgrading to 4.8.2 help?