Hi,
I’ve just installed MRtrix 3.0 on my fresh installed ubuntu 16.04 using the installation guides on the site. I’m trying to use preprocessed diffusion data in ExploreDTI (DWIs+B0 output file) inside MRtrix, but any command I use with this image or even the raw DWI.nii (not preprocessed) file itself, it gives me the error of “segmentation fault (core dumped)”.
For example, I tried to run the basic DWI processing pipeline starting with this command:
dwi2mask -fslgrad subj1.bvec subj1.bval -debug subj1.nii subj1_mask.nii
This is all I get:
dwi2mask: [DEBUG] No config file found at “/etc/mrtrix.conf”
dwi2mask: [DEBUG] No config file found at “.mrtrix.conf”
dwi2mask: [INFO] opening image “subj1.nii”…
dwi2mask: [DEBUG] memory-mapping file “subj1.nii”…
dwi2mask: [DEBUG] file “subj1.nii” mapped at 0x7f24c7903000, size 872415584 (read-only)
dwi2mask: [DEBUG] unmapping file “subj1.nii”
dwi2mask: [DEBUG] sanitising image information…
dwi2mask: [DEBUG] memory-mapping file “subj1.nii”…
dwi2mask: [DEBUG] file “subj1.nii” mapped at 0x7f24c7903000, size 872415232 (read-only)
dwi2mask: [DEBUG] image “subj1.nii” loaded
dwi2mask: [DEBUG] image “subj1.nii” initialised with strides = [ 1 256 65536 16777216 ], start = 0, using indirect IO
dwi2mask: [DEBUG] initialising threads…
dwi2mask: [DEBUG] launching 20 threads “loop threads”…
dwi2mask: [ 0%] preloading data for “subj1.nii”…
dwi2mask: [DEBUG] waiting for completion of threads “loop threads”…
dwi2mask: [100%] preloading data for “subj1.nii”…
dwi2mask: [DEBUG] threads “loop threads” completed OK
dwi2mask: [100%] preloading data for “subj1.nii”
dwi2mask: [DEBUG] image “subj1.nii” initialised with strides = [ 26 6656 1703936 1 ], start = 0, using direct IO
Segmentation fault (core dumped)
If I try to use mrconvert:
mrconvert -debug subj1.nii subj1.mif
I get this:
mrconvert: [DEBUG] No config file found at “/etc/mrtrix.conf”
mrconvert: [DEBUG] No config file found at “.mrtrix.conf”
mrconvert: [INFO] opening image “subj1.nii”…
mrconvert: [DEBUG] memory-mapping file “subj1.nii”…
mrconvert: [DEBUG] file “subj1.nii” mapped at 0x7f2726d57000, size 872415584 (read-only)
mrconvert: [DEBUG] unmapping file “subj1.nii”
mrconvert: [DEBUG] sanitising image information…
mrconvert: [DEBUG] memory-mapping file “subj1.nii”…
mrconvert: [DEBUG] file “subj1.nii” mapped at 0x7f2726d57000, size 872415232 (read-only)
mrconvert: [DEBUG] image “subj1.nii” loaded
mrconvert: [DEBUG] image “subj1.nii” initialised with strides = [ 1 256 65536 16777216 ], start = 0, using indirect IO
Segmentation fault (core dumped)
I’ll be glad to hear your solutions.
Bests,
Amir