Bug report #13967

gdal_merge crashes python

Added by Nicolas Cadieux over 8 years ago. Updated over 8 years ago.

Category:GDAL Tools
Affected QGIS version:2.12.0 Regression?:No
Operating System:Windows Osgeo4W64 Install Easy fix?:No
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:No Copied to github as #:21981


Using gdal_merge in OSGeoW4 shell or from qgis terminates with a properly merged file but with a python crash once the file is written to disk. "python.exe has stopped working Window."

This is in a .bat file:
gdal_merge -n -999.999 -a_nodata -999.999 -co BIGTIFF=YES -of GTiff -o C:/pytemp/Output/Output/MergedFile.tif "C:/pytemp/Output/N45W074.tif" "C:/pytemp/Output/N45W075.tif" "C:/pytemp/Output/N45W076.tif" "C:/pytemp/Output/N45W074.tif" "C:/pytemp/Output/N45W075.tif" "C:/pytemp/Output/N45W076.tif"

If I launch this in a .bat file (in the OSGeoW4 shell), the process seems to crash after the creation of the output .tif file. If i launch the process repeatedly (recall the last command with up arrow and then press enter), it will sometime terminate without a python crash.


#1 Updated by Giovanni Manghi over 8 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Closed

please file the issue in the osgeo4w bug tracker. Thanks.

Also available in: Atom PDF