Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1856959
Summary: | NCL error while trying to read GRIB2 files | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Jim E <edgar1196> |
Component: | gdal | Assignee: | markusN <neteler> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel8 | CC: | alex, devrim, jmlich83, mmahut, oliver, orion, pavel.lisy, pertusus, praiskup, scitech-bugs, volker27 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 03:37:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jim E
2020-07-14 19:08:23 UTC
valgrind points to the issue: ==15801== Command: ncl -n filename="rap.t00z.awp200f00.grib2" nvars=0 coords=0 ftype="GRIB" singleElemDims=(/"none"/) timePeriodSuffix=True /tmp/tmp15791.ncl ==15801== Copyright (C) 1995-2019 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.6.2 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. ==15801== Use of uninitialised value of size 8 ==15801== at 0x6D4708B: g2_getfld (in /usr/lib64/libgdal.so.26.0.4) ==15801== by 0x56E4C5: ??? (in /usr/bin/ncl) ==15801== by 0x4F9582: _NclFileCreate (in /usr/bin/ncl) ==15801== by 0x4C25B9: _NclOpenFile (in /usr/bin/ncl) ==15801== by 0x5B092C: _NclIAddFile (in /usr/bin/ncl) ==15801== by 0x5878C8: CallINTRINSIC_FUNC_CALL (in /usr/bin/ncl) ==15801== by 0x59261C: _NclExecute (in /usr/bin/ncl) ==15801== by 0x46F4D9: yyparse (in /usr/bin/ncl) ==15801== by 0x4657EF: NclDriver (in /usr/bin/ncl) ==15801== by 0xC9796A2: (below main) (in /usr/lib64/libc-2.28.so) ==15801== ==15801== ==15801== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==15801== Bad permissions for mapped region at address 0x56E0AE ==15801== at 0x6D4708B: g2_getfld (in /usr/lib64/libgdal.so.26.0.4) ==15801== by 0x56E4C5: ??? (in /usr/bin/ncl) ==15801== by 0x4F9582: _NclFileCreate (in /usr/bin/ncl) ==15801== by 0x4C25B9: _NclOpenFile (in /usr/bin/ncl) ==15801== by 0x5B092C: _NclIAddFile (in /usr/bin/ncl) ==15801== by 0x5878C8: CallINTRINSIC_FUNC_CALL (in /usr/bin/ncl) ==15801== by 0x59261C: _NclExecute (in /usr/bin/ncl) ==15801== by 0x46F4D9: yyparse (in /usr/bin/ncl) ==15801== by 0x4657EF: NclDriver (in /usr/bin/ncl) ==15801== by 0xC9796A2: (below main) (in /usr/lib64/libc-2.28.so) the issue is that gdal modified its internal copy of the g2clib to change g2_getfld() to use 6 arguments and they inserted that argument in the middle. So ncl is trying to call the standard 5 arg g2_getfld() and ending up with gdal's 6 arg version which leads to chaos. So, I can work around this in ncl by being sure to link g2clib before gdal. But gdal really should get fixed to prevent other users from having this issue. FEDORA-2020-3d7cbc5979 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3d7cbc5979 Indeed, ncl seems to be working alright except for this. Looking forward to the new update. Cheers. FEDORA-2020-3d7cbc5979 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-3d7cbc5979` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3d7cbc5979 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-b7ff36d3e7 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b7ff36d3e7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. FEDORA-2020-3d7cbc5979 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-3d7cbc5979 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-3d7cbc5979 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-3d7cbc5979 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2020-b7ff36d3e7 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |