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
tst_nccopy4 failing #1857
Comments
|
I get the same error trying to rebuild the current netcdf 4.7.3 package with hdf5 1.10.7, so it appears to be a change in hdf5 that is triggering it. |
|
Do all of the tests in nc_test4 pass? |
|
Full build log is here: https://download.copr.fedorainfracloud.org/results/orion/hdf5-1.10.7/fedora-rawhide-x86_64/01701010-netcdf/build.log.gz Looks like the tests fail before it gets to those tests? |
|
Right! If you build with --disable-utilities, or just make check in the nc_test4 directory, that will run those tests. The nc_test4 tests test the netcdf-c library for netCDF-4 functionality. If one of those tests fails, it is far easier to find and debug the problem, than it is working with a utilities test failure. Furthermore, a failure in the utilities would clearly be the problem of @DennisHeimbigner but a problem in nc_test4 is much more likely in my code. ;-) |
|
Ok, so lets try to get some more information.
|
|
Interesting; in a separate issue yesterday I was working with the hdf5 1.10.7 installed via conda, and observed no issues. I'll try a custom build in my linux VM and see what I observe. |
|
I think this is what you're looking for: |
|
Ok, now try this to get more more info about the HDF error.
|
|
So, this is fun. With --enable-logging I got a build failure which I fixed by applying commit b0e0d81. Compiled and ran tests with export NETCDF_LOG_LEVEL=0 and voila - no more test failure. So I disabled enable-logging again but kept the patch and the error returned. I also tried building the latest master but got a build failure that I reported elsewhere. |
|
What the XXX is going on? Setting NETCDF_LOG_LEVEL=0 enables HDF5 detailed |
|
Perhaps some of this helps: ncdump output: gdb: h5dump output: h5dump output of tst_string_data.nc is the same, though the files are not identical in size. valgrind output: The UnknownInlinedFun seems to be: I'm guessing it's this cd_values_zip that isn't being initialized. |
|
You might try rebuilding netcdf-c with optimization turned off: -g -O0. |
|
Looks like this is fixed in current netcdf master, or at least the test passes and I don't see any valgrind output. |
|
Another note to add to this is that, at least in my case, downgrading HDF5 to 1.10.6 also solves this issue when using the NetCDF 4.7.4 release version. |
|
This issue reappeared for me on NixOS, with NixOS/nixpkgs#115788 (comment) |
|
For others facing the same problem, trying to upgrade to |
I'm looking to update both hdf5 to 1.10.7 and netcdf to 4.7.4 in Fedora rawhide. I'm getting the following test failure with that combo:
Not sure where to go from here.
The text was updated successfully, but these errors were encountered: