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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview