Bug report #9181

Crashes when trying to resume node editing after a rollback

Added by Graham Ford over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:High
Assignee:Alvaro Huarte
Category:-
Affected QGIS version:2.0.1 Regression?:No
Operating System:Windows XP Pro Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:17810

Description

Repeatable crash! I'm using QGIS version 2.0.1 - Dufour, code revision ebebdf3. To create crash I do this:
Start QGIS, open the Lakes.shp vector data provided with QGIS, Zoom in to one of the lakes, toggle editing on, choose the Node Tool, select one node, drag the node and drop it, choose Rollback for selected layers,(Edited polygon returns to original state), click on a node (nothing happens), click on the node again - Crash!
Message appears headed "Crash Dumped" saying Minidump written to C:......

NB I'm a QGIS newbie, so apologies if I'm doing something stupid!

History

#1 Updated by Alvaro Huarte over 10 years ago

  • Assignee set to Alvaro Huarte

I get same crash in QGIS master.

I think that 'node tool' does not releases its 'QgsSelectedFeature' member after rollback an edition.
I will try fix it!

Regards

#2 Updated by Alvaro Huarte over 10 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Alvaro Huarte over 10 years ago

  • Crashes QGIS or corrupts data changed from No to Yes
  • % Done changed from 0 to 100

#4 Updated by Alvaro Huarte over 10 years ago

  • Resolution set to fixed/implemented

#5 Updated by Denis Rouzaud over 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF