[Gate-users] PhaseSpace actor producing error

opagonis at physics.auth.gr opagonis at physics.auth.gr
Mon Dec 7 16:41:41 CET 2020


Hello,

I am relatively new to GATE and I am facing a problem for which I have  
not found a solution so far. I am using a Phasespace actor to get info  
for the particles scored after entering the attached volume, in a  
simulation which is meant to be composed of several runs (using the  
time slice feature). Although this works for a simulation with only a  
single run, it produces an error when more runs are included, thus the  
simulation is cancelled the output file is not generated. I am using  
Gate 9.0  with Geant4 10.6.2 and ROOT 6.22/02 and the error I get from  
Gate is the following one:

  *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================

Thread 2 (Thread 0x7f8b9d732700 (LWP 20283)):
#0  0x00007f8bc09589f3 in futex_wait_cancelable (private=<optimized  
out>, expected=0, futex_word=0x55a8296ddc08) at  
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f8bc09589f3 in __pthread_cond_wait_common (abstime=0x0,  
mutex=0x55a8296ddbb8, cond=0x55a8296ddbe0) at pthread_cond_wait.c:502
#2  0x00007f8bc09589f3 in __pthread_cond_wait (cond=0x55a8296ddbe0,  
mutex=0x55a8296ddbb8) at pthread_cond_wait.c:655
#3  0x00007f8b9e58debb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f8b9e58dab7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f8bc09526db in start_thread (arg=0x7f8b9d732700) at  
pthread_create.c:463
#6  0x00007f8bb87f1a3f in clone () at  
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8bc4349e00 (LWP 20266)):
#0  0x00007f8bb87b4722 in __GI___waitpid (pid=20295, stat_loc=stat_loc
entry=0x7ffeb9ea05a8, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00007f8bb871f107 in do_system (line=<optimized out>) at  
../sysdeps/posix/system.c:149
#2  0x00007f8bc2705813 in TUnixSystem::StackTrace() () at  
/home/nicky/Products/root/lib/libCore.so
#3  0x00007f8bc2708305 in TUnixSystem::DispatchSignals(ESignals) () at  
/home/nicky/Products/root/lib/libCore.so
#4  0x00007f8bc095d8a0 in <signal handler called> () at  
/lib/x86_64-linux-gnu/libpthread.so.0
#5  0x000055a825a8fffa in non-virtual thunk to  
GateOutputRootTreeFile::fill() ()
#6  0x000055a825a96ab5 in GateOutputTreeFileManager::fill() ()
#7  0x000055a825d8981c in  
GatePhaseSpaceActor::UserSteppingAction(GateVVolume const*, G4Step  
const*) ()
#8  0x000055a825c27f9a in non-virtual thunk to  
GateVActor::ProcessHits(G4Step*, G4TouchableHistory*) ()
#9  0x00007f8bbaae5999 in  
G4MultiFunctionalDetector::ProcessHits(G4Step*, G4TouchableHistory*)  
() at /home/nicky/Products/geant4/lib/libG4digits_hits.so
#10 0x000055a825b64222 in  
GateMultiSensitiveDetector::ProcessHits(G4Step*, G4TouchableHistory*) ()
#11 0x00007f8bbf775684 in G4SteppingManager::Stepping() () at  
/home/nicky/Products/geant4/lib/libG4tracking.so
#12 0x00007f8bbf780de2 in G4TrackingManager::ProcessOneTrack(G4Track*)  
() at /home/nicky/Products/geant4/lib/libG4tracking.so
#13 0x00007f8bbf9b97b0 in G4EventManager::DoProcessing(G4Event*) () at  
/home/nicky/Products/geant4/lib/libG4event.so
#14 0x00007f8bbfc59595 in G4RunManager::ProcessOneEvent(int) () at  
/home/nicky/Products/geant4/lib/libG4run.so
#15 0x00007f8bbfc5768b in G4RunManager::BeamOn(int, char const*, int)  
() at /home/nicky/Products/geant4/lib/libG4run.so
#16 0x000055a825fe79ea in GateApplicationMgr::StartDAQ() ()
#17 0x000055a825feeac0 in  
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()
#18 0x00007f8bb992d3bc in G4UIcommand::DoIt(G4String) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#19 0x00007f8bb994ed1c in G4UImanager::ApplyCommand(char const*) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#20 0x00007f8bb9918c77 in G4UIbatch::ExecCommand(G4String const&) ()  
at /home/nicky/Products/geant4/lib/libG4intercoms.so
#21 0x00007f8bb991ac9e in G4UIbatch::SessionStart() () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#22 0x00007f8bb995021c in G4UImanager::ExecuteMacroFile(char const*)  
() at /home/nicky/Products/geant4/lib/libG4intercoms.so
#23 0x00007f8bb993a9cb in  
G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#24 0x00007f8bb992d3bc in G4UIcommand::DoIt(G4String) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#25 0x00007f8bb994ed1c in G4UImanager::ApplyCommand(char const*) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#26 0x000055a825a34d06 in main ()
===========================================================


The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
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.
===========================================================
#5  0x000055a825a8fffa in non-virtual thunk to  
GateOutputRootTreeFile::fill() ()
#6  0x000055a825a96ab5 in GateOutputTreeFileManager::fill() ()
#7  0x000055a825d8981c in  
GatePhaseSpaceActor::UserSteppingAction(GateVVolume const*, G4Step  
const*) ()
#8  0x000055a825c27f9a in non-virtual thunk to  
GateVActor::ProcessHits(G4Step*, G4TouchableHistory*) ()
#9  0x00007f8bbaae5999 in  
G4MultiFunctionalDetector::ProcessHits(G4Step*, G4TouchableHistory*)  
() at /home/nicky/Products/geant4/lib/libG4digits_hits.so
#10 0x000055a825b64222 in  
GateMultiSensitiveDetector::ProcessHits(G4Step*, G4TouchableHistory*) ()
#11 0x00007f8bbf775684 in G4SteppingManager::Stepping() () at  
/home/nicky/Products/geant4/lib/libG4tracking.so
#12 0x00007f8bbf780de2 in G4TrackingManager::ProcessOneTrack(G4Track*)  
() at /home/nicky/Products/geant4/lib/libG4tracking.so
#13 0x00007f8bbf9b97b0 in G4EventManager::DoProcessing(G4Event*) () at  
/home/nicky/Products/geant4/lib/libG4event.so
#14 0x00007f8bbfc59595 in G4RunManager::ProcessOneEvent(int) () at  
/home/nicky/Products/geant4/lib/libG4run.so
#15 0x00007f8bbfc5768b in G4RunManager::BeamOn(int, char const*, int)  
() at /home/nicky/Products/geant4/lib/libG4run.so
#16 0x000055a825fe79ea in GateApplicationMgr::StartDAQ() ()
#17 0x000055a825feeac0 in  
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()
#18 0x00007f8bb992d3bc in G4UIcommand::DoIt(G4String) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#19 0x00007f8bb994ed1c in G4UImanager::ApplyCommand(char const*) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#20 0x00007f8bb9918c77 in G4UIbatch::ExecCommand(G4String const&) ()  
at /home/nicky/Products/geant4/lib/libG4intercoms.so
#21 0x00007f8bb991ac9e in G4UIbatch::SessionStart() () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#22 0x00007f8bb995021c in G4UImanager::ExecuteMacroFile(char const*)  
() at /home/nicky/Products/geant4/lib/libG4intercoms.so
#23 0x00007f8bb993a9cb in  
G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#24 0x00007f8bb992d3bc in G4UIcommand::DoIt(G4String) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#25 0x00007f8bb994ed1c in G4UImanager::ApplyCommand(char const*) () at  
/home/nicky/Products/geant4/lib/libG4intercoms.so
#26 0x000055a825a34d06 in main ()
===========================================================


WARNING - Attempt to delete the physical volume store while geometry closed !
WARNING - Attempt to delete the logical volume store while geometry closed !
WARNING - Attempt to delete the solid store while geometry closed !
WARNING - Attempt to delete the region store while geometry closed !

Any help would be appreciated and thank you for your time.
Kind regards,
Orestis




More information about the Gate-users mailing list