Bug report #11305

Adding an overview map to print composer crashes QGIS

Added by Anita Graser about 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:19601

Description

To reproduce just add two maps to a print composition. Try to turn the second one in to an overview map. QGIS crashes when trying to set the map frame to Map0.

Tested with today's nightly OSGeo4W on Win7.

Associated revisions

Revision 6bb045bd
Added by Nyall Dawson about 5 years ago

[composer] Ensure that QgsComposerMap::mapPolygon returns a closed
polygon, fixes rare crash when using map overviews (fix #11305)

History

#1 Updated by Anita Graser about 5 years ago

The crash does not seem to happen with every project, but I can always reproduce it by loading the alaska.shp from the QGIS sample data.

#2 Updated by Luigi Pirelli about 5 years ago

  • Status changed from Open to Feedback

not confirmed in my win7 and master 675ba9a + tested on debian wheezy

#3 Updated by Anita Graser about 5 years ago

not confirmed on win8 either ... strange, must be local then ... sorry for the noise!

#4 Updated by Anita Graser about 5 years ago

  • Status changed from Feedback to Closed

#5 Updated by Nyall Dawson about 5 years ago

  • Status changed from Closed to Reopened

I did reproduce this. I'll investigate

#6 Updated by Nyall Dawson about 5 years ago

  • Status changed from Reopened to Closed

Also available in: Atom PDF