Dear mrtrix experts,
I’m trying to run tck2fixel (== mrview 3.0_RC3-157-gf74685cd-dirty == 64 bit release version, built May 2 2019, using Eigen 3.3.5
) but I’m getting the following segmentation error:
tck2fixel: [ 0%] loading template fixel directions and positions...
tck2fixel: [SYSTEM FATAL CODE: SIGSEGV (11)] Segmentation fault: Invalid memory access
Running it the command with the -degub
option showed that there is a problem when loading fixel directions (I copy only the last lines, otherwise it’s too long):
tck2fixel: [ 0%] preloading data for "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_tck2fixel: [100%] preloading data for "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor/directions.mif"...
tck2fixel: [DEBUG] waiting for completion of threads "loop threads"...
tck2fixel: [DEBUG] threads "loop threads" completed OK
tck2fixel: [100%] preloading data for "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor/directions.mif"
tck2fixel: [DEBUG] image "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor/directions.mif" initialised with strides = [ -1 1726175 5178525 ], start = 1726174, using direct IO
tck2fixel: [ 0%] loading template fixel directions and positions...
tck2fixel: [SYSTEM FATAL CODE: SIGSEGV (11)] Segmentation fault: Invalid memory access
Since the problem seems to be related to directions.mif, I checked (see below) whether the file is corrupted, but apparently it’s ok:
$ mrinfo /Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor/directions.mif
************************************************
Image: "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor/directions.mif"
************************************************
Dimensions: 1726175 x 3 x 1
Voxel size: 1.14717 x 1.16143 x 1.17269
Data strides: [ -1 2 3 ]
Format: MRtrix
Data type: 32 bit float (little endian)
Intensity scaling: offset = 0, multiplier = 1
Transform: 1 6.24e-06 0.001396 -89.81
6.24e-06 1 -0.008938 -106.5
-0.001396 0.008938 1 -70.72
command_history: dwiextract "/Users/adminuser/ANE/Data/RAW_DATA/sub01/data_norm_up.mif" "/Users/adminuser/ANE/Data/RAW_DATA/sub01/temp.mif" (version=3.0_RC3-135-g2b8e7d0c-dirty)
[6 entries] dwi2fod "-mask" "/Users/adminuser/ANE/Data/RAW_DATA/sub01/dwi_mask_up_Ane.mif" "msmt_csd" "/Users/adminuser/ANE/Data/RAW_DATA/sub01/temp.mif" "/Users/adminuser/ANE/Data/average_response.txt" "/Users/adminuser/ANE/Data/RAW_DATA/sub01/FOD_up_Ane.mif" "-force" (version=3.0_RC3-135-g2b8e7d0c-dirty)
...
tck2fixel "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/Tracts_GC_R_V5_R_PT_Excluding_R_MTa_BothDirs_iFOD2_Len_3SD_Pos_3SD.tck" "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor" "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor" "fixelmask_Tracts_GC_R_V5_R_PT_Excluding_R_MTa_BothDirs_iFOD2_Len_3SD_Pos_3SD_non_bin.mif" "-force" (version=3.0_RC3-135-g2b8e7d0c-dirty)
tck2fixel "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/Tracts_GC_R_V5_R_PT_Excluding_R_MTa_BothDirs_iFOD2_Len_3SD_Pos_3SD.tck" "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor" "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/fixel_in_template_space_reor" "fixelmask_Tracts_GC_R_V5_R_PT_Excluding_R_MTa_BothDirs_iFOD2_Len_3SD_Pos_3SD_non_bin.mif" "-force" (version=3.0_RC3-135-g2b8e7d0c-dirty)
comments: FSL5.0
resliced using warp image "/Users/adminuser/ANE/Investigations/ROI_Analyses/template_SC_UP/sub01/subject2template_warp.mif"
dwi_norm_percentile: 50
dwi_norm_scale_factor: 31.6666698
mrtrix_version: 3.0_RC3-135-g2b8e7d0c-dirty
prior_dw_scheme: -0.9999998568,0.0001827434782,0.0005029499345,1500
[60 entries] -0.586315455,-0.3761666457,0.7174488427,1500
...
-0.5317686978,0.8059705331,-0.2600645147,1500
-0.6650152693,0.4709984681,-0.5795818619,1500
What else could I check?
Thank you