HDF5: infinite loop closing library
L,G_top,T_top,P,P,Z,FD,VL,VL,PL,E,SL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL
Debug Error!
This is fine. In H5_term_library (in H5.c), there is:
if (pending) {
/* Only display the error message if the user is interested in them. */
if (func) {
fprintf(stderr, "HDF5: infinite loop closing library\n");
fprintf(stderr, " %s\n", loop);
#ifndef NDEBUG
abort();
#endif
}
}
If you confirm that it's a bug, I can easily write a fix.
Describe the bug
After opening a buggy h5 file, app shows when closing:
This is fine. In
H5_term_library(inH5.c), there is:But if I disabled output with
H5Eset_auto2, the library doesn't abort anymore.Is it fine that
abort()is done only if display is enabled ? Shouldn't abort must be afterif (func)instead of inside ?If you confirm that it's a bug, I can easily write a fix.
Expected behavior
abortshould always occurs.Platform (please complete the following information)