[Gate-users] GATE output root file conversion to projection filr for STIR using Bin_GATE_v1.0.c

Satyajit Ghosh satyajitghosh.email at gmail.com
Mon Jul 1 12:11:44 CEST 2019


Dear All,

                I had simulated cylindricalPET system in GATE and produced
root data. There is no issue in that. Now, I want to reconstruct the image
and hence used the program Bin_GATE_v1.0.c to convert root file into
projection file. But, there is *segmentation violation *and I am wondering
whether the conversion code is buggy or not. Here is the terminal output.

Input file name is scatter_study*.root
Michelogram file name is = Mich_scatter_study_conv.s
Projection file name is = Proj_scatter_study_conv.s
Warning in <TClass::TClass>: no dictionary for class TH1D is available
Warning in <TClass::TClass>: no dictionary for class TH1 is available
Warning in <TClass::TClass>: no dictionary for class TAxis is available
Total Number of Coincidence Events:= 334

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007fb313c7107a in __GI___waitpid (pid=13111, stat_loc=stat_loc
entry=0x7ffdca953200, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00007fb313be9fbb in do_system (line=<optimized out>) at
../sysdeps/posix/system.c:148
#2  0x00007fb314d5fe74 in TUnixSystem::Exec (shellcmd=<optimized out>,
this=0x90e7970) at
/home/satyajit/Documents/satyajit/phd_works/softwares/GATE/downloads/root_v5.34/core/unix/src/TUnixSystem.cxx:2172
#3  TUnixSystem::StackTrace (this=0x90e7970) at
/home/satyajit/Documents/satyajit/phd_works/softwares/GATE/downloads/root_v5.34/core/unix/src/TUnixSystem.cxx:2419
#4  0x00007fb314d6211c in TUnixSystem::DispatchSignals (this=0x90e7970,
sig=kSigSegmentationViolation) at
/home/satyajit/Documents/satyajit/phd_works/softwares/GATE/downloads/root_v5.34/core/unix/src/TUnixSystem.cxx:1294
#5  <signal handler called>
#6  0x00000000004034b2 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.
===========================================================
#6  0x00000000004034b2 in main ()
===========================================================


Segmentation fault (core dumped)


*Satyajit Ghosh*

*Senior Research Fellow*

*Nuclear Spectroscopy and Molecular Imaging Lab,*
*Physics Department, IIT Bombay,*
*Mumbai-400076, INDIA*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190701/ec7be221/attachment.html>


More information about the Gate-users mailing list