Segfault on Mac in rest_spm_slice_vol.mexmaci64

Submitted by lipsupport on

Dear Experts,

I was wondering if any of you came across this (reproducible) segfault:

Stack Trace (from fault):

[  0] 0x000000010661e507 /Applications/MATLAB_R2013a.app/bin/maci64/libmwfl.dylib+00029959 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000215

[  1] 0x0000000106621d42 /Applications/MATLAB_R2013a.app/bin/maci64/libmwfl.dylib+00044354 _ZN2fl4test17terminate_handledEv+00000834

[  2] 0x000000010662185a /Applications/MATLAB_R2013a.app/bin/maci64/libmwfl.dylib+00043098 _ZN2fl4diag13terminate_logEPKcRKNS0_14thread_contextE+00000106

[  3] 0x0000000106e017af /Applications/MATLAB_R2013a.app/bin/maci64/libmwmcr.dylib+00251823 _Z32mnRunPathDependentInitializationv+00002879

[  4] 0x0000000106e01a21 /Applications/MATLAB_R2013a.app/bin/maci64/libmwmcr.dylib+00252449 _Z32mnRunPathDependentInitializationv+00003505

[  5] 0x0000000106dfff22 /Applications/MATLAB_R2013a.app/bin/maci64/libmwmcr.dylib+00245538 mnSIGABRTHandler+00000530

[  6] 0x0000000106e000b6 /Applications/MATLAB_R2013a.app/bin/maci64/libmwmcr.dylib+00245942 mnFatalSignalHandler+00000086

[  7] 0x00007fff90f275aa           /usr/lib/system/libsystem_platform.dylib+00013738 _sigtramp+00000026

[  8] 0x00007f8582cfd224                                   <unknown-module>+00000000

[  9] 0x000000012a873b09 /Volumes/DATA/data/technicals/fmri/resting state toolbox/REST_V1.7_120101/rest_spm5_files/rest_spm_slice_vol.mexmaci64+00072457 slice_float+00000857

[ 10] 0x000000012a88937a /Volumes/DATA/data/technicals/fmri/resting state toolbox/REST_V1.7_120101/rest_spm5_files/rest_spm_slice_vol.mexmaci64+00160634 slice+00000618

[ 11] 0x000000012a862dde /Volumes/DATA/data/technicals/fmri/resting state toolbox/REST_V1.7_120101/rest_spm5_files/rest_spm_slice_vol.mexmaci64+00003550 mexFunction+00000574

[ 12] 0x000000010b432a6b /Applications/MATLAB_R2013a.app/bin/maci64/libmex.dylib+00055915 mexRunMexFile+00000075

[ 13] 0x000000010b42e799 /Applications/MATLAB_R2013a.app/bin/maci64/libmex.dylib+00038809 _ZN7Mfh_mex30runMexFileWithSignalProtectionEiPP11mxArray_tagiS2_+00000105

 

Unfortunately there is no source file for rest_spm_slice_vol.m and we are stuck in debugging this.

Any ideas would be very welcome.

 

Michael

YAN Chao-Gan

Fri, 05/09/2014 - 16:02

Hi Michael,

That file is actually a spm file. Does SPM work properly on our Mac? If so, you may try to type:

rest_Fix_Read_Write_Error

in the command line and see if the problem solves.

Best,

Chao-Gan