Geant4 Version: 10.07.p04 + Bugzilla #2714
Operating System: MacOS Tahoe 26.4.1
Compiler/Version: Apple Clang 21.0.0
CMake Version: 4.3.2
This is a followup to Stale pointers in parallel worlds? - #7 by mkelsey. I was able to successfully port the fix from Gabriele in Bugzilla #2714 into our CDMS simulation framework, building against Geant4 10.07.p04. It worked perfectly, but I now get a fatal error on the second geometry build:
G4WT0 >
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : GeomNav0002
issued by : G4Navigator::SetWorldVolume()
Volume must be centered on the origin.
*** Fatal Exception *** core dump ***
G4WT0 > **** Track information is not available at this moment
G4WT0 > **** Step information is not available at this moment
G4WT0 >
-------- EEEE -------- G4Exception-END --------- EEEE -------
G4WT0 >
G4WT0 > *** G4Exception: Aborting execution ***
My memory is that this should be an expected behaviour in our case: for many years, we have deliberately used an offset world volume so that our detector apparatus can be placed at (0,0,0), even though it’s off to one side of the surrounding cavern structure. We do this using G4ExtrudedSolid (instead of the boolean G4DisplacedSolid wrapper), and we have never (neither in 10.07.p04 nor in recent 11.4.1 running) gotten the error above.
We only get the above error after the new “refresh” code from Bugzilla #2714 is run. This leads to two questions from me, one of which would be really awkward for us ![]()
- Should we have been getting the GeomNav0002 fatal error all long? Is this a bug (or missing cross-check) in the Geant4 Navigator code when it’s invoked for the first time?
- Should this be an error at all?
We have run billions of events through our “offset” geometry, with entirely sensible tracking, visualization, trajectories, energy deposits, etc. We’ve had no indication in any analysis of coordinate or tracking errors, other than ones we caused in our own code.