View Issue Details

IDProjectCategoryView StatusLast Update
0003227Slicer4Module Volumespublic2014-03-06 06:15
Reportergregsharp Assigned Tofinetjul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSOS Version
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0003227: Volumes module infinite loop for image with INF
Description

The volumes module puts slicer into an infinite loop if an image which has INF values is selected.

I've attached an image which has such infinite values for your testing pleasure.

This is reproduced on two different linux boxes, but I haven't tried Mac / Windows.

TagsNo tags attached.

Activities

2013-07-15 08:22

 

proton_dose_.nrrd (16,702 bytes)
pieper

pieper

2013-07-15 08:57

administrator   ~0009053

I was able to reproduce this on mac and generate a stack trace - the loop ctk::orderOfMagnitude fails to converge when the value is INF;

https://github.com/commontk/CTK/blob/master/Libs/Core/ctkUtils.cpp#L215

it probably fails for NaN, -INF too so we should update the test.

https://github.com/commontk/CTK/blob/master/Libs/Core/Testing/Cpp/ctkUtilsOrderOfMagnitudeTest1.cpp

Would be good to look at closestPowerOfTen and significantDecimals for the same issues.

pieper

pieper

2013-07-15 09:00

administrator   ~0009054

Issue filed in CTK as:

https://github.com/commontk/CTK/issues/348

finetjul

finetjul

2013-07-16 04:52

administrator   ~0009057

Fixed in r22198

jcfr

jcfr

2014-03-06 05:18

administrator   ~0011116

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2013-07-15 08:22 gregsharp New Issue
2013-07-15 08:22 gregsharp File Added: proton_dose_.nrrd
2013-07-15 08:57 pieper Note Added: 0009053
2013-07-15 09:00 pieper Note Added: 0009054
2013-07-15 09:53 finetjul Status new => assigned
2013-07-15 09:53 finetjul Assigned To => finetjul
2013-07-16 04:52 finetjul Note Added: 0009057
2013-07-16 04:52 finetjul Status assigned => resolved
2013-07-16 04:52 finetjul Fixed in Version => Slicer 4.3.0
2013-07-16 04:52 finetjul Resolution open => fixed
2014-03-06 05:18 jcfr Note Added: 0011116
2014-03-06 05:19 jcfr Status resolved => closed
2014-03-06 06:15 jcfr Target Version => Slicer 4.3.0