View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003913 | Slicer4 | Module BRAINS | public | 2014-12-05 10:12 | 2015-11-30 17:41 |
Reporter | tokuda | Assigned To | hjmjohnson | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.4.0 | ||||
Target Version | Fixed in Version | Slicer 4.5.0-1 | |||
Summary | 0003913: General Registration (BRAINS) Crash | ||||
Description | I tried deformable registration of prostate image with General Registration (BRAINS) module, but the Slicer crashed a few seconds after I clicked “Apply” button. Here’s what I did:
And then the Slicer suddenly crashed. When I followed exactly the same steps with older version of Slicer (I used one downloaded on June 13, 2014), the registration worked well and I got a reasonable result. | ||||
Tags | No tags attached. | ||||
I was able to get a crash using the Slicer 4.4 release. I'll attach a screenshot of the stacktrace. It dies in: itk::ImageToImageMetricv4<itk::Image<float, 3u>, itk::Image<float, 3u>, itk::Image<float, 3u>, double, itk::DefaultImageToImageMetricTraitsv4<itk::Image<float, 3u>, itk::Image<float, 3u>, itk::Image<float, 3u>, double> >::SetMovingImageMask(itk::SpatialObject<3u> const*) |
|
2014-12-05 14:10
|
|
I tested again with a debug build and got basically the same stack trace but with some extra detail. Here's the code it dies on:
so m_Pointer is nonzero, but corrupt. (lldb) bt
|
|
CLI options: slicer:0x120fa6bf0 --processinformationaddress 0x135253890 --fixedVolume slicer:0x10e2a72b0#vtkMRMLScalarVolumeNode2 --movingVolume slicer:0x10e2a72b0#vtkMRMLScalarVolumeNode6 --outputVolume slicer:0x10e2a72b0#vtkMRMLScalarVolumeNode5 --initializeTransformMode useCenterOfROIAlign --samplingPercentage 0.002 --useRigid --useScaleVersor3D --useScaleSkewVersor3D --useAffine --useBSpline --splineGridSize 5,5,5 --numberOfIterations 1500 --maskProcessingMode ROI --fixedBinaryVolume slicer:0x10e2a72b0#vtkMRMLScalarVolumeNode1 --movingBinaryVolume slicer:0x10e2a72b0#vtkMRMLScalarVolumeNode3 --outputVolumePixelType float --backgroundFillValue 0 --maskInferiorCutOffFromCenter 1000 --interpolationMode Linear --minimumStepLength 0.001 --translationScale 1000 --reproportionScale 1 --skewScale 1 --maxBSplineDisplacement 0 --numberOfHistogramBins 50 --numberOfMatchPoints 10 --numberOfSamples 0 --fixedVolumeTimeIndex 0 --movingVolumeTimeIndex 0 --medianFilterSize 0,0,0 --removeIntensityOutliers 0 --useCachingOfBSplineWeightsMode ON --useExplicitPDFDerivativesMode AUTO --ROIAutoDilateSize 0 --ROIAutoClosingSize 9 --relaxationFactor 0.5 --maximumStepLength 0.05 --failureExitCode -1 --numberOfThreads -1 --forceMINumberOfThreads -1 --debugLevel 0 --costFunctionConvergenceFactor 2e+13 --projectedGradientTolerance 1e-05 --maximumNumberOfEvaluations 900 --maximumNumberOfCorrections 25 --metricSamplingStrategy Random --costMetric MMI --metricSeed 21474836 |
|
This one crashes for me: 0000004 Slicer-build $ ./lib/Slicer-4.4/cli-modules/BRAINSFit --fixedVolume ~/data/3913-brainsfit-crash/Day01_axial.nrrd --movingVolume ~/data/3913-brainsfit-crash/Day42_axial.nrrd --outputVolume /tmp/out.nrrd --initializeTransformMode useCenterOfROIAlign --samplingPercentage 0.002 --useRigid --useScaleVersor3D --useScaleSkewVersor3D --useAffine --useBSpline --splineGridSize 5,5,5 --numberOfIterations 1500 --maskProcessingMode ROI --fixedBinaryVolume ~/data/3913-brainsfit-crash/Day01_axial-label.nrrd --movingBinaryVolume ~/data/3913-brainsfit-crash/Day42_axial-label.nrrd --outputVolumePixelType float --backgroundFillValue 0 --maskInferiorCutOffFromCenter 1000 --interpolationMode Linear --minimumStepLength 0.001 --translationScale 1000 --reproportionScale 1 --skewScale 1 --maxBSplineDisplacement 0 --numberOfHistogramBins 50 --numberOfMatchPoints 10 --numberOfSamples 0 --fixedVolumeTimeIndex 0 --movingVolumeTimeIndex 0 --medianFilterSize 0,0,0 --removeIntensityOutliers 0 --useCachingOfBSplineWeightsMode ON --useExplicitPDFDerivativesMode AUTO --ROIAutoDilateSize 0 --ROIAutoClosingSize 9 --relaxationFactor 0.5 --maximumStepLength 0.05 --failureExitCode -1 --numberOfThreads -1 --forceMINumberOfThreads -1 --debugLevel 0 --costFunctionConvergenceFactor 2e+13 --projectedGradientTolerance 1e-05 --maximumNumberOfEvaluations 900 --maximumNumberOfCorrections 25 --metricSamplingStrategy Random --costMetric MMI --metricSeed 21474836 |
|
Here's an easier way to replicate. You can use this with the attached 3913-brainsfit-crash.tar.gz file and just update your data path. datadir=~/data/3913-brainsfit-crash ./lib/Slicer-4.4/cli-modules/BRAINSFit \ |
|
2015-01-07 06:07
|
3913-brainsfit-crash.tar.gz (4,156,204 bytes) |
Once BRAINSTools was updated to recent version, Bradley Lowekamp confirmed that this issue was resolved. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-12-05 10:12 | tokuda | New Issue | |
2014-12-05 10:12 | tokuda | Status | new => assigned |
2014-12-05 10:12 | tokuda | Assigned To | => hjmjohnson |
2014-12-05 14:10 | pieper | Note Added: 0012779 | |
2014-12-05 14:10 | pieper | Status | assigned => confirmed |
2014-12-05 14:10 | pieper | File Added: crash.png | |
2014-12-15 12:16 | pieper | Note Added: 0012788 | |
2015-01-07 05:43 | tokuda | Note Added: 0012844 | |
2015-01-07 05:50 | pieper | Note Added: 0012845 | |
2015-01-07 06:06 | pieper | Note Added: 0012847 | |
2015-01-07 06:07 | pieper | File Added: 3913-brainsfit-crash.tar.gz | |
2015-01-09 07:59 | hjmjohnson | Note Added: 0012874 | |
2015-01-09 07:59 | hjmjohnson | Status | confirmed => resolved |
2015-01-09 07:59 | hjmjohnson | Fixed in Version | => Slicer 4.5.0-1 |
2015-01-09 07:59 | hjmjohnson | Resolution | open => fixed |
2015-06-21 13:51 | tokuda | Status | resolved => closed |
2015-11-30 17:41 | jcfr | Category | Module BRAINSFit => Module BRAINS |