Message: Re: ionIoni at low energies Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: ionIoni at low energies 

Forum: Physics List
Re: Question ionIoni at low energies
Re: Idea Re: ionIoni at low energies (Vladimir Ivanchenko)
Re: None Re: ionIoni at low energies
Re: Idea Re: ionIoni at low energies (Michael H. Kelsey)
Date: 03 Jul, 2013
From: <matt_b>

Hi,

Thanks for the tip with the debugger (also to those who emailed me offline).

Perhaps some background to where I am seeing the crash would help...

1) I am tracking a neutron into a liquid scintillator, in this case the following material:

  fScint=new G4Material("Scint", 0.92*g/cm3, ncomponents=4);

  fScint->AddElement(fC, fractionmass=0.857);
  fScint->AddElement(fH, fractionmass=0.104);
  fScint->AddElement(fO, fractionmass=0.029);
  fScint->AddElement(elL6, fractionmass=0.01);

but I have seen the same crash with Boron-10 loading too. Same scenario, neutron capture of neutron in boron-10, then boron-12 decay causes crash.

2) The crash occurs when I get a 8Li particle appearing in the tracking. These are very low energy particles and the crash seems to occur when they decay.

Running gdb debugging, I see the following:

*********************************************************************************************************
* G4Track Information:   Particle = Li8[0.0],   Track ID = 10,   Parent ID = 1
*********************************************************************************************************

Step#   Time         X         Y         Z        KineE    dEStep     Volume     Process
    0   12.6 mus  1.56 cm  -2.27 cm  -8.79 mm 0.0999 eV      0 eV   scintillator    initStep
    1   12.6 mus  1.56 cm  -2.27 cm  -8.79 mm      0 eV 0.0999 eV   scintillator     ionIoni

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5053c3a in G4NuclearDecayChannel::DecayIt(double) () from ~/Geant/geant4.9.6-install/lib/libG4processes.so
(gdb) backtrace
#0  0x00007ffff5053c3a in G4NuclearDecayChannel::DecayIt(double) () from ~/Geant/geant4.9.6-install/lib/libG4processes.so
#1  0x00007ffff50598f9 in G4RadioactiveDecay::DoDecay(G4ParticleDefinition&) ()
   from ~/Geant/geant4.9.6-install/lib/libG4processes.so
#2  0x00007ffff5060374 in G4RadioactiveDecay::DecayIt(G4Track const&, G4Step const&) ()
   from ~/Geant/geant4.9.6-install/lib/libG4processes.so
#3  0x00007ffff5c5696d in G4SteppingManager::InvokeAtRestDoItProcs() () from ~/Geant/geant4.9.6-install/lib/libG4tracking.so
#4  0x00007ffff5c54580 in G4SteppingManager::Stepping() () from ~/Geant/geant4.9.6-install/lib/libG4tracking.so
#5  0x000000000042a0f1 in G4TrackingManager::ProcessOneTrack(G4Track*) ()
#6  0x00007ffff5e8bfbf in G4EventManager::DoProcessing(G4Event*) () from ~/Geant/geant4.9.6-install/lib/libG4event.so
#7  0x00007ffff60f1e37 in G4RunManager::ProcessOneEvent(int) () from ~/Geant/geant4.9.6-install/lib/libG4run.so
#8  0x00007ffff60f0675 in G4RunManager::DoEventLoop(int, char const*, int) () from ~/Geant/geant4.9.6-install/lib/libG4run.so
#9  0x00007ffff60f1d5c in G4RunManager::BeamOn(int, char const*, int) () from ~/Geant/geant4.9.6-install/lib/libG4run.so
#10 0x00007ffff60f941c in G4RunMessenger::SetNewValue(G4UIcommand*, G4String) () from ~/Geant/geant4.9.6-install/lib/libG4run.so
#11 0x00007ffff2fe58b0 in G4UIcommand::DoIt(G4String) () from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#12 0x00007ffff2ffa764 in G4UImanager::ApplyCommand(char const*) () from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#13 0x00007ffff2fd5857 in G4UIbatch::ExecCommand(G4String const&) () from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#14 0x00007ffff2fd6c2b in G4UIbatch::SessionStart() () from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#15 0x00007ffff2ff63f3 in G4UImanager::ExecuteMacroFile(char const*) () from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#16 0x00007ffff2feef05 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) ()
   from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#17 0x00007ffff2fe58b0 in G4UIcommand::DoIt(G4String) () from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#18 0x00007ffff2ffa764 in G4UImanager::ApplyCommand(char const*) () from ~/Geant/geant4.9.6-install/lib/libG4intercoms.so
#19 0x0000000000422387 in main ()

If there is more specific information needed to help debug this, please let me know.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: ionIoni at low energies   (Mike Kelsey - 03 Jul, 2013)
(_ None: Re: ionIoni at low energies   (matt_b - 04 Jul, 2013)
(_ None: Re: ionIoni at low energies   (Mike Kelsey - 04 Jul, 2013)
(_ None: Re: ionIoni at low energies   (matt_b - 05 Jul, 2013)
1 Idea: Re: ionIoni at low energies   (Vladimir Ivanchenko - 05 Jul, 2013)
1 Sad: Re: ionIoni at low energies   (matt_b - 09 Jul, 2013)
2 None: Re: ionIoni at low energies   (Mike Kelsey - 05 Jul, 2013)
 Add Message Add Message
to: "Re: ionIoni at low energies"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]