Problem 160 - Crash in N03 when shooting an e- of 1 GeV (on Win2000)
Summary: Crash in N03 when shooting an e- of 1 GeV (on Win2000)
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/electromagnetic (show other problems)
Version: 2.0
Hardware: PC Windows
: P2 normal
Assignee: Michel.Maire
URL:
Depends on:
Blocks:
 
Reported: 2000-10-03 09:06 CEST by barrand
Modified: 2000-10-13 01:31 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description barrand 2000-10-03 09:06:54 CEST
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()
Comment 1 Gabriele Cosmo 2000-10-13 01:31:59 CEST
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.