Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still reachable memory reported by Valgrind #102

Closed
q-posev opened this issue Oct 2, 2022 · 0 comments
Closed

Still reachable memory reported by Valgrind #102

q-posev opened this issue Oct 2, 2022 · 0 comments
Labels
wontfix This will not be worked on

Comments

@q-posev
Copy link
Member

q-posev commented Oct 2, 2022

Valgrind sometimes reports still reachable 1,864 bytes in 3 blocks on programs using the TREXIO_HDF5 back end. In fact, even a simple open+close program using only HDF5 library (see below) can be used to debug it

 #include "hdf5.h"
 int main(void){
         hid_t file = H5Fcreate("test.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
         herr_t status = H5Fclose(file);
         return 0;
 }

This is the HDF5-related issue (see this discussion on the HDF5 forum). Recompiling the HDF5 library with --enable-using-memchecker configure option should fix it.

@q-posev q-posev added the wontfix This will not be worked on label Oct 2, 2022
@scemama scemama closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants