Bug report #16872

QGIS 2.18.10 seg faults after clicking on "new project" when map legend contains layer duplicated witd CTRL+d&d

Added by Giovanni Manghi about 4 years ago. Updated over 2 years ago.

Category:Map Legend
Affected QGIS version:2.18.10 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:24771


Add a layer (tested vector shapefiles)

"Duplicate" it with CTRL+d&d (in map legend) > see also #14677 if this has to be considered right or not

click on "new project" > discard > crash

QGIS master is not affected (at least on windows). 2.14.16 also affected, so if is a regression is not very recent.


#1 Updated by Jürgen Fischer almost 4 years ago

  • Description updated (diff)

#2 Updated by salvatore fiandaca over 2 years ago

I confirm the problem in QGIS 2.18.28 (win 10 64 b OSGeo4W).
I did the same test in QGIS 3.4.4, no problem.

#3 Updated by Paolo Cavallini over 2 years ago

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

Therefore, fixed in current LTR. Thanks for testing.

Also available in: Atom PDF