Bug report #15507

Updated by Sandro Santilli about 7 years ago

The problem has also been encountered in the mailing list https://lists.osgeo.org/pipermail/qgis-developer/2016-May/042692.html



QGIS simply crashes in some projects that have specific geometry although I tested the geometry validity and it's all good.



The error is:

<pre>

src/core/qgsmessagelog.cpp: 45: (logMessage) [0ms] [thread:0x605ec20] 2016-08-31T21:44:39 GEOS[1] Exception: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4

src/core/geometry/qgsgeos.cpp: 63: (throwGEOSException) [0ms] [thread:0x605ec20] GEOS exception: IllegalArgumentException: RobustDeterminant encountered non-finite numbers

</pre>



The problem was tested under Spatialite and under Postgis.

I've turned feature simplification off in QGIS to no avail.

I've attached data and you can replicate by taking the following steps:



- Open the project

- Change the CRS from 4326 to 3857 (web mercator)

- Crash



Depending on the styling/labeling, it may not crash.



I can replicate under QGIS 2.14.6 and 2.16.2



Thanks

Back