3dmask_tool error

I want to combine my 18 subjects’’ EP data and create new mask.
I made each subject’s BrainMask.nii files using 3dAutoMask
and wrote code for it

3dmask_tool -input subj1_EP_BrainMask.nii
subj2_EP_BrainMask.nii subj3_EP_BrainMask.nii \

-prefix safc_G18
-dilate_result 5 -5

and I got this error massage.

++ no -frac option: defaulting to -union
++ processing 18 input datasets…
++ padding all datasets by 0 (for dilations)
++ frac 0 over 18 volumes gives min count 0
++ voxel limits: 0 clipped, 139406 survived, 171890 were zero

Fatal Signal 11 (SIGSEGV) received
Bottom of Debug Stack

** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.

How can I handle this problem?
Any suggestions would be great, thanks.

There was a bug at the end of that dilation step,
which is now fixed. New binaries should be
available by about 1 pm EST, if you need them.


  • rick

Just so you are sure, the binaries were indeed
available as planned. Thanks again for letting me know.

  • rick

now it works!

Thank you so much.