Bug report #11510

graduated renderer causes crash on qgis master

Added by Giovanni Manghi about 5 years ago. Updated about 5 years ago.

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

Description

Try the graduated renderer on qgis master, with a polygon shape.

Use the expression

$area

to compute the area of polygons to obtain ranges of values to use for symbology classes.

On Linux it will crash

Fatal: ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 282
QGIS died on signal -1Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 0
Aborted

On Windows it does not crash but it returns just zeroes.

On 2.4 it was fine

Associated revisions

Revision efc7921c
Added by Alessandro Pasotti about 5 years ago

Fix #11510 graduated renderer causes crash

Revision d9ed1752
Added by Nathan Woodrow about 5 years ago

Merge pull request #1666 from elpaso/bugfix11510

Fix #11510 graduated renderer causes crash

Revision 6de53e51
Added by Alessandro Pasotti about 5 years ago

Fix #11510 graduated renderer causes crash: added check for geometry needed

Funded by ItOpen - http://www.itopen.it

Revision 34af9788
Added by Nathan Woodrow about 5 years ago

Merge pull request #1667 from elpaso/bugfix11510

Fix #11510 graduated renderer causes crash: added check for geometry

History

#1 Updated by Alessandro Pasotti about 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to In Progress

#2 Updated by Alessandro Pasotti about 5 years ago

  • Crashes QGIS or corrupts data changed from No to Yes
  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from In Progress to Closed

Also available in: Atom PDF