Bug report #11774

Removing layer in 2.6 causes crash and project file corruption if legend started in 2.4

Added by Miroslav Umlauf about 8 years ago. Updated about 8 years ago.

Category:Map Composer/Printing
Affected QGIS version:2.6.0 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:20002


In the new light of findings I am closing #11677 and starting it again as blocker. This issue causes serious problems by following:

1. If legend was created in 2.4 and open in 2.6 and is locked (no automatic refresh of layers in it)
2. If print composer is open and layer listed in legend is removed from map it causes immediate crash with "Access violation" window and makes impossible to continue
3. If print composer is not open and layer listed in legend is removed it:
a. If open print composer it crashes
b. If you try save project it will crash and corrupt the project file - loosing the whole project


#1 Updated by Nathan Woodrow about 8 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

This has been fixed and released in the 2.6.1 release. Could you update to this release.

#2 Updated by Miroslav Umlauf about 8 years ago

Yep, I confirm it is fixed, thank you.

Also available in: Atom PDF