View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000989VTK(No Category)public2004-07-18 13:362011-01-13 17:00
ReporterDrew Dolgert 
Assigned ToMathieu Malaterre 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000989: vtkSplitField::SetInputField(char*,char*) fails with stack overflow.
DescriptionThe documentation for vtkSplitField shows the following code:
sf->SetInputField("gradient",vtkSplitField::POINT_DATA);
Calling this from Python calls
sf->SetInputField("gradient","POINT_DATA") instead, which causes a stack overflow.

The problem is that vtkSplitField.cxx, line 138, contains a recursive call
this->SetInputField(name, fieldLoc);
which should be changed to
this->SetInputField(name, loc);
where loc is an integer.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0001273)
Mathieu Malaterre (developer)
2004-07-18 21:21

Patch seems ok, merging diff tomorrow, thanks Andrew.
(0001275)
Mathieu Malaterre (developer)
2004-07-19 11:48

$ cvs ci vtkSplitField.cxx /opt/VTK/VTK/Graphics
Checking in vtkSplitField.cxx;
/cvsroot/VTK/VTK/Graphics/vtkSplitField.cxx,v <-- vtkSplitField.cxx
new revision: 1.16; previous revision: 1.15
done

 Issue History
Date Modified Username Field Change
2010-11-29 17:59 Mathieu Malaterre Source_changeset_attached => VTK master c030a385
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team