View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013361VTK(No Category)public2012-08-15 08:362013-12-16 13:33
ReporterBoris 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version5.10.0 
Target VersionFixed in Version 
Summary0013361: Possible bug in vtkXMLWriterC.cxx
DescriptionHello,

Line #650 in src/IO/vtkXMLWriterC.cxx
array->SetArray(cells, ncells*cellsSize, 1);
looks suspicious as this function description states cellsSize to be the size of cells

In VTK 5.0.1 it looks more sensible:
Line #622 the same file:
array->SetArray(cells, cellsSize, 1);
and works pretty well

thanks, boris
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Files

 Relationships

  Notes
(0031033)
Dave DeMarle (administrator)
2013-06-24 21:46

Can you demonstrate the crash?
The change was made in:
commit bb6a387a173749754b88cae48f6c26ba3e5eab2f
    BUG: Fix XML C API when writing more than just one cell
And that looks reasonable to me.
With "ncells" cells each having "cellsSize" points, you need to pass in an array that is ncells*cellSize long to describe the pointids.

 Issue History
Date Modified Username Field Change
2012-08-15 08:36 Boris New Issue
2013-06-24 21:46 Dave DeMarle Note Added: 0031033
2013-07-22 21:10 Dave DeMarle Product Version => 5.10.0
2013-07-22 21:10 Dave DeMarle Summary Possible bug in VTK 5.10.0 => Possible bug in vtkXMLWriterC.cxx
2013-12-16 13:33 Dave DeMarle Status backlog => closed
2013-12-16 13:33 Dave DeMarle Assigned To => Dave DeMarle
2013-12-16 13:33 Dave DeMarle Resolution open => no change required


Copyright © 2000 - 2018 MantisBT Team