-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
100% cpu on marker symbol placed on center of a degenerate linestring #34396
Comments
@mhugo I reproduce the issue with your project, but not with other datasets of mine. It seems you hit a particular nasty case ! |
@haubourg many thanks for the test ! I'll dig deeper ... |
The problem comes from a degenerate linestring which is defined by two points with the same coordinates. That should be an easy fix |
) Fix qgis#34396 (cherry picked from commit 0e63de6)
Describe the bug
A single layer with a simple symbology made of a line with marker symbol generates a 100% CPU load.
How to Reproduce
Download the project file and dataset from
https://share.oslandia.net/public/a48028
Open it and stare at your CPU burning ...
QGIS and OS versions
Linux Debian.
QGIS master commit ef108f3 (2020-02-10)
Additional context
When we zoom in, save the project, kill qgis, restart it and open the project again, the cpu load is normal. When zooming out, it starts to increase the cpu load.
From an attached gdb session, we can see that something seems to go wrong in
QgsTemplatedLineSymbolLayerBase::collectOffsetPoints
The text was updated successfully, but these errors were encountered: