View Issue Details

IDProjectCategoryView StatusLast Update
0003986Slicer4Core: Base Codepublic2017-06-13 11:57
Reporterfbudin Assigned Tojcfr  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
Product VersionSlicer 4.4.0 
Target VersionFixed in VersionSlicer 4.7.0 
Summary0003986: Slicer crashes when a CLI module writes a diffusion tensor output image with the ITK writer class
Description

When a CLI module outputs a diffusion tensor image and uses ITK to write this image, Slicer crashes. This only happens when the module is loaded as a library. A work around is to select "Prefer executable CLI" in the option panel, and in this case Slicer does not crash anymore.
This bug happens with ResampleDTI and DiffusionTensorTest which are to my knowledge the only two CLI modules that use ITK to read and write diffusion tensor images in Slicer.
This problem appeared in recent versions of Slicer. It worked until version 4.2.2.1 and 4.3.1. Slicer crashes in version 4.4 and nightly.

Additional Information

The command line to call the CLI module looks the same in Slicer 4.3.1 and in Slicer nightly (post 4.4):

Slicer nightly/ResampleDTIVolume (of ResampleDTI that was in Slicer 4.3.1 to make sure that the problem does not come from the new code of ResampleDTI):
slicer:0x7ff7700d0af1 --processinformationaddress 0xaa9fae0 --hfieldtype h-Field --interpolation linear --correction zero --transform_tensor_method PPD --transform_order output-to-input --image_center input --spacing 0,0,0 --size 0,0,0 --direction_matrix 0,0,0,0,0,0,0,0,0 --number_of_thread 0 --default_pixel_value 1e-10 --window_function c --spline_order 3 --transform_matrix 1,0,0,0,1,0,0,0,1,0,0,0 --transform a slicer:0x2d97e20#vtkMRMLDiffusionTensorVolumeNode1 slicer:0x2d97e20#vtkMRMLDiffusionTensorVolumeNode1

Slicer 4.3.1/ResampleDTIVolume:
slicer:0x7f5baded2ef0 --processinformationaddress 0x975f310 --hfieldtype h-Field --interpolation linear --correction zero --transform_tensor_method PPD --transform_order output-to-input --image_center input --spacing 0,0,0 --size 0,0,0 --direction_matrix 0,0,0,0,0,0,0,0,0 --number_of_thread 0 --default_pixel_value 1e-10 --window_function c --spline_order 3 --transform_matrix 1,0,0,0,1,0,0,0,1,0,0,0 --transform a slicer:0x2bcb9e0#vtkMRMLDiffusionTensorVolumeNode1 slicer:0x2bcb9e0#vtkMRMLDiffusionTensorVolumeNode1

TagsNo tags attached.

Relationships

duplicate of 0004030 closedinorton Can't read back DWI nodes with MRML IO (shared library) 

Activities

lassoan

lassoan

2017-06-13 08:47

developer   ~0014802

Closing this one, as it is a duplicate of 0004030 - it is enough to have one open issue for a specific problem.

Issue History

Date Modified Username Field Change
2015-04-15 07:53 fbudin New Issue
2015-04-15 07:53 fbudin Status new => assigned
2015-04-15 07:53 fbudin Assigned To => jcfr
2015-11-12 15:07 jcfr Relationship added duplicate of 0004030
2017-06-13 08:47 lassoan Status assigned => closed
2017-06-13 08:47 lassoan Resolution open => duplicate
2017-06-13 08:47 lassoan Note Added: 0014802
2017-06-13 11:57 jcfr Fixed in Version => Slicer 4.7.0