XDMF: Various issues with hyperslab and XML dataset (xdmf2 and xdmf3 readers)
When trying to debug or workaround the issues raise in #17516 #17295 #17166 (closed) #17517 I stumbled across various other issues. I attached a few data-files that I believe should all be valid XDMF files (all based on a XDMF dataset generated with the wavelet source in ParaView 5.4).
Essentially only the original dataset works with both readers (xdmf2 and xdmf3). Adding additional functionality (e.g. hyperslab dataset) or changing the dataset to TXT/XML using xi:include
does not work or leads to crashes (segfaults) with one or both readers.
XML xi:include
issues:
- wavelet_09x09x09.xmf combined with wavelet_09x09x09.h5 works with both readers as expected, as it is the original dataset.
-
wavelet_09x09x09_xml.xmf combined with wavelet_09x09x09.txt using
xi:include
to insert the dataset in ascii format from a text file works with the xdmf2 reader correctly but crashes with the xdmf3 reader:parser error : Start tag expected, '<' not found
. It seems xdmf3 does not consider theparse='text'
attribute.
Hyperslab issues:
- wavelet_05x05x09_hyperslab.xmf works correctly with the xdmf2 reader, but the xdmf3 does not read the dataset issuing the following warning:
Skipping unrecognized array type [None]
This appears to be the same bug as in issue #17516 since the error message and behaviour is the same. 2. wavelet_05x05x09_hyperslab_xml.xmf does not work with either one of the readers though I believe for different reasons. This xdmf file is a combination of a hyperslab and a dataset in XML format. Each of these features works with the xdmf2 reader (though not with the xdmf3) and the combination crashes with the both.
- xdmf2:
realloc(): invalid next size: 0x0000000006a9b5b0 ***
...Segmentation fault
I also tried to copy&past the content of the text file directly into the xmf file, but the error was the same. Thus I conclude it's not an issue with thexi:include
as this works with the xdmf2 reader otherwise. - xdmf3:
parser error : Start tag expected, '<' not found
. Obviously the xdmf3 doesn't even read the dataset and I can only assume that the hyperslab wouldn't work either.
The .h5 and .txt files are used in various .xmf files, thus all files should be downloaded and put to the same directory. Here a list of all dataset:
- wavelet_09x09x09.xmf
- wavelet_09x09x09.h5
- wavelet_09x09x09_xml.xmf
- wavelet_09x09x09.txt
- wavelet_05x05x09_hyperslab.xmf
- wavelet_05x05x09_hyperslab_xml.xmf
All testing was done with ParaView 5.4 (binary installer: ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz)