I think I know why it is crashing. The function that works on the connected
voxels of each blob is recursive and keeps pushing and popping data from
the stack. If the blobs are very large, the stack grows to beyond its limit,
and causes Matlab to crash. I would guess that for your particular contrast,
you have some very large blobs - possibly indicating global volume differences.
The way around the problem would be to increase the stacksize. If you are
running Matlab from a Unix machine, you should type the following before
invoking it:
unlimit stacksize
If this answer is familiar, you can also find it at:
http://www.mailbase.ac.uk/lists/spm/2000-10/0202.html
Best regards,
-John
| Here's my problem: I have the following troublesome analysis:
| multi-subjects (n=9), 2 conditions, no replications, no covariates.
|
| During this analysis, SPM96 crashes with matlab giving a "Segmentation
| Fault" error.
| The same analysis in SPM99 runs to the end, but after defining the two
| relevant contrasts (-1 1 / 1 -1), when I want to look at one of the two
| contrasts, SPM crashes again giving a segmentation fault error.
|
| Any ideas what the problem could be? I would highly appreciate it!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|