[gdal-dev] Updated GDAL and PROJ, now certain datasets crash when calling GetGeoTransform

Even Rouault even.rouault at spatialys.com
Wed May 20 07:43:07 PDT 2020

On mercredi 20 mai 2020 14:32:25 CEST Craig Delancy wrote:
> I've just updated my PROJ and GDAL libraries from the github source again,
> building in debug configuration, and when testing discovered that certain
> datasets crash while other do not. Specifically, when I call
> GetGeoTransform on the dataset, I get an exception on line 3395 of
> c_api.cpp. The param new_geod_crs passed into the function
> proj_crs_alter_geodetic_crs is NULL.
> When I open certain geotiff files to make the datasets, some work fine while
> others cause this crash. All were working before I updated the GDAL
> version. Previously I was on 3.0.0. Is this a bug or have I messed up
> something on my end?

Hard to know. If you "git pull" from an existing GDAL checkout, make sure to make clean 
before rebuilding.
If you still reproduce crashes, please provide a dataset that can reproduce the issue. 
Probably as an attachment in an issue in

Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200520/5c57a1b9/attachment.html>

More information about the gdal-dev mailing list