Message: Perhaps, a bug when using G4Region and G4ProductionCuts in DetectorConstruction::Construct() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Perhaps, a bug when using G4Region and G4ProductionCuts in DetectorConstruction::Construct() 

Forum: Multithreading
Date: 14 Mar, 2012
From: Victor_Makarov <Victor_Makarov>

Hi! If I use Regions and production cuts in DetectorConstruction::Construct() of Detector Construction, I get "Segmentation fault (core dumped)", when running executable on Linux with MT Geant. Here's the block I'm using:

G4Region* Airregion = new G4Region("Airregion"); Airregion->AddRootLogicalVolume(logicAir0000);

G4ProductionCuts* cuts; cuts = new G4ProductionCuts; cuts->SetProductionCut(0.35*m); Airregion->SetProductionCuts(cuts);

If I compile my project without regions and cuts, then everything's ok when running executable. Any ideas? Thanks

 Add Message Add Message
to: "Perhaps, a bug when using G4Region and G4ProductionCuts in DetectorConstruction::Construct()"

 Subscribe Subscribe

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