On Fri, 11 Sep 2020 at 19:16, Clifford Snow clifford@snowandsnow.us wrote:
I'm getting a core dump using any of the gdal utilities on F32. For example running orginfo --help returns
Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where|@filename] [-spat xmin ymin xmax ymax] [-geomfield field] [-fid fid] [-sql statement|@filename] [-dialect sql_dialect] [-al] [-rl] [-so] [-fields={YES/NO}] [-geom={YES/NO/SUMMARY}] [[-oo NAME=VALUE] ...] [-nomd] [-listmdd] [-mdd domain|`all`]* [-nocount] [-noextent] [-wkt_format WKT1|WKT2|...] datasource_name [layer [layer ...]] free(): invalid pointer Aborted (core dumped)
I can't reproduce this. I have:
% sudo dnf info gdal Last metadata expiration check: 2:23:09 ago on Fri 11 Sep 2020 05:45:35 PM. Installed Packages Name : gdal Version : 3.0.4 Release : 2.fc32 Architecture : x86_64 Size : 768 k Source : gdal-3.0.4-2.fc32.src.rpm Repository : @System From repo : fedora Summary : GIS file format library URL : http://www.gdal.org License : MIT Description : Geospatial Data Abstraction Library (GDAL/OGR) is a cross platform : C++ translator library for raster and vector geospatial data formats. : As a library, it presents a single abstract data model to the calling : application for all supported formats. It also comes with a variety of : useful commandline utilities for data translation and processing. : : It provides the primary data access engine for many applications. : GDAL/OGR is the most widely used geospatial data access library.
I tried reinstalling all components but still have the same problem. Bugzilla doesn't show any open bugs. Is anyone else experiencing problems with GDAL?
I installed GDAL 3.1.0dev-ecdba6e855, released 2020/01/08, from source on Fedora 31 to /usr/local, then recently upgraded to Fedora 32, which added gdal-3.0.4, but after upgrading to Fedora 32, I was getting:
% ldd /usr/bin/ogrinfo | grep libgdal libgdal.so.26 => /usr/local/lib/libgdal.so.26 (0x00007fde1863b000)
Do you have some older libgdal hanging around?