-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
[BUG] Windows ROS3 broken in 1.14.0? #2406
Comments
I see the same error when trying 1.14.0 from MWING-W64 in MSYS2:
|
On the develop branch, I can get a similar error on x86_64 Linux (Ubuntu 22.04). Strangely it fixes itself if I specify
|
In HDF5 1.12.2, hdf5/tools/src/h5dump/h5dump.c Lines 1380 to 1388 in 3e847e0
On the develop branch and HDF5 1.14.0, hdf5/tools/src/h5dump/h5dump.c Lines 1244 to 1255 in 5543d6e
In the absence of
This is in contradiction with previous behavior and the documentation, which suggests that anonymous credentials would be used if the option is absent.
Rather than failing when Lines 567 to 568 in 5543d6e
|
Thank you for looking into this so quickly. Let me know if you need anything specific from my end. |
I think this is probably the right thing to do. My guess is that by part of this change: defaults were setup correctly, and this quirk was revealed. It is likely that for files that don't require authentication, the provided (buggy) authentication creds were just ignored by S3 "hiding" this error. |
Its really strange. I booted up my windows machine again. and I tried to specify s3-cred:
the output is blank... If I don't specify |
There is more happening on Windows. It segfaults I believe. |
Hi All, This was a slight mistake on my part. In the initial release of HDF5 1.13, there were some changes in the tools to support using File Drivers that are loaded as plugins. With these changes there was a user report about the ROS3 VFD having issues with unauthenticated access, so I made the change noted by @hmaarrfk above, which ended up only initializing the VFD's info when the
Eventually, I would like to refactor the tools code to handle this fallback mechanism so that all of the handling of VFD-specific "stuff" is done in a single place rather than in each separate tool. However, that's a bit more work. |
Here is the segmentation fault that I see with mingw64. I believe there is a second issue on this platform.
|
With mingw32, the command succeeds on Windows.
|
I'm starting to think that #2407 fixes the segmentation fault. |
#2407 fixes the segfault on windows with VS compilers. I've tested in conda-forge/hdf5-feedstock#188 |
Describe the bug
I've been trying to build HDF5 1.14.0 for Windows at conda-forge and I am having trouble using the ROS3 driver.
xref: conda-forge/hdf5-feedstock#188
We have a simple test to check the functionality, but it is currently broken in the latest build.
works on:
but broken on Windows + 1.14.0
It seems that there was some discussion that ROS3 + Windows might not be tested by CIs:
#2101
Expected behavior
For that h5dump to work. It works on windows.
Platform (please complete the following information)
HDF5_ENABLE_ROS3_VFD=ON
among othersAdditional context
Happy to try certain patches if you would like.
The text was updated successfully, but these errors were encountered: