MantisBT - VTK
View Issue Details
0004340VTK(No Category)public2007-01-19 16:482011-01-13 17:00
Sean McBride 
Dave DeMarle 
highmajoralways
closedfixed 
 
 
0004340: dashboard: tests failing when using Debug version of STL
When building VTK 5.1 (cvs) on a Unix platform using gcc 3.3 or later with the Debug version of STL, several dashboard tests timeout. See for example:

http://www.vtk.org/Testing/Sites/RogueResearchi386/MacOSXTiger-i386-carbon/20070118-0300-Nightly/Test.html [^]

This dashboard has been yellow for 2 months now. :(

This bug has been seen on Mac OS X and linux.

To build with the Debug STL add -D_GLIBCXX_DEBUG to your CXXFLAGS.

The symptom is that the code is stuck in an infinite loop at the end of vtkOTMesh::CreateInsertionCavity() in vtkOrderedTriangulator.cxx.
No tags attached.
Issue History
2007-11-21 11:05Sean McBrideDescription Updated
2008-01-08 10:27Sean McBrideAssigned ToWill Schroeder => David Cole
2008-01-08 10:29Sean McBrideNote Added: 0010098
2008-01-14 12:00David ColeAssigned ToDavid Cole => Jeff Lee
2008-01-14 15:36David ColeAssigned ToJeff Lee => David Cole
2008-01-14 15:39David ColeAssigned ToDavid Cole => Jeff Baumes
2008-01-15 11:21Dave DeMarleAssigned ToJeff Baumes => Dave DeMarle
2008-01-15 16:01Dave DeMarleNote Added: 0010158
2008-01-22 11:01Sean McBrideStatustabled => @80@
2008-01-22 11:01Sean McBrideResolutionopen => fixed
2008-01-22 11:01Sean McBrideNote Added: 0010214
2008-06-03 14:46Sean McBrideStatus@80@ => closed
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11Zack GalbreathCategory => (No Category)

Notes
(0007723)
Sean McBride   
2007-05-24 17:38   
Is anyone looking at this? It seems to not even be assigned to anyone... I would have thought that since it is reproducibly causing dashboard failures that would get high priority. :)
(0007835)
Sean McBride   
2007-06-07 18:18   
Bill Lorensen has very kindly looked at this, and reports the following:

"I'm pretty sure I have found the problem. vtkOrderedTriangulator is creating dangling iterators. These are never used however, so for normal stl it is OK. But safe stl keeps track of all iterators that access a given container. This vtk class uses vtkHeap to allocate all of its memory so the iterators never get deleted. But vtkHeap reuses the storage that iterators were allocated from. The iterators get corrupted and stl safe gets caught in a loop while verifying the iterators. (Confusing enough, but I hope you get the gist.)"
(0010098)
Sean McBride   
2008-01-08 10:29   
David, this bug has been unassigned for almost a year now, and it has been about a year that these dashboard tests are failing, so I've taken the liberty of assigning this bug to you. :)
(0010158)
Dave DeMarle   
2008-01-15 16:01   
To demonstrate, compile on a *Nix machine with -D_GLIBCXX_DEBUG and run TestClipHyperOctree.
(0010214)
Sean McBride   
2008-01-22 11:01   
David has fixed this, thanks!