Open Beschito opened 1 year ago
Issue confirmed on Windows using QGIS 3.28.11 (OSGeo4W) after changing the label rule from "EQUIDIST" >= 5
to "EQUIDIST" >= 1
and also using QGIS 3.32.3 and QGIS 3.33.0-Master (5f7e06bddb) even without changing the label rule.
QGIS version 3.28.11-Firenze QGIS code revision b02458a196 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.2 PROJ version 9.3.0 EPSG Registry database version v10.094 (2023-08-08) GEOS version 3.12.0-CAPI-1.18.0 SQLite version 3.41.1 PDAL version 2.5.5 PostgreSQL client version unknown SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.4 OS version Windows 10 Version 1903
QGIS version 3.32.3-Lima QGIS code revision 67d46100b5 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.2 PROJ version 9.3.0 EPSG Registry database version v10.094 (2023-08-08) GEOS version 3.12.0-CAPI-1.18.0 SQLite version 3.41.1 PDAL version 2.5.5 PostgreSQL client version 15.2 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.4 OS version Windows 10 Version 1903
QGIS version 3.33.0-Master QGIS code revision 5f7e06bddb Qt version 5.15.3 Python version 3.9.5 Compiled against GDAL/OGR 3.8.0dev-84728959c8 Running against GDAL/OGR 3.8.0dev-7c78481624 PROJ version 9.3.0 EPSG Registry database version v10.094 (2023-08-08) GEOS version 3.12.0-CAPI-1.18.0 SQLite version 3.41.1 PDAL version 2.5.5 PostgreSQL client version 15.2 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.4 OS version Windows 10 Version 1903
According to the "Check validity" processing algorithm (QGIS method), the provided layer contains invalid geometries:
{'ERROR_COUNT': 701, 'INVALID_COUNT': 698, 'VALID_COUNT': 2075}
, while it thoesn't contains invalid geometries using the GEOS method: {'ERROR_COUNT': 0, 'INVALID_COUNT': 0, 'VALID_COUNT': 2773}
.
Can't replicate on latest QGIS master (linux; geos 3.12.0; gdal 3.7.1; proj 9.2.1)
@nirvn the issue occurs on my Windows 10 system even using the latest QGIS 3.33.0-Master. May be a Windows only issue.
Python Stack Trace
Windows fatal exception: access violation
Thread 0x0000635c (most recent call first):
Stack Trace
geos::noding::SegmentNodeList::size :
geos::geom::prep::PreparedGeometryFactory::create :
initGEOS :
GEOSPreparedIntersects_r :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QgsSettingsEntryDouble::QgsSettingsEntryDouble :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :
QGIS Info
QGIS Version: 3.33.0-Master
QGIS code revision: 3914347d5f
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.8.0dev-cd2a054b0d
Running against GDAL: 3.8.0dev-cd2a054b0d
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.18362
QGIS version 3.33.0-Master QGIS code revision 3914347d5f Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.8.0dev-cd2a054b0d PROJ version 9.3.0 EPSG Registry database version v10.094 (2023-08-08) GEOS version 3.12.0-CAPI-1.18.0 SQLite version 3.41.1 PDAL version 2.5.5 PostgreSQL client version 15.2 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.4 OS version Windows 10 Version 1903
This copy of QGIS writes debugging output.
Active Python plugins db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99
Not reproducible on latest 3.35 and 3.28.12 on Windows
I can replicate the issue even using latest 3.35.0-Master QGIS code revision 7a8e82c863 on Windows 10
QGIS version 3.35.0-Master QGIS code revision 7a8e82c863 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.9.0dev-b2015f85f9 PROJ version 9.3.0 EPSG Registry database version v10.094 (2023-08-08) GEOS version 3.12.1-CAPI-1.18.1 SQLite version 3.41.1 PDAL version 2.6.0 PostgreSQL client version 15.2 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.4 OS version Windows 10 Version 1903
This copy of QGIS writes debugging output.
Active Python plugins db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99
https://github.com/qgis/QGIS/assets/16253859/11ea2428-ddf5-491c-901d-b4b4e1ed066f
What is the bug or the crash?
When you try to visualize the labels of the contour lines QGIS crashes. Also if you try to zoom in the contours, QGIS crashes. The contours i'm managind are quite complex. Here i load the file in question. CurveLivello_1m_32633.zip
Steps to reproduce the issue
Versions
3.28.5
Supported QGIS version
New profile
Additional context
Python Stack Trace Windows fatal exception: access violation
Thread 0x00002dd8 (most recent call first):
Stack Trace
geos::noding::SegmentNodeList::size : geos::geom::prep::PreparedGeometryFactory::create : initGEOS : GEOSPreparedIntersects_r : pal::LabelPosition::intersects : pal::Pal::extractProblem : QgsLabelingEngine::solve : QgsDefaultLabelingEngine::run : QgsMapRendererJob::drawLabeling : QgsMapRendererParallelJob::renderLabelsStatic : QgsMapRendererCustomPainterJob::renderSynchronously : QThreadPoolPrivate::reset : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info QGIS Version: 3.28.10-Firenze QGIS code revision: e2edb9c468 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.7.1 Running against GDAL: 3.7.1
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.19045