[vtk-developers] [VTK 0013295]: vtkXMLUnstructuredGridReader cannot read vtu-files in ascii mode when a double data array contains INFINITE or MAX values

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 5 06:07:54 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=13295 
====================================================================== 
Reported By:                klaus triendl
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13295
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   high
Status:                     backlog
Project:                    Release 
Type:                       crash 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-07-05 06:07 EDT
Last Modified:              2012-07-05 06:07 EDT
====================================================================== 
Summary:                    vtkXMLUnstructuredGridReader cannot read vtu-files
in ascii mode when a double data array contains INFINITE or MAX values
Description: 
vtkXMLUnstructuredGridWriter seems to correctly write vtu-files in ascii mode
with double data arrays containing INFINITE and MAX values.
However the vtkXMLUnstructuredGridReader reports the following error:

<error>
ERROR: In D:\projects\vtk-5.10.0\IO\vtkXMLDataReader.cxx, line 545
vtkXMLUnstructuredGridReader (0000000001DC9A30): Cannot read cell data array
"doubles" from PointData in piece 0.  The data array in the element may be too
short.
</error>


Note that modes other than ascii, compressed or uncompressed, don't have this
issue; however this issue makes up a bad combination together with issue
http://vtk.org/Bug/view.php?id=13294.


Please see attached zip file, which contains:
* a test cpp file displaying how I produce the vtu-files
* a test msvc2010 project
* the source and resulting vtu files


I detected the issue already in version 5.8.0, it's still active in 5.10.0.
However, it doesn't show up in 6.0 (git #02aef09).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-07-05 06:07 klaus triendl  New Issue                                    
2012-07-05 06:07 klaus triendl  File Added: vtk-max_inf-bug.zip                 
  
======================================================================




More information about the vtk-developers mailing list