Opened 4 years ago

Closed 10 months ago

#538 closed defect (outdated)

gdal_array.OpenNumPyArray() fail

Reported by: jakimowb Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: gdal_array


The following python lines cause a crash of the entire python instance on Windows Server 2012 R2 (64 bit) and Windows 8.1 Pro (64 bit):

import numpy
from osgeo import gdal_array
a = numpy.ones((10,20))

gdal_array.OpenNumPyArray is used in the handsome gdal_array.SaveArray(src_array, filename, format = "GTiff", prototype = None) routine. If, for example, called on a QGIS Python console, the entire QGIS instance crashes.

GDAL: 2.2.1, released 2017/06/23 gdal202.dll numpy: 1.12.1 python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

Change History (1)

comment:1 Changed 10 months ago by jef

Resolution: outdated
Status: newclosed
Note: See TracTickets for help on using tickets.