Bug report #4474

Raster Calculator makes QGIS crash if output file exists

Added by alobo - almost 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Rasters
Affected QGIS version:master Regression?:No
Operating System:ubuntu 10.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:Yes Copied to github as #:14401

Description

Instead of prompting whether the file has to be overwritten,
Raster Calculator crashes if output file exists.

Agus

History

#1 Updated by alobo - almost 8 years ago

  • Operating System set to ubuntu 10.04

#2 Updated by alobo - almost 8 years ago

I mean Raster Calculator makes QGIS crash

#3 Updated by Giovanni Manghi almost 8 years ago

  • Subject changed from Raster Calculator crashes if output file exists to Raster Calculator makes QGIS crash if output file exists

#4 Updated by Tim Sutton almost 8 years ago

  • Target version changed from Version 1.7.1 to Version 1.7.2

#5 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.2 to Version 1.7.3

#6 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.3 to Version 1.7.4

#7 Updated by Giovanni Manghi over 7 years ago

  • Status changed from Open to Feedback
  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to Yes

Hi Agus,

I tested on both Windows and Linux with qgis-master ans 1.7.3

I see no crashes at all.

When selecting the output name if you go pick the already existing file QGIS asks if you want to replace it. If just the name is written then QGIS silently overwrites it- The latter seems to me a bug, but it seems not causing crashes.

Please test again and report back.

#8 Updated by Paolo Cavallini over 7 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

Closing for lack of feedback. Please reopen if necessary.

Also available in: Atom PDF