[Gate-users] Segmentation violation with GPU

Jan-Nico Zaech Zaech at jhu.edu
Wed Dec 13 05:45:34 CET 2017


Dear fellow GATE users,


I plan to use GATE for the simulation of CT imaging. Therefore I installed GATE8.0 on Ubuntu16.04 with GPU support, with the following software versions:


CUDA 8.0

Root 5.34/36 (built from source as GATE did not built otherwise)

GEANT4 10.3.3


The CT example from gpumacros in the GATE7.2 source does work on CPU, but the GPU-version crashes with the following message:


[Core-0] Initialization of geometry
[Core-0] Initialization of physics
### WARNING: G4EmProcessOptions class is obsolete and will be removed in the next public release
    Please, try to use G4EmParameters class and/or UI interface to EM parameters
[Core-0] Initialization of actors
[Core-0] "ResetData" = [ ResetData ]
[Core-0] "GateGPUIO_Input_delete" = [ GateGPUIO_Input_delete ]
[Core-0] "GateGPUIO_Input_new" = [ GateGPUIO_Input_new ]

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f27642d407a in __GI___waitpid (pid=15035, stat_loc=stat_loc
entry=0x7ffd978c3b00, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00007f276424cfbb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2  0x00007f276b4a3084 in TUnixSystem::StackTrace() () from /usr/local/root/lib/libCore.so
#3  0x00007f276b4a532c in TUnixSystem::DispatchSignals(ESignals) () from /usr/local/root/lib/libCore.so
#4  <signal handler called>
#5  0x00000000008870a7 in GateGPUTransTomoActor::ResetData() ()
#6  0x0000000000885042 in GateGPUTransTomoActor::Construct() ()
#7  0x00000000007fda92 in GateActorManager::CreateListsOfEnabledActors() ()
#8  0x00000000009a8090 in GateRunManager::InitializeAll() ()
#9  0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from /usr/local/geant4/lib/libG4intercoms.so
#10 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4/lib/libG4intercoms.so
#11 0x00007f276537fc57 in G4UIbatch::ExecCommand(G4String const&) () from /usr/local/geant4/lib/libG4intercoms.so
#12 0x00007f2765381a2e in G4UIbatch::SessionStart() () from /usr/local/geant4/lib/libG4intercoms.so
#13 0x00007f27653b2d32 in G4UImanager::ExecuteMacroFile(char const*) () from /usr/local/geant4/lib/libG4intercoms.so
#14 0x00007f27653a0499 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /usr/local/geant4/lib/libG4intercoms.so
#15 0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from /usr/local/geant4/lib/libG4intercoms.so
#16 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4/lib/libG4intercoms.so
#17 0x0000000000502d0e 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.
===========================================================
#5  0x00000000008870a7 in GateGPUTransTomoActor::ResetData() ()
#6  0x0000000000885042 in GateGPUTransTomoActor::Construct() ()
#7  0x00000000007fda92 in GateActorManager::CreateListsOfEnabledActors() ()
#8  0x00000000009a8090 in GateRunManager::InitializeAll() ()
#9  0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from /usr/local/geant4/lib/libG4intercoms.so
#10 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4/lib/libG4intercoms.so
#11 0x00007f276537fc57 in G4UIbatch::ExecCommand(G4String const&) () from /usr/local/geant4/lib/libG4intercoms.so
#12 0x00007f2765381a2e in G4UIbatch::SessionStart() () from /usr/local/geant4/lib/libG4intercoms.so
#13 0x00007f27653b2d32 in G4UImanager::ExecuteMacroFile(char const*) () from /usr/local/geant4/lib/libG4intercoms.so
#14 0x00007f27653a0499 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /usr/local/geant4/lib/libG4intercoms.so
#15 0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from /usr/local/geant4/lib/libG4intercoms.so
#16 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4/lib/libG4intercoms.so
#17 0x0000000000502d0e in main ()
===========================================================

Kind regards
Jan-Nico Zaech


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171213/1adfa98b/attachment.html>


More information about the Gate-users mailing list