[Osgeo4w-trac] [osgeo4w] #466: Python stopped working when using python gdal_calc and band.ReadAsArray() on Windows

OSGeo4W trac_osgeo4w at osgeo.org
Fri Aug 5 02:48:16 PDT 2016


#466: Python stopped working when using python gdal_calc and band.ReadAsArray()
on Windows
------------------------+----------------------------
Reporter:  miro         |       Owner:  osgeo4w-dev@…
    Type:  defect       |      Status:  new
Priority:  major        |   Component:  Package
 Version:               |  Resolution:
Keywords:  gdal python  |
------------------------+----------------------------

Comment (by jef):

 Apparently happens when the garbage collector is running as

 {{{
 import gc
 gc.disable()
 }}}

 avoids the crash.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/466#comment:5>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list