[Gate-users] *** Break *** segmentation violation

Mijat Paunovic paunovicjata at gmail.com
Mon May 2 19:35:51 CEST 2022


Dear Gate Community,
I am using HTCondor to run Gate on Docker on a 32 CPU machine. I am
simulating a simple CT scanner with a monoenergetic X-ray source and a
cylindrical fantom. I wrote a bash script in which each iteration
represents one angle of rotation of a cylindrical phantom. In total, I am
running 90 iterations for 90 angles of rotation, and in each iteration,
HTCondor splits my Gate script on 32 parts.
Running the simulation for low number of histories worked fine up until
10^6 histories per HTCondor job. Once I went to 10^7, I get a **** Break
*** segmentation violation *error which I noticed was already addressed but
as I understood, not for the same reason in:
http://lists.opengatecollaboration.org/pipermail/gate-users/2019-January/010673.html
.
I am using a Gate:9.0 image of Gate on DockerHub.
I checked multiple times and the only thing that I found was causing the
error was the increase in the number of histories *per job*. Here is the
complete error report:






















**** Break *** segmentation violation Generating stack
trace... 0x00007fa2732b994c in G4Navigator::ComputeStep(CLHEP::Hep3Vector
const&, CLHEP::Hep3Vector const&, double, double&) + 0xfcc from
/geant4/geant4.10.06.p01-install/lib/libG4geometry.so 0x00007fa274e581fd in
G4Transportation::AlongStepGetPhysicalInteractionLength(G4Track const&,
double, double, double&, G4GPILSelection*) + 0x7ed from
/geant4/geant4.10.06.p01-install/lib/libG4processes.so 0x00007fa27884b41f
in G4SteppingManager::DefinePhysicalStepLength() + 0x21f from
/geant4/geant4.10.06.p01-install/lib/libG4tracking.so 0x00007fa278849718 in
G4SteppingManager::Stepping() + 0x2a8 from
/geant4/geant4.10.06.p01-install/lib/libG4tracking.so 0x00007fa278854dd2 in
G4TrackingManager::ProcessOneTrack(G4Track*) + 0x112 from
/geant4/geant4.10.06.p01-install/lib/libG4tracking.so 0x00007fa278a8d7b0 in
G4EventManager::DoProcessing(G4Event*) + 0x680 from
/geant4/geant4.10.06.p01-install/lib/libG4event.so 0x00007fa278d2d585 in
G4RunManager::ProcessOneEvent(int) + 0x25 from
/geant4/geant4.10.06.p01-install/lib/libG4run.so 0x00007fa278d2b67b in
G4RunManager::BeamOn(int, char const*, int) + 0xab from
/geant4/geant4.10.06.p01-install/lib/libG4run.so 0x000055dbb5d63b1a in
GateApplicationMgr::StartDAQ() + 0xb8a from Gate 0x000055dbb5d6abf0 in
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) + 0x1f0
from Gate 0x00007fa272a083bc in G4UIcommand::DoIt(G4String) + 0x63c from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x00007fa272a29c4c
in G4UImanager::ApplyCommand(char const*) + 0xe0c from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x00007fa2729f3c77
in G4UIbatch::ExecCommand(G4String const&) + 0x17 from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x00007fa2729f5c9e
in G4UIbatch::SessionStart() + 0x6e from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x00007fa272a2b14c
in G4UImanager::ExecuteMacroFile(char const*) + 0x3c from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x00007fa272a159cb
in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) + 0x29b from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x00007fa272a083bc
in G4UIcommand::DoIt(G4String) + 0x63c from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x00007fa272a29c4c
in G4UImanager::ApplyCommand(char const*) + 0xe0c from
/geant4/geant4.10.06.p01-install/lib/libG4intercoms.so 0x000055dbb57b3e4d
in main + 0xdfd from Gate 0x00007fa2717ccb97 in __libc_start_main + 0xe7
from /lib/x86_64-linux-gnu/libc.so.6 0x000055dbb57ebeda in _start + 0x2a
from Gate*

Kind regards,
Mijat Paunović
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220502/e5c235de/attachment-0001.html>


More information about the Gate-users mailing list