summaryrefslogtreecommitdiffstats
path: root/src/H5HG.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-12-29 17:56:08 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-12-29 17:56:08 (GMT)
commit16c51c2061e8c8bacd890ee9543ffcfd552bfb88 (patch)
tree2480c58a8dbd9d0f62a4d117939da83e2f51b2ec /src/H5HG.c
parent99e520c8cb3a5e33a5e85ff267fe53e98da1b61e (diff)
downloadhdf5-16c51c2061e8c8bacd890ee9543ffcfd552bfb88.zip
hdf5-16c51c2061e8c8bacd890ee9543ffcfd552bfb88.tar.gz
hdf5-16c51c2061e8c8bacd890ee9543ffcfd552bfb88.tar.bz2
[svn-r7984] Purpose: bug fix
Description: VL datatype fails in certain way(hard to describe) Platforms tested: h5committest
Diffstat (limited to 'src/H5HG.c')
-rw-r--r--src/H5HG.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5HG.c b/src/H5HG.c
index b4b7f17..b6045af 100644
--- a/src/H5HG.c
+++ b/src/H5HG.c
@@ -970,6 +970,9 @@ H5HG_remove (H5F_t *f, hid_t dxpl_id, H5HG_t *hobj)
HGOTO_ERROR(H5E_HEAP, H5E_CANTLOAD, FAIL, "unable to load heap");
assert (hobj->idx>0 && hobj->idx<heap->nalloc);
+if(!(heap->obj[hobj->idx].begin)) {
+ HDfprintf(stderr,"%s: hobj->idx=%d, heap=%p, heap->obj[hobj->idx].begin=%p\n",FUNC,hobj->idx,heap,heap->obj[hobj->idx].begin);
+}
assert (heap->obj[hobj->idx].begin);
obj_start = heap->obj[hobj->idx].begin;
/* Include object header size */