Opened 14 years ago

Closed 13 years ago

#3100 closed bug (fixed)

GDAL tools crash QGIS when a layer is removed from the canvas

Reported by: pcav Owned by: brushtyler
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: GDALTools Version:
Keywords: Cc: brushtyler
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

  • Load a raster
  • Open Contour from Raster menu
  • Go to canvas and remove the loaded raster
  • Go to the plugin
  • Segfault

Change History (6)

comment:1 by lutra, 14 years ago

no seg fault under Ubuntu/trunk

comment:2 by pcav, 14 years ago

Confirmed on both Debian Unstable @amd64 and Debian Testing @i386

comment:3 by borysiasty, 14 years ago

Owner: changed from borysiasty to brushtyler

Confirmed on Ubuntu/trunk - not immediately after coming back to the plugin window, but after some clicking it crashes.

comment:4 by brushtyler, 14 years ago

Status: newassigned

Confirmed on Ubuntu 9.10/trunk

After you come back to the plugin window, select a different input file (select button) and then re-select the layer in canvas (the removed one).

Solution: refreshing the combo when the layers in canvas changed

comment:5 by pcav, 13 years ago

Component: Python plugins and bindingsGDALTools

comment:6 by brushtyler, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed from r15474

Note: See TracTickets for help on using tickets.