View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011763Xdmf(No Category)public2011-01-26 03:512011-01-26 03:51
ReporterJens Kleimann 
Assigned To 
PriorityhighSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSLinuxOS Version2.6.32-5-amd64
Summary0011763: Xdmf file with hyperslab itemtype crashes Paraview
Description
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.
Steps To ReproduceOpen Paraview, File->Open attached file "hyperslab_test.xmf", hit Apply.
Additional InformationI have also reported this prospective bug to Project Paraview because it is unclear on which side the problem is.

TagsNo tags attached.
Attached Files? file icon hyperslab_test.xmf [^] (1,395 bytes) 2011-01-26 03:51

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2011-01-26 03:51 Jens Kleimann New Issue
2011-01-26 03:51 Jens Kleimann File Added: hyperslab_test.xmf


Copyright © 2000 - 2018 MantisBT Team