View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013057VTK(No Category)public2012-04-04 13:062014-10-03 09:26
ReporterTim Hutton 
Assigned ToBill Lorensen 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.8.0 
Target Version6.2.0Fixed in Version6.2.0 
Summary0013057: bad input to vtkXMLImageDataReader causes floating point exception (SIGFPE)
DescriptionThe following file (also attached) crashes our VTK application and also Paraview, giving a floating point exception.

<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1" byte_order="LittleEndian" compressor="vtkZLibDataCompressor">
  <ImageData WholeExtent="0 63 0 63 0 63" Origin="0 0 0" Spacing="1 1 1">
    <Piece Extent="0 63 0 63 0 63">
      <PointData Scalars="ImageScalars">
        <DataArray type="Float32" Name="ImageScalars" format="appended" RangeMin="0" RangeMax="0" offset="0" />
      </PointData>
      <CellData>
      </CellData>
    </Piece>
  </ImageData>
  <AppendedData encoding="base64">
   _IAAAAA
  </AppendedData></VTKFile>

This file was produced by manual editing. Ideally this would give an error on loading but wouldn't crash.
Steps To ReproduceTry to read file with XMLImageDataReader.
Tagshackaton
ProjectRelease
Typecrash
Attached Files? file icon edited_image_BAD.vti [^] (543 bytes) 2012-04-04 13:06

 Relationships

  Notes
(0033383)
Bill Lorensen (developer)
2014-09-30 13:52

Submitted gerrit patch:
http://review.source.kitware.com/#/t/4736/ [^]
(0033384)
Andy Bauer (developer)
2014-09-30 21:57

Others were seeing similar issues so I'd like to check on this during the VTK hackathon on 10/2/2014 to make sure this gets resolved. I think the issue I saw it with was with either the vtkXMLStructuredGridReader or the vtkXMLRectilinearGridReader.
(0033569)
Bill Lorensen (developer)
2014-10-03 09:25

Gerrit patch:
http://review.source.kitware.com/#/t/4736/ [^]

 Issue History
Date Modified Username Field Change
2012-04-04 13:06 Tim Hutton New Issue
2012-04-04 13:06 Tim Hutton File Added: edited_image_BAD.vti
2014-09-30 10:11 Bill Lorensen Tag Attached: hackaton
2014-09-30 10:11 Bill Lorensen Assigned To => Bill Lorensen
2014-09-30 10:11 Bill Lorensen Status backlog => tabled
2014-09-30 12:52 Bill Lorensen Project TBD => Release
2014-09-30 12:52 Bill Lorensen Reproducibility have not tried => always
2014-09-30 12:52 Bill Lorensen Steps to Reproduce Updated
2014-09-30 13:52 Bill Lorensen Note Added: 0033383
2014-09-30 21:57 Andy Bauer Note Added: 0033384
2014-10-01 12:40 Berk Geveci Status tabled => backlog
2014-10-02 14:33 Ben Boeckel (Kitware) Status backlog => gerrit review
2014-10-03 09:25 Bill Lorensen Note Added: 0033569
2014-10-03 09:26 Bill Lorensen Status gerrit review => closed
2014-10-03 09:26 Bill Lorensen Resolution open => fixed
2014-10-03 09:26 Bill Lorensen Fixed in Version => 6.2.0
2014-10-03 09:26 Bill Lorensen Target Version => 6.2.0


Copyright © 2000 - 2018 MantisBT Team