segfault on gdal.OpenEx() call
Bug #1640360 reported by
Jivan Amara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gdal |
Unknown
|
Unknown
|
|||
gdal (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With both libgdal20 & python-gdal at version 2.1.0 the following snippet will recreate:
import gdal
filename = 'http://
data = gdal.OpenEx(
Defining the environment variable GDAL_SKIP=DODS eliminates the segfault.
Speaking with EvenR on #osgeo; he recommends that the DODS driver be disabled in the builds.
Details:
Ubuntu 16.04.1 LTS
libgdal20 2.1.0+dfsg-
python-gdal 2.1.0+dfsg-
Expected:
ERROR 4: Failed to read GeoJSON data
Actual:
segfault
To post a comment you must log in.
I guess you're using the gdal packages from the UbuntuGIS PPA, since Ubuntu itself doesn't have 2.1.0.
Can you provide a link to the IRC discussion or otherwise provide more motivation why the DODS driver should be disabled now. It has been enabled for a very long time, so I'm surprised Even now recommends disabling it.