Bug 1203582
Summary: | gdalinfo segfaults reading a grib2 file | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Esa Östring <esa.ostring> | ||||||
Component: | gdal | Assignee: | Devrim Gündüz <devrim> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 21 | CC: | alex, alfonso.escribano, chk, cristian.balint, devrim, d.kraemer, esa.ostring, fatihakca5, gabriel.ferreira, iorlov89, james, l4coa3fnjplr, mmahut, orion, patrick.guio, pavel.lisy, pertusus, radai.rosenblatt, sangu.fedora, seandarcy2, sharlatanus, smeisner, suren, volker27, wgianopoulos | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | gdal-1.11.2-1.el7 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-07-23 19:13:29 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: | |||||||||
Attachments: |
|
Description
Esa Östring
2015-03-19 07:59:01 UTC
Created attachment 1003724 [details]
Forecast data of temperatures causing gdalinfo segfault.
Use this input file to check bug existence.
I confirm that removing the gdal-g2clib.patch and rebuilding the rpm fixes the issue. Okay, I think I've finally figured out at least part of the issue. g2clib's grib2.h uses: #ifdef __64BIT__ typedef int g2int; typedef unsigned int g2intu; #define PRIg2int "d" #else typedef long g2int; typedef unsigned long g2intu; #define PRIg2int "ld" #endif The problem is that nothing else defines __64BIT__ automatically. So it means that all g2clib users must define __64BIT__ on 64 bit platforms as well. I think we need a better patch for g2clib to make this check work automatically. This could explain some other issues seen with g2clib users as well. Hopefully there will be some new gdal builds to test here soon: https://copr.fedoraproject.org/coprs/orion/g2clib/ I've built F22 and F23 updates for gdal. I'm going to let the normal gdal maintainers build/submit and F21/F20 update as there are some differences in the branches. We have same problen in CentOS 7.1.1503 Using g2clib gdal builds, problem is corrected. The g2clib update is in EPEL7 now, so it should just be a matter of rebuilding gdal, which I'll leave to the gdal maintainers. *** Bug 1203927 has been marked as a duplicate of this bug. *** *** Bug 1204091 has been marked as a duplicate of this bug. *** *** Bug 1204398 has been marked as a duplicate of this bug. *** *** Bug 1210979 has been marked as a duplicate of this bug. *** *** Bug 1210980 has been marked as a duplicate of this bug. *** *** Bug 1211087 has been marked as a duplicate of this bug. *** *** Bug 1212529 has been marked as a duplicate of this bug. *** *** Bug 1212692 has been marked as a duplicate of this bug. *** *** Bug 1212908 has been marked as a duplicate of this bug. *** *** Bug 1212997 has been marked as a duplicate of this bug. *** *** Bug 1213551 has been marked as a duplicate of this bug. *** *** Bug 1214488 has been marked as a duplicate of this bug. *** *** Bug 1214974 has been marked as a duplicate of this bug. *** *** Bug 1217040 has been marked as a duplicate of this bug. *** *** Bug 1217213 has been marked as a duplicate of this bug. *** *** Bug 1217230 has been marked as a duplicate of this bug. *** *** Bug 1222400 has been marked as a duplicate of this bug. *** gdal-1.11.2-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/gdal-1.11.2-1.el7 Package gdal-1.11.2-1.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing gdal-1.11.2-1.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-7068/gdal-1.11.2-1.el7 then log in and leave karma (feedback). gdal-1.11.2-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |