AMR vthb Dataset from VTK data is segfaulting ParaView
AMR vthb Dataset from VTK data is segfaulting ParaView
Steps to reproduce:
- Open ParaView
- Open build/ExternalData/VTK/Testing/Data/AMR/HierarchicalBoxDataset.v1.0.vthb
- Apply
- Segfault
( 18.805s) [paraview ]vtkXMLUniformGridAMRRea:247 WARN| vtkXMLUniformGridAMRReader (0x555559354e80): Missing 'origin'. Using (0, 0, 0).
paraview: /home/glow/work/paraview/pv1/src/VTK/Common/DataModel/vtkAMRBox.cxx:393: void vtkAMRBox::Refine(int): Assertion `"pre: Input refinement ratio must be >= 1" && (r >= 1)' failed.
Thread 1 "paraview" received signal SIGABRT, Aborted.
0x00007ffff7e1ed22 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7e1ed22 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff7e08862 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff7e08747 in __assert_fail_base.cold () from /usr/lib/libc.so.6
#3 0x00007ffff7e17616 in __assert_fail () from /usr/lib/libc.so.6
#4 0x00007ffff2046ed7 in vtkAMRBox::Refine (this=0x7fffffffbf40, r=-2147483648) at /home/glow/work/paraview/pv1/src/VTK/Common/DataModel/vtkAMRBox.cxx:393
#5 0x00007ffff249cfce in vtkAMRInformation::CalculateParentChildRelationShip (this=0x55555b31fcc0, level=1, children=std::vector of length 0, capacity 0, parents=std::vector of length 0, capacity 0) at /home/glow/work/paraview/pv1/src/VTK/Common/DataModel/vtkAMRInformation.cxx:656
#6 0x00007ffff249c610 in vtkAMRInformation::GenerateParentChildInformation (this=0x55555b31fcc0) at /home/glow/work/paraview/pv1/src/VTK/Common/DataModel/vtkAMRInformation.cxx:559
#7 0x00007ffff24a37e2 in vtkOverlappingAMR::GenerateParentChildInformation (this=0x7fffd400b0b0) at /home/glow/work/paraview/pv1/src/VTK/Common/DataModel/vtkOverlappingAMR.cxx:82
#8 0x00007ffff4204980 in vtkXMLUniformGridAMRReader::ReadPrimaryElement (this=0x555559354e80, ePrimary=0x55555b46aff0) at /home/glow/work/paraview/pv1/src/VTK/IO/XML/vtkXMLUniformGridAMRReader.cxx:287
#9 0x00007ffff41eb2ed in vtkXMLReader::ReadVTKFile (this=0x555559354e80, eVTKFile=0x55555b3e4ae0) at /home/glow/work/paraview/pv1/src/VTK/IO/XML/vtkXMLReader.cxx:1002
Interestingly, the sister dataset HierarchicalBoxDataset.v1.1.vthb is working fine.