| Summary: | Crash in N03 when shooting an e- of 1 GeV (on Win2000) | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | barrand |
| Component: | processes/electromagnetic | Assignee: | Michel.Maire |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
Could you please try by using one of the latest reference tags, or anyway install patch01 over release 2.0 ? Usage of RandFlat::shootBit() has been replaced everywhere in the G4 code since the public patch and geant4-02-00-ref-02 to allow reproducibility of events. |
First, you have to add Win2000 in the list of OS ! Then crash in N03 when shooting an e- of 1 GeV. An e- of 1 MeV is ok. I have been able to have the line of the crash through Visual, it is in CLHEP : inline HepInt RandFlat::shootBit() { if (staticFirstUnusedBit==0) shootBits(); unsigned long temp= staticFirstUnusedBit&staticRandomInt; here-> staticFirstUnusedBit>>= 1; return temp!=0; } the calling stack is : G4GammaConversion::PostStepDoIt(const G4Track&,const G4Step&) G4SteppingManager::InvokePostStepDoItProcs() G4SteppingManager::Stepping() G4TrackingManager::ProcessOneTrack(G4Track*) G4EventManager::ProcessOneEvent()