Hi everyone!
I am trying to reconstruct an output of a voxelised simulation in a PET/CT system resulted from GATE.
I started by applying castor-GATEMacToGeom to generate a geom file from my scanner GE D690 compatible with CASTor.
Then I started GATERootToCastor, I input the file that was created previously but it was giving me an error saying it was not known in the scanner repository. So, I provided a LUT/generic file for this scanner in the scanner repository as it was saying for me to do like this ./castor-PetScannerLutEx -alias PET_GE_D690 and got the file input again on GATERootToCastor.
Now, the error I get is the following:
vgate@vGate-9:~/Software/Castor/castor-install/bin$ ./castor-GATERootToCastor -i /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/Output_1/SIM1.Coincidences.root -s PET_GE_D690 -o /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/Output_1/castorrecon_1 -m /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/MainGATE.mac
0 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/MainGATE.mac
1 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/GATESubMacros/geometry.mac
2 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/GATESubMacros/PhantomAttenuation.mac
3 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/GATESubMacros/physics.mac
4 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/GATESubMacros/cuts.mac
5 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/GATESubMacros/digitiser.mac
6 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/GATESubMacros/PhantomActivity.mac
7 : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/GATESubMacros/GATEOutput.mac
— Start conversion of datafile(s) : /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/Output_1/SIM1.Coincidences.root
using mac file: /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/MainGATE.mac
CASToR output header datafile: /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/Output_1/castorrecon_1.Cdh
CASToR output binary datafile: /home/vgate/Software/STIR-GATE-Connection/VoxelisedSimulation/Output_1/castorrecon_1.Cdf
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fe145cea3ea in __GI___wait4 (pid=4566, stat_loc=stat_loc
entry=0x7ffea752a158, options=options
entry=0, usage=usage
entry=0x0) at …/sysdeps/unix/sysv/linux/wait4.c:30
#1 0x00007fe145cea3ab in __GI___waitpid (pid=, stat_loc=stat_loc
entry=0x7ffea752a158, options=options
entry=0) at ./posix/waitpid.c:38
#2 0x00007fe145c50bdb in do_system (line=) at …/sysdeps/posix/system.c:171
#3 0x00007fe146b167c4 in TUnixSystem::StackTrace() () from /home/vgate/Software/root/bin/lib/libCore.so
#4 0x00007fe146b13ad5 in TUnixSystem::DispatchSignals(ESignals) () from /home/vgate/Software/root/bin/lib/libCore.so
#5
#6 0x0000563899e857c0 in main ()
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum ROOT Forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at Sign in to GitHub · GitHub Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6 0x0000563899e857c0 in main ()
===========================================================
Can someone explain me please what is happening? Is it a problem with the Main macro file I provided or the root output file?
Thank you in advance!