Bug report #13416

QGIS crashes when font size in labelling comes from unknown type

Added by Saber Razmjooei about 9 years ago. Updated about 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Labelling
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21465

Description

When assigning the font size from an "unknown type" in the rule-based labeling, QGIS crashes:

1- Unzip and open the attached spatialite file
2- Assign a rule based label
3- Select font size to be from FONTHEIGHT field

QGIS crashes with sef fault.

This doesn't happen with the "Show labels for this layer" option.

places.zip - sample spatialite file (803 KB) Saber Razmjooei, 2015-09-24 09:00 AM

Associated revisions

Revision 5b0bfc62
Added by Martin Dobias about 9 years ago

Fix crashing rule-based labeling with data-defined properties (fixes #13416)

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.

History

#1 Updated by Saber Razmjooei about 9 years ago

  • Category set to Labelling

#2 Updated by Martin Dobias about 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF