[MINC-development] mincstats

Robert VINCENT minc-development@bic.mni.mcgill.ca
Fri, 5 Sep 2003 13:23:47 -0400


Richard,

Thanks for the submission - I'll apply the fix to the source tree.

	-bert

On Fri, 5 Sep 2003, Richard Boyes wrote:

> hi all,
>
> while using mincstats i got a segfault from the following:
>
> rboyes@drg43:/tmp/minctest /home/packages/bin/mincstats -clobber -histogram
> hist correct14457.mnc
> Segmentation fault
>
> which seems to occur because i didn't supply a mask, which some
> of the output requires (if a mask is not passed in you end up printing
> a null pointer which gives a seg fault). A diff file to apply a
> fix is attached if anyone wants it.
>
> richard.
>