Paraview 5.13.2 crashes when changing time step of a loaded HDF file.

So I have this test HDF file.
test.hdf (22.8 KB)

It has two groups: PointData and Steps. There are 10 time steps, and each time step the point field has different values.

Paraview 5.13.2 successfully loaded this HDF5 file, able to recognize there are 10 time steps and visualized the first time step without issue, but it crashes as soon as I play animation or simply change time step.

The format of my HDF file isn’t right? Or I’m missing something?

I’m using Paraview 5.13.2 on Apple M1 Pro.

Hello @Hunt_Feng,

I reproduce your crash, we reach an assert:

vtkStructuredPointBackend.h:103: vtkStructuredTPointBackend
Assertion `this->ArrayX->GetNumberOfTuples() == 2' failed

I believe you miss the PointDataOffsets group in the Steps/, you can check how we do that in the transient_wavelet.hdf (which is the data used to check this feature in the testing suite of VTK) :
transient_wavelet.hdf (406.0 KB)

Thanks for the quick debug, I’ll check.

It turns out Paraview 5.12 is able to visualize my test hdf5 file without issues. Could you explain to me what is changed in Paraview 5.13, and why do we need the PointDataOffsets group?

Indeed that’s unexpected, definitively a bug. We have now a dedicate issue in VTK regarding this topic to move forward : https://gitlab.kitware.com/vtk/vtk/-/issues/19628

1 Like