[svn-r21368] Purpose:

HDFFV-7712 - h5diff: segfault over combinations of complex container types (compound, array, vlen)

Description:
    - Fixed segfault over dataset with container types (array,lven) with multiple nested compound types. (ex: compound->array->compound, compound->vlen->compound)
    - Merged from HDF5 trunk r21358.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
This commit is contained in:
Jonathan Kim
2011-09-06 15:26:08 -05:00
parent 144b129492
commit 36ea4e8553
10 changed files with 729 additions and 36 deletions

View File

@@ -0,0 +1,86 @@
file1 file2
---------------------------------------
x x /
x x /dset1
x x /dset2
x x /dset3
x x /dset4
group : </> and </>
0 differences found
attribute: <attr1 of </>> and <attr1 of </>>
size: [2] [2]
position attr1 of </> attr1 of </> difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
8 differences found
dataset: </dset1> and </dset1>
size: [2] [2]
position dset1 dset1 difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
8 differences found
dataset: </dset2> and </dset2>
size: [2] [2]
position dset2 dset2 difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
6 differences found
dataset: </dset3> and </dset3>
size: [2] [2]
position dset3 dset3 difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 10 15 5
[ 0 ] 10.5 15.5 5
[ 0 ] 10 15 5
[ 0 ] 10.5 15.5 5
[ 1 ] 0 5 5
[ 1 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
12 differences found
dataset: </dset4> and </dset4>
size: [2] [2]
position dset4 dset4 difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 10 15 5
[ 0 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 0 5 5
[ 1 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 0 5 5
[ 1 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
15 differences found
EXIT CODE: 1