MantisBT - Xdmf
View Issue Details
0011763Xdmf(No Category)public2011-01-26 03:512011-01-26 03:51
Jens Kleimann 
 
highcrashalways
newopen 
LinuxLinux2.6.32-5-amd64
0011763: Xdmf file with hyperslab itemtype crashes Paraview

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.
Open Paraview, File->Open attached file "hyperslab_test.xmf", hit Apply.
I have also reported this prospective bug to Project Paraview because it is unclear on which side the problem is.

No tags attached.
? hyperslab_test.xmf (1,395) 2011-01-26 03:51
https://public.kitware.com/Bug/file/3659/hyperslab_test.xmf
Issue History
2011-01-26 03:51Jens KleimannNew Issue
2011-01-26 03:51Jens KleimannFile Added: hyperslab_test.xmf

There are no notes attached to this issue.