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

**URL:** https://discourse.paraview.org/t/paraview-5-13-2-crashes-when-changing-time-step-of-a-loaded-hdf-file/16216
**Category:** ParaView Support
**Created:** [February 22, 2025, 3:29pm UTC](https://discourse.paraview.org/t/paraview-5-13-2-crashes-when-changing-time-step-of-a-loaded-hdf-file/16216 "2025-02-22T15:29:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Hunt\_Feng](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hunt_feng/32/16043_2.png) [@Hunt\_Feng](https://discourse.paraview.org/u/Hunt_Feng)
#### Post date: [February 22, 2025, 3:29pm UTC](https://discourse.paraview.org/t/paraview-5-13-2-crashes-when-changing-time-step-of-a-loaded-hdf-file/16216/1 "2025-02-22T15:29:39Z")

</div>

So I have this test HDF file.  
[test.hdf](https://discourse.paraview.org/uploads/short-url/5XukzpjWswpP4HYIfQbvdbXw7Cd.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.

 ![image](https://discourse.paraview.org/uploads/default/original/3X/0/2/02bbfd093c09a6ee38fee9182e663bfb4403b499.png)

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.

---

<div class="post-metadata">

### Author: ![Lucas\_Givord](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lucas_givord/32/6851_2.png) [@Lucas\_Givord](https://discourse.paraview.org/u/Lucas_Givord)
#### Post date: [February 24, 2025, 7:51am UTC](https://discourse.paraview.org/t/paraview-5-13-2-crashes-when-changing-time-step-of-a-loaded-hdf-file/16216/2 "2025-02-24T07:51:11Z")

</div>

Hello @Hunt_Feng,

I reproduce your crash, we reach an assert:

```auto
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](https://discourse.paraview.org/uploads/short-url/2XemqqUE3y10bwsmGQV7B8V2Xpm.hdf) (406.0 KB)

---

<div class="post-metadata">

### Author: ![Hunt\_Feng](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hunt_feng/32/16043_2.png) [@Hunt\_Feng](https://discourse.paraview.org/u/Hunt_Feng)
#### Post date: [February 24, 2025, 2:57pm UTC](https://discourse.paraview.org/t/paraview-5-13-2-crashes-when-changing-time-step-of-a-loaded-hdf-file/16216/3 "2025-02-24T14:57:23Z")

</div>

Thanks for the quick debug, I’ll check.

---

<div class="post-metadata">

### Author: ![Hunt\_Feng](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hunt_feng/32/16043_2.png) [@Hunt\_Feng](https://discourse.paraview.org/u/Hunt_Feng)
#### Post date: [February 25, 2025, 1:32am UTC](https://discourse.paraview.org/t/paraview-5-13-2-crashes-when-changing-time-step-of-a-loaded-hdf-file/16216/4 "2025-02-25T01:32:42Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Lucas\_Givord](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lucas_givord/32/6851_2.png) [@Lucas\_Givord](https://discourse.paraview.org/u/Lucas_Givord)
#### Post date: [February 25, 2025, 7:54am UTC](https://discourse.paraview.org/t/paraview-5-13-2-crashes-when-changing-time-step-of-a-loaded-hdf-file/16216/5 "2025-02-25T07:54:41Z")

</div>

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](https://gitlab.kitware.com/vtk/vtk/-/issues/19628)
