View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003440VTK(No Category)public2006-06-24 10:312008-02-13 10:39
ReporterObada Mahdi 
Assigned ToBerk Geveci 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003440: vtkRibbonFilter can cause subsequent filters to crash
DescriptionThis problem was reported by Christopher Bruns in [vtkusers], along with a C++ program to reproduce the crash:
http://public.kitware.com/pipermail/vtkusers/2006-June/085755.html [^]

There is a typo in vtkRibbonFilter.cxx, which leads to some bad results copying point and cell data. The following patch seems to correct this:

----BEGIN----
diff -u -r1.80 vtkRibbonFilter.cxx
--- Graphics/vtkRibbonFilter.cxx 21 Apr 2005 13:42:16 -0000 1.80
+++ Graphics/vtkRibbonFilter.cxx 24 Jun 2006 04:21:38 -0000
@@ -176,7 +176,7 @@
   //
   numNewCells = inLines->GetNumberOfCells();
   outCD->CopyNormalsOff();
- outPD->CopyAllocate(pd,numNewCells);
+ outCD->CopyAllocate(cd,numNewCells);
 
   // Create points along each polyline that are connected into NumberOfSides
   // triangle strips. Texture coordinates are optionally generated.
----END----
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0004355)
Obada Mahdi (reporter)
2006-06-26 16:04

I have re-assigned this to Mathieu.

Obada
(0010473)
Berk Geveci (administrator)
2008-02-13 10:39

VTK/Graphics/vtkRibbonFilter.cxx,v <-- vtkRibbonFilter.cxx
new revision: 1.81; previous revision: 1.80

revision 1.81
date: 2008-02-13 15:33:38 +0000; author: berk; state: Exp; lines: +2 -2
BUG: Fixed bug # 3440
There is a typo in vtkRibbonFilter.cxx, which leads to some bad results copying
point and cell data.

 Issue History
Date Modified Username Field Change
2008-02-06 10:51 Jeff Baumes Assigned To Mathieu Malaterre => Berk Geveci
2008-02-13 10:39 Berk Geveci Status tabled => closed
2008-02-13 10:39 Berk Geveci Note Added: 0010473
2008-02-13 10:39 Berk Geveci Resolution open => fixed
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team