-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Segmentation violation with H5Lget_info with HDF5 1.14.4.3 #4644
Comments
I'm able to replicate this crash. The root cause likely has something to do with trying to use the old file format, as running it with the debug library and valgrind shows that Adaptation of the test script for the C API:
|
@abhibaruah instead of this: Then you pass ref_obj into H5Dread and pass &ref_obj[0] (or 1 or 2) into H5Rget_name. |
Thanks @bmribler. with hobj_ref_t *ref; and uint8_t* ref_subset = &ref[3DIM11]; However, I am still seeing the segmentation fault. My code:
|
Hi @abhibaruah, I'm aware that the documentation says: |
Thanks @bmribler. |
FYI, @abhibaruah, this issue has been fixed (PR #4733) |
I have a dataset named 'OBJECT_REFERENCES' of type H5T_REFERENCE.
I have a workflow (derived from one of our tests) where I read the reference dataset and then call H5Rdereference and H5Lget_info on a subset of the reference dataset.
The code below works with HDF5 1.10.11 but with 1.14.4.3, I see a segmentation violation during the call to H5Lget_info.
I see the segV for both H5Lget_info1 and H5Lget_info2 (in v1.14.4.3).
Can someone take a look at it and let me know if this is a bug, and if there is a workaround to revert to the non segV behavior?
Link to the h5 file for reproduction: https://mathworks-my.sharepoint.com/:u:/p/abaruah/EdkeRkHv9SZMgEDGfvULYR4BcaBMX8bI9Q-UfylNeqMyog?e=ulkR7K
The text was updated successfully, but these errors were encountered: