Can you test whether it works on non-ubuntu platforms? I also have another program that is better for monte carlo simulations referenced here
https://surfer.nmr.mgh.harvard.edu/fswiki/BuildYourOwnMonteCarlo
On 01/08/2016 12:02 PM, Antonin Skoch wrote:
Dear FreeSurfer experts,
I am getting the same error with malloc(): memory corruption on mri_segstats invoked within mri_glmfit-sim. Apart from Frances, the process continues forever without any output after error message (i.e. without "Writing to..." and "Abort..." line).
My commandline is:
mri_glmfit-sim --glmdir . --cache 2 abs --cwp 0.05 --2spaces
My version is also v5.3.0, Ubuntu, 32bit. With some data or some parameters of --cache it works OK. I do not get this error at 64bit version with the data and parameters which caused the error in 32bit version.
Here is full relevant output of mri_segstats.
$Id: mri_segstats.c,v 1.75.2.9 2013/02/16 00:09:33 greve Exp $ cwd cmdline mri_segstats --seg ./lh-diff-C-PL-intercept-pial_lgi/cache.th20.abs.sig.ocn.mgh --exclude 0 --i /dataStrojovna2_1/ansk/ADHD/cortical/C_PN_PL_porovnani/qdec/pial_lgi_5_lh_dg_age/y.mgh --avgwf ./lh-diff-C-PL-intercept-pial_lgi/cache.th20.abs.y.ocn.dat --sum /tmp/mri_glmfit-sim.junk.8273 sysname Linux hostname aglaia4 machine i686 user ansk UseRobust 0 Loading ./lh-diff-C-PL-intercept-pial_lgi/cache.th20.abs.sig.ocn.mgh Loading /dataStrojovna2_1/ansk/ADHD/cortical/C_PN_PL_porovnani/qdec/pial_lgi_5_lh_dg_age/y.mgh Voxel Volume is 1 mm^3 Generating list of segmentation ids Found 4 segmentations Computing statistics for each segmentation 1 1 2542 2542.000 2 2 2426 2426.000 3 3 1738 1738.000
Reporting on 3 segmentations Computing spatial average of each frame 0 1 2*** glibc detected *** mri_segstats: malloc(): memory corruption: 0x2f80d4b0 ***
Regards,
Antonin Skoch
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer