Hi Andrew,

I got these problems when some HDF5 calls were issued after the HDF5 library was closed. That was mainly a problem with C++, dynamic libraries and global
destructors. The HDF5 library uses an atexit() call to register a cleanup
routine at termination of the main() routine, and after that there must be no
call to HDF5 functions any more.
It may also be an indication of memory corruption, but that is even harder to trace down. A difference among Linux and Windows appears to be initialization
of newly allocated memories by zero's or not (from malloc() ), so might be
related to uninitialized RAM.

        Werner


On Sun, 28 Nov 2010 20:01:05 -0600, Andrew Collette <[email protected]> wrote:

Hi Elena,

For some reason library cannot shutdown different interfaces (R - references, E -error, G - group, etc.).

Which version of HDF5 do you use?

I've tested it with HDF5 1.8.4 and 1.8.5 so far.

This error may indicate a bug in the HDF5 library or in the application ;-) Having an example (in any language) that reproduces the problem will definitely help.

Yes. :) Unfortunately what happens is that I run the entire test suite
for my package (~200 tests, each of which makes dozens or hundreds of
calls to HDF5), and then when I exit this crops up.

What application-level things could be responsible for this?  I am
registering callbacks with the H5E and H5T interfaces, but these don't
seem to be the problem... if I register them and then exit without
doing anything else, it doesn't print the message.

Thanks,
Andrew

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org



--
___________________________________________________________________________
Dr. Werner Benger                Visualization Research
Laboratory for Creative Arts and Technology (LCAT)
Center for Computation & Technology at Louisiana State University (CCT/LSU)
211 Johnston Hall, Baton Rouge, Louisiana 70803
Tel.: +1 225 578 4809                        Fax.: +1 225 578-5362

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to