[Paraview] bugreport

Lukas van de Wiel lukas.drinkt.thee at gmail.com
Tue Jun 9 06:07:32 EDT 2015


Dear all,

Paraview segfaults when multiple data sets have the same name.

While this is a mistake by the user, IMHO it should be handled a bit more
gracefully than a segfault.

Found in Paraview 3.14.1, 64 bits, running on linux


For example, the following file of two data sets on the unit tetrahedron,
both names 'test123', causes a segfault. Change one of the names and
everything runs well.


 <VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
   <UnstructuredGrid>
     <Piece NumberOfPoints="4" NumberOfCells="1">
       <PointData Scalars="scalars">
         <DataArray type="Float32" Name="test123" format="ascii">
            0.1 0.2 0.3 0.4
         </DataArray>
         <DataArray type="Float32" Name="test123" format="ascii">
            1.0 2.0 3.0 4.0
         </DataArray>
       </PointData>
       <Points>
         <DataArray type="Float32" NumberOfComponents="3" format="ascii">
           0 0 0 0 0 1 0 1 0 1 0 0
         </DataArray>
       </Points>
       <Cells>
         <DataArray type="Int32" Name="connectivity" format="ascii">
           0 1 2 3
         </DataArray>
         <DataArray type="Int32" Name="offsets" format="ascii">
           4
         </DataArray>
         <DataArray type="UInt8" Name="types" format="ascii">
           10
         </DataArray>
       </Cells>
     </Piece>
   </UnstructuredGrid>
 </VTKFile>


Best wishes,

Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150609/246002a7/attachment.html>


More information about the ParaView mailing list