View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016065VTK(No Category)public2016-04-08 05:462016-07-06 10:42
ReporterStefano Borini 
Assigned ToWill Schroeder 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Product Version6.3.0 
Target VersionFixed in Version 
Summary0016065: vtkBandedPolyDataContourFilter::RequestData enters infinite loop for specific dataset
DescriptionReference issue on mayavi: https://github.com/enthought/mayavi/issues/67 [^]

The problem is that the following data

[-2.0, 4.7, 4.1]
[ 23.9, 27.4, nan]
[ 28.2, 26.6, nan]

produce an infinite loop in the following part of the BandedPolyDataContourFilter

 for ( mR=idx, intersectionPoint=0; !intersectionPoint; )
        {
        numPointsToAdd++;
        mR = (mR + 1) % numFullPts;
        if ( isContourValue[mR] && s[mR] != s[idx] ) intersectionPoint = 1;
        }

Both the negative value and the nans are necessary to trigger the infinite loop.

Present also in vtk 7.1
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Files

 Relationships

  Notes
(0036165)
Will Schroeder (manager)
2016-07-06 10:41

The presence of NaN means that the data is undefined and cannot be processed.

To fix this a separate filter would have to be written to throw out bad data (another variant of clean poly data in other words).

 Issue History
Date Modified Username Field Change
2016-04-08 05:46 Stefano Borini New Issue
2016-07-06 10:39 Will Schroeder Assigned To => Will Schroeder
2016-07-06 10:41 Will Schroeder Note Added: 0036165
2016-07-06 10:42 Will Schroeder Status backlog => closed
2016-07-06 10:42 Will Schroeder Resolution open => not fixable


Copyright © 2000 - 2018 MantisBT Team