MantisBT - VTK
View Issue Details
0006640VTK(No Category)public2008-03-20 19:372016-08-12 09:54
David Thompson (old) 
Kitware Robot 
normalcrashsometimes
closedmoved 
 
 
0006640: Writing datasets with string arrays causes crash
The vtkXMLWriter crashes at line 165 of vtkXMLWriter.cxx, ver.1.71 (length -= stringOffset;) when writing a dataset in appended mode which happens to contain a string array. The problem appears to arise because a new string is fetched at line 161 even when the previous string spanned a block and thus has not been completely written. It is then possible for stringOffset to be larger than the length of the new string causing a crash at line 177. I can see the problem but the fix is not straightforward.
E-mail me and I'll send you a 3MB dataset that always causes a crash (it is possible some string arrays will not).
No tags attached.
Issue History
2008-03-20 19:37David Thompson (old)New Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036963
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved
2016-08-12 09:54Kitware RobotAssigned To => Kitware Robot

Notes
(0036963)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.