ParaView 5.1.2 crashes when I try to open .h5 files

I’m trying to install Paraview and open a file with extension .h5.
My operating system is Debian GNU/Linux 9 (stretch), I have downloaded ParaView from the official repository

paraview --version
paraview version 5.1.2

When I try to open a .h5 file I get this error

ERROR: In /build/paraview-NOjbRJ/paraview-5.1.2+dfsg1/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 310
vtkSISourceProxy (0x55a6eb4fd4e0): Failed to create vtkXdmfReader. Aborting for debugging purposes.

I also tried to download the latest version of the library, compile it and execute it but when I try to open the same file I get this kind of error.

ERROR: In /home/../ParaView-v5.6.0-RC2/VTK/IO/VeraOut/vtkVeraOutReader.cxx, line 253
vtkVeraOutReader (0x564c42e5f660): Can't open group /CORE

Can someone help me? I hope is the right place for this kind of support.

Can you try with the last release of ParaView

Yes, I’m trying right now with the latest version. I’ve downloaded the directly the binary and this version doesn’t crash. I have changed the file too because it gives me an error and maybe it is not well-formed.

But the 5.6.0 version seems to be working.