View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003694 | Slicer4 | Module EMSegment | public | 2014-05-19 11:10 | 2017-06-10 08:51 |
Reporter | pohl | Assigned To | pieper | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu 64 bit | OS Version | 12.04 |
Product Version | Slicer 4.3.1-2 | ||||
Target Version | Slicer 4.3.1-2 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0003694: All tests based on EMSegmentCommandLine.cxx fail | ||||
Description | All Tests that use the EMSegmentCommandLine fail as the following line in tasks/GenericTask.tcl $outputVolume DeepCopy [$thresh GetOutput] causes the following Error message ERROR: In /software/Slicer4/superbuild/VTKv5/Filtering/vtkImageData.cxx, line 1349 | ||||
Steps To Reproduce | run ctest -VV -R EMSeg_SlicerCommonInterfaceTest1 The test calls the script Testing/SlicerCommonInterFaceTest1.tcl which reads in a volume set inputNode [$emLogic AddArchetypeScalarVolume "$inputVolumeFileName" "input" $appLogic $mrmlScene 0] creates a new volume set outputNode [$em_manager CreateVolumeScalarNode $inputNode "blubber"] and then performs different DeepCopy calls on outputVolume. so $outputVolume DeepCopy [$inputNode GetImageData] but set thresh [vtkImageThreshold New] works Also set ellips [vtkImageEllipsoidSource New] works but if I now deepcopy the threshold again $outputVolume DeepCopy [$thresh GetOutput] I get the error message again Note, if you want to play around with the tcl file in the source directory you do not have to recompile but can just execute the test. | ||||
Tags | No tags attached. | ||||
When I run that test on a release build of slicer for linux the test passes. Is this a problem only on a debug build?
579: Test command: /home/pieper/slicer4/latest/Slicer-superr/Slicer-build/Slicer "--launcher-no-splash" "--launch" "/home/pieper/slicer4/latest/Slicer-superr/Slicer-build/bin/vtkSlicerCommonInterfaceTest1" The following tests passed: 100% tests passed, 0 tests failed out of 1 |
|
This is not the newest version of the test . Can you make sure to make a svn update of the EMSegmenter module ? |
|
You either need to update the svn repository that this block points to [1] or change this entry in the superbuild.cmake file to point to a different repository. [1] https://github.com/Slicer/Slicer/blob/master/SuperBuild.cmake#L262-L269 Running make at the top level of slicer should be pulling the latest from the svn repository (if not that would be a bug in the superbuild). |
|
it is now updated |
|
This is fixed in r23222. Kilian can you confirm and close the bug? https://github.com/Slicer/Slicer/commit/4c7b090262bb675a21762d539570cc24cc7af7b7 |
|
works now |
|
Import 2017-06-07 23:51:09: master 4c7b0902 2014-05-21 11:45:20 Details Diff |
BUG: 0003694 check for valid image data before running pipeline Since the display node is observing the image data directly it may receive Modified events on image data that is not yet completely constructed, in particular, during a DeepCopy, the scalar fields may not yet have been copied when a ModifiedEvent is triggered by one of the Set methods. This change prevents a spurious vtkErrorMessage from being generated, and so it allows the EMSegment test to pass. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23223 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/vtkMRMLScalarVolumeDisplayNode.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-19 11:10 | pohl | New Issue | |
2014-05-19 11:10 | pohl | Status | new => assigned |
2014-05-19 11:10 | pohl | Assigned To | => pieper |
2014-05-19 14:12 | pieper | Note Added: 0011905 | |
2014-05-19 19:26 | pohl | Note Added: 0011906 | |
2014-05-20 05:00 | pieper | Note Added: 0011910 | |
2014-05-20 07:14 | pohl | Note Added: 0011913 | |
2014-05-21 07:54 | pieper | Note Added: 0011936 | |
2014-05-21 10:12 | pohl | Note Added: 0011937 | |
2014-05-21 10:12 | pohl | Status | assigned => resolved |
2014-05-21 10:12 | pohl | Resolution | open => fixed |
2014-05-22 03:21 | pieper | Status | resolved => closed |
2014-05-22 03:21 | pieper | Fixed in Version | => Slicer 4.4.0 |
2017-06-10 08:51 | pieper | Changeset attached | => Slicer master 4c7b0902 |