strange error on Fclose()

Hi everyone,

I experience a strange error on Fclose().

My application simply opens a file, then opens some existing groups,
creates a number of groups, and finally closes all groups and the H5 file.
When I create a large number of groups (above 1000) I get this error:

H5Fsuper.c:1068: H5F_super_dirty: Assertion `f->shared->sblock' failed.

Seems like the f->shared->sblock does not have a right value.
Do you have any idea of what could cause this error?

Many thanks,
Dimos

Hi Dimos,

What version of HDF5 are you using? Are you using H5Pset_libver_bounds() to set a particular version of the file format (e.g.: H5F_LIBVER_LATEST)?

Can you reduce this to a small C program that demonstrates the problem?

Thanks,

Dana Robinson
Software Engineer
The HDF Group

···

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Dimos Stamatakis
Sent: Wednesday, November 2, 2016 6:29 AM
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] strange error on Fclose()

Hi everyone,

I experience a strange error on Fclose().

My application simply opens a file, then opens some existing groups, creates a number of groups, and finally closes all groups and the H5 file.
When I create a large number of groups (above 1000) I get this error:

H5Fsuper.c:1068: H5F_super_dirty: Assertion `f->shared->sblock' failed.

Seems like the f->shared->sblock does not have a right value.
Do you have any idea of what could cause this error?

Many thanks,
Dimos

I just tested with hdf5-1.8.17 and there is no such error in the same
application! Seems like something is not right in the hdf5-vol (1.9.232).
Is there any support for the hdf5-vol, or it is not an active project?
Sorry about the individual posts, I did not get an email so that to reply
and post under the same topic.

Many thanks,
Dimos

Dimos,

VOL feature has not been released yet. The branch you are using is a prototype and it is not supported.

We just started a project (ends in 2019) to productize VOL and to include it in the maintenance releases of the HDF5 library. Currently, there is no release date for VOL. We will have a better idea by the end of 2017.

Thank you!

Elena

···

On Nov 2, 2016, at 6:57 PM, Dimos Stamatakis <dimstamat@gmail.com> wrote:

I just tested with hdf5-1.8.17 and there is no such error in the same application! Seems like something is not right in the hdf5-vol (1.9.232). Is there any support for the hdf5-vol, or it is not an active project?
Sorry about the individual posts, I did not get an email so that to reply and post under the same topic.

Many thanks,
Dimos
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Hi Dana,

thanks for your response! I am using the HDF5-VOL version 1.9.232 with no
specific library bounds. Does it have to do with the order I close the
groups? For example if I first close an outer group and then an inner group?
eg:
1) close /mygroup
2) close /mygroup/1

I will try to reproduce with a simple C program.

Thanks,
Dimos