#538: gdal_array.OpenNumPyArray() fail ---------------------+--------------------------- Reporter: jakimowb | Owner: osgeo4w-dev@… Type: defect | Status: new 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(a) }}} {{{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)] -- Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/538> OSGeo4W <http://trac.osgeo.org/osgeo4w> OSGeo4W is the Windows installer and package environment for the OSGeo stack.
_______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev