Xdmf file with hyperslab itemtype crashes Paraview
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The attached file, which is supposed to cut a 2x2x2 cube out of a larger 3x3x3 cube, causes Paraview to crash. ("*** glibc detected *** ... realloc(): invalid next size: 0x0000000008e1a800 ***") To extract the subgrid [0,1]^3 from the larger [0,2]^3 grid, the start-stride-count in the first DataItem is set to 0 0 0 1 1 1 2 2 2 The same behavior occurs when trying to access the opposite corner [1,2]^3 (the one with values in the [8,15] range) using 1 1 1 1 1 1 2 2 2 instead. The crash can apparently be avoided using ranges whose count values are at least 3 (which should obviously be too large for the 2x2x2 target grid), and even grossly out-of-bound values such as 12 11 321 1 1 1 6 13 13 are accepted without complaints, and result in 1 2 0 3 4 0 0 0 i.e. a copy of the beginning of the source array.