Problem 271

Summary: Crash in G4Box::DistanceToOut()
Product: Geant4 Reporter: Isidro.Gonzalez
Component: geometryAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED INVALID    
Severity: normal CC: Ivana.Hrivnacova, Vladimir.Grichine
Priority: P2    
Version: other   
Hardware: PC   
OS: Linux   

Description Isidro.Gonzalez 2001-07-05 03:38:30 CEST
I have a very simple example (just one big box 10E+100 m long in z). A very
simple physics list... And all the sudden it crashes in G4Box::DistanceToOut. It
seems that this can be avoided by reducing the size of the Box. This can be seen
with the code in:

/afs/cern.ch/user/i/iglez2/public/G4bug/bug.tar.gz

Just gunzip and untar it, compile it with your prefered set of env variables.
And run it.

PS.: It was tested with G4.3.2
Comment 1 Gabriele Cosmo 2001-07-05 04:51:59 CEST
The geometry you're trying to define does not make much sense, since
Geant4 expects that the detector geometry you're interested to should
be placed -inside- a mother world, while here you're trying to use it
directly as the world.
Please, try placing it inside a bigger mother box.
We'll however investigate the way to avoid such crashes also for
improper use of the world volume. Thanks.