Message: Seg fault in G4VRangeToEnergyConverter Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Seg fault in G4VRangeToEnergyConverter 

Forum: Run Management
Date: 23 Jun, 2005
From: Tim Chambers <Tim Chambers>

I am making a simulation of the earth's atmosphere and magnetic field, 
which I have built up by layers.  I first made a small (1m) iron ball 
with a dipole magnetic field, and everything functioned fine.  However, 
when I made a few changes, I encountered a segmentation fault when I 
try to run a particle.  The details:

I scaled up the detector to the full size of the earth (~6400km) and 
added concentric spherical shells of atmosphere at different densities, 
as well as scaling up the dipole.  The program compiles without any 
trouble, and if I "run" the simulation without any particles it executes 
and terminates normally.  However, as soon as I command
/run/beamOn 1
I get a segmentation fault.  From GDB'ing I get the following steps:

In G4RunManagerKernel::RunInitialization()
In G4ProductionCutsTable::UpdateCoupleTable()
In G4VRangeToEnergyConverter::Convert()
segmentation fault

Thinking it may be related to particle energy, I have tried everything 
from 10keV to 100 GeV electrons with no success.  I also wondered if 
the sheer size of the world (10,000 km) might be the problem, so I 
reduced everything by a factor of 10^5 (km->cm) but the same seg fault 
occurred.  If anybody can suggest what might be going wrong, that would 
be great.  Thank you!

-Tim Chambers

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

1 None: Re: Seg fault in G4VRangeToEnergyConverter   (Holger Gottschlag - 08 Aug, 2006)
1 None: Re: Seg fault in G4VRangeToEnergyConverter   (Holger Gottschlag - 08 Aug, 2006)
3 None: Re: Seg fault in G4VRangeToEnergyConverter   (Vladimir IVANTCHENKO - 08 Aug, 2006)
1 None: Re: Seg fault in G4VRangeToEnergyConverter   (Holger Gottschlag - 08 Aug, 2006)
... 3 Message(s)
 Add Message Add Message
to: "Seg fault in G4VRangeToEnergyConverter"

 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 ]