Dear FreeSurfer experts
We are getting a malloc error in mri_segstats when trying to run mri_glmfit_sim (v5.3.0 on Ubuntu) as follows:
mri_glmfit-sim --glmdir lh.pial_lgi.glmdir --cache 1.3 abs --cwpvalthresh 0.05 --overwrite
The output ends with:
Reporting on 2 segmentations Computing spatial average of each frame 0 1 *** Error in `mri_segstats': malloc(): memory corruption: 0x302df138 *** Writing to lh.pial_lgi.glmdir/before-after/cache.th13.abs.y.ocn.dat Abort (core dumped)
Any suggestions?
Many thanks, Frances
freesurfer@nmr.mgh.harvard.edu