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
[Branch v4.6.3-dev-branch.wif] nc_test4/test_filter crashes when linked against libhdf5 1.10.4 built with debugging enabled. #1344
Comments
This crash is reproducible on both OSX and Ubuntu 18.04. |
When you say debugging you mean the -g option? |
I assume he means the --enable-build-mode=debug flag to hdf5. |
Yes, as @DennisHeimbigner said; turning on debugging during I've also amended the title of the issue to specify the branch where this is happening. It appears to have been introduced in the commit where I added the fenceposting. I feel like I'm overlooking some minor detail, so hopefully this will be easily fixed. |
It seems to me the most obvious reason for the debug vs. no debug split boils down to compiler optimization; whatever bug was introduced/is occurring gets optimized out when debug info is turned off. That is my current theory, at least. |
To highlight one important detail initially left out: this is on branch |
Ah, I believe I may have it. |
@WardF Are the CI test results available public? |
@t-b yes, at cdash.unidata.ucar.edu Thanks! |
The test executable
test_filter
in thenc_test4
directory crashes when the underlyinglibhdf5
has been built with debugging turned on. The specific failure occurs atlibhdf5/nc4hdf.c:1006
, in the call toH5Dcreate2()
. This function returns an error code.The same code works fine when linked against libhdf5 1.10.4 built without debugging enabled.
The text was updated successfully, but these errors were encountered: