From 6cbc1104197358b7f56830f5362b24fad5e96631 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 14 Mar 2018 15:57:51 -0500 Subject: HDFFV-10412 add note for new H5error_on Java API --- release_docs/RELEASE.txt | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index cfa0b1c..e6fd8d3 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -89,12 +89,12 @@ New Features - Add an enumerated value to H5F_libver_t for H5Pset_libver_bounds(). Currently, the library defines two values for H5F_libver_t and supports - only two pairs of (low, high) combinations as derived from these values. + only two pairs of (low, high) combinations as derived from these values. Thus the bounds setting via H5Pset_libver_bounds() is rather restricted. - Add an enumerated value (H5F_LIBVER_V18) to H5F_libver_t and - H5Pset_libver_bounds() now supports five pairs of (low, high) combinations - as derived from these values. This addition provides the user more + Add an enumerated value (H5F_LIBVER_V18) to H5F_libver_t and + H5Pset_libver_bounds() now supports five pairs of (low, high) combinations + as derived from these values. This addition provides the user more flexibility in setting bounds for object creation. (VC - 2018/03/14) @@ -234,6 +234,14 @@ New Features Java Library: ---------------- + - Wrapper added for enabling the error stack. + + H5error_off would disable the error stack reporting. In order + to re-enable the reporting, the error stack info needs to be + saved so that H5error_on can revert state. + + (ADB - 2018/03/13, HDFFV-10412) + - Wrappers added for the following APIs: H5Pset_evict_on_close H5Pget_evict_on_close @@ -525,7 +533,7 @@ Bug Fixes since HDF5-1.10.1 release and closed, the library truncated the file to the stored EOA. Add an option to the tool in setting the file's stored EOA in the - superblock to the maximum of (EOA, EOF) + increment. + superblock to the maximum of (EOA, EOF) + increment. Another option is also added to print the file's EOA and EOF. (VC - 2018/03/14, HDFFV-10360) @@ -722,8 +730,8 @@ Bug Fixes since HDF5-1.10.1 release Testing ------- - - Memory for three variables in testphdf5's coll_write_test was malloced - but not freed, leaking memory when running the test. The variables' + - Memory for three variables in testphdf5's coll_write_test was malloced + but not freed, leaking memory when running the test. The variables' memory is now freed. (LRK - 2018/03/12, HDFFV-10397) -- cgit v0.12 From 8f5be458f4284f763ef30c5bf665740d69c5ec16 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Thu, 15 Mar 2018 09:06:16 -0500 Subject: Fixed memory leak Description: Added LinkCreatPropList to initH5cpp to cleaning up resource at exit. Platforms tested: Linux/64 (jelly) Linux/ppc64 (ostrich) --- c++/src/H5Library.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/c++/src/H5Library.cpp b/c++/src/H5Library.cpp index 55f82f5..2cbdfba 100644 --- a/c++/src/H5Library.cpp +++ b/c++/src/H5Library.cpp @@ -188,6 +188,10 @@ void H5Library::initH5cpp() if (ret_value != 0) throw LibraryIException("H5Library::initH5cpp", "Registrating LinkAccPropList::deleteConstants failed"); + ret_value = std::atexit(LinkCreatPropList::deleteConstants); + if (ret_value != 0) + throw LibraryIException("H5Library::initH5cpp", "Registrating LinkCreatPropList::deleteConstants failed"); + ret_value = std::atexit(FileAccPropList::deleteConstants); if (ret_value != 0) throw LibraryIException("H5Library::initH5cpp", "Registrating FileAccPropList::deleteConstants failed"); -- cgit v0.12 From 4b6d3193e1392b64b401e1b4de60a2b0ef586f23 Mon Sep 17 00:00:00 2001 From: lrknox Date: Thu, 15 Mar 2018 11:18:47 -0500 Subject: Add 2 parallel test files to CHECK-CLEANFILES so that if their tests fail before removing them, make check-clean will remove them. --- testpar/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testpar/Makefile.am b/testpar/Makefile.am index 1f15830..5c7cb26 100644 --- a/testpar/Makefile.am +++ b/testpar/Makefile.am @@ -37,9 +37,12 @@ LDADD = $(LIBH5TEST) $(LIBHDF5) # Temporary files # MPItest.h5 is from t_mpi # Para*.h5 are from testphdf +# bigio_test.h5 is from t_bigio +# ShapeSameTest.h5 is from t_shapesame # shutdown.h5 is from t_pshutdown # after_mpi_fin.h5 is from t_init_term # go is used for debugging. See testphdf5.c. -CHECK_CLEANFILES+=MPItest.h5 Para*.h5 CacheTestDummy.h5 shutdown.h5 after_mpi_fin.h5 go +CHECK_CLEANFILES+=MPItest.h5 Para*.h5 bigio_test.h5 CacheTestDummy.h5 \ + ShapeSameTest.h5 shutdown.h5 after_mpi_fin.h5 go include $(top_srcdir)/config/conclude.am -- cgit v0.12