Dear Douglas,

I had the same problem as Jonathan described in his post "PET processing seg fault with mri_glmfit --mrtm1" (https://mail.nmr.mgh.harvard.edu/pipermail//freesurfer/2016-January/043144.html).

In my case, I used this command:

mri_glmfit --y gtmpvc/km.hb.tac.nii.gz --mrtm1 gtmpvc/km.ref.tac.dat time.dat --o mrtm1 --no-est-fwhm --nii.gz

And I got this message:

/Applications/freesurfer/bin/mri_glmfit: line 3: 27756 Segmentation fault: 11  mri_glmfit.bin "$@"

Following your advice, I checked if km.hb.tac.nii.gz was all 0 using

hb = fast_vol2mat( MRIread('km.hb.tac.nii.gz'));
plot(hb)

in matlab, but that is not the case

Inline image 1

I also checked the table.dat format and it was correct, and I tried using mri_glmfit.bin command insted, but it did not work.

Could you give me some advice, so I can keep running the PET surfer pipeline?

Thank you in advance and kind regards,

CP