[Gate-users] Crash with DoseActor enabled

Giuseppe Magro beppe.magro at gmail.com
Tue Dec 18 16:58:29 CET 2012


Hello Gaters,

  I'm trying to build a simulation of dosimetry in a simple water box hit
by protons. All the macros seem to be written correctly, in fact the MC
works if all the Actors are disabled and the "No Output Mode"
(/gate/output/allowNoOutput) is selected. The same happens with the only
SimulationStatisticActor activated. However a crash is registered when the
DoseActor is enabled. Examples and RTbench by GATE work on my PC with the
DoseActor enabled, so I tried a rough copy-&-paste on my own simulation
(changing volume name and size), but this did not solve the problem! Here
follow my actors.mac and the reported crash.

Thanks for your help!

Regards.


actors.mac

/gate/actor/addActor DoseActor doseDistribution
/gate/actor/doseDistribution/save output/protonDose.root
/gate/actor/doseDistribution/attachTo UserBox
/gate/actor/doseDistribution/stepHitType random
/gate/actor/doseDistribution/setSize 5. 5. 400. mm
/gate/actor/doseDistribution/setPosition 0. 0. 0. mm
#/gate/actor/doseDistribution/setVoxelSize  5. 5. 2. mm
/gate/actor/doseDistribution/saveEveryNSeconds 60
/gate/actor/doseDistribution/enableEdep true
/gate/actor/doseDistribution/enableUncertaintyEdep false
/gate/actor/doseDistribution/enableSquaredEdep false
/gate/actor/doseDistribution/enableDose true
/gate/actor/doseDistribution/enableUncertaintyDose false
/gate/actor/doseDistribution/enableSquaredDose false
/gate/actor/doseDistribution/enableNumberOfHits false
/gate/actor/doseDistribution/normaliseDose true

Crash:

 *** Break *** segmentation violation



===========================================================
There was a crash (#7 0xb52a53ab in SigHandler(ESignals) () from
/opt/simulation/root/5.34.02/lib/libCore.so).
This is the entire stack trace of all threads:
===========================================================
#0  0xb773f424 in __kernel_vsyscall ()
#1  0xb408b943 in waitpid () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4012ff3 in ?? () from /lib/i386-linux-gnu/libc.so.6
#3  0xb418ce2b in system () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb529e1ab in TUnixSystem::Exec(char const*) () from
/opt/simulation/root/5.34.02/lib/libCore.so
#5  0xb52a2770 in TUnixSystem::StackTrace() () from
/opt/simulation/root/5.34.02/lib/libCore.so
#6  0xb52a5297 in TUnixSystem::DispatchSignals(ESignals) () from
/opt/simulation/root/5.34.02/lib/libCore.so
#7  0xb52a53ab in SigHandler(ESignals) () from
/opt/simulation/root/5.34.02/lib/libCore.so
#8  0xb529c3e2 in sighandler(int) () from
/opt/simulation/root/5.34.02/lib/libCore.so
#9  <signal handler called>
#10 0xb688ec49 in G4NeutronHPData::DoPhysicsVector(G4NeutronHPVector*) ()
from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#11 0xb68ba1ea in
G4NeutronHPInelasticData::BuildPhysicsTable(G4ParticleDefinition const&) ()
from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#12 0xb62ebbad in
G4CrossSectionDataStore::BuildPhysicsTable(G4ParticleDefinition const&) ()
from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#13 0xb63141a0 in G4HadronicProcess::BuildPhysicsTable(G4ParticleDefinition
const&) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#14 0xb73ebe2a in
G4VUserPhysicsList::BuildPhysicsTable(G4ParticleDefinition*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#15 0xb73eca82 in G4VUserPhysicsList::BuildPhysicsTable() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#16 0xb73df0d3 in G4RunManagerKernel::BuildPhysicsTables() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#17 0xb73df538 in G4RunManagerKernel::RunInitialization() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#18 0xb73dae97 in G4RunManager::RunInitialization() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#19 0x0839689a in GateRunManager::RunInitialization() ()
#20 0xb73d7b13 in G4RunManager::BeamOn(int, char const*, int) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#21 0x083c6706 in GateApplicationMgr::StartDAQ() ()
#22 0x083a9350 in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*,
G4String) ()
#23 0xb587d958 in G4UIcommand::DoIt(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#24 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#25 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#26 0xb586e015 in G4UIbatch::ExecCommand(G4String const&) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#27 0xb586f337 in G4UIbatch::SessionStart() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#28 0xb588f97e in G4UImanager::ExecuteMacroFile(char const*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#29 0xb5888b59 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String)
() from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#30 0xb587d958 in G4UIcommand::DoIt(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#31 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#32 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#33 0xb742b19d in G4UIterminal::ExecuteCommand(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so
#34 0xb742ca1c in G4UIterminal::SessionStart() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so
#35 0x080fe6e8 in main ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#10 0xb688ec49 in G4NeutronHPData::DoPhysicsVector(G4NeutronHPVector*) ()
from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#11 0xb68ba1ea in
G4NeutronHPInelasticData::BuildPhysicsTable(G4ParticleDefinition const&) ()
from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#12 0xb62ebbad in
G4CrossSectionDataStore::BuildPhysicsTable(G4ParticleDefinition const&) ()
from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#13 0xb63141a0 in G4HadronicProcess::BuildPhysicsTable(G4ParticleDefinition
const&) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
#14 0xb73ebe2a in
G4VUserPhysicsList::BuildPhysicsTable(G4ParticleDefinition*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#15 0xb73eca82 in G4VUserPhysicsList::BuildPhysicsTable() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#16 0xb73df0d3 in G4RunManagerKernel::BuildPhysicsTables() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#17 0xb73df538 in G4RunManagerKernel::RunInitialization() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#18 0xb73dae97 in G4RunManager::RunInitialization() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#19 0x0839689a in GateRunManager::RunInitialization() ()
#20 0xb73d7b13 in G4RunManager::BeamOn(int, char const*, int) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
#21 0x083c6706 in GateApplicationMgr::StartDAQ() ()
#22 0x083a9350 in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*,
G4String) ()
#23 0xb587d958 in G4UIcommand::DoIt(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#24 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#25 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#26 0xb586e015 in G4UIbatch::ExecCommand(G4String const&) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#27 0xb586f337 in G4UIbatch::SessionStart() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#28 0xb588f97e in G4UImanager::ExecuteMacroFile(char const*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#29 0xb5888b59 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String)
() from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#30 0xb587d958 in G4UIcommand::DoIt(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#31 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#32 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
#33 0xb742b19d in G4UIterminal::ExecuteCommand(G4String) () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so
#34 0xb742ca1c in G4UIterminal::SessionStart() () from
/opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so
#35 0x080fe6e8 in main ()
===========================================================


*Giuseppe Magro*
*M.Sc.
*
*Ph.D. Student  -  Physics
*
*University of Pavia*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121218/4cf22762/attachment-0001.html>


More information about the Gate-users mailing list