Skip to content

Crash exporting an empty map #61202

@agiudiceandrea

Description

@agiudiceandrea

What is the bug or the crash?

The issue occurs running QGIS LTR 3.40.5 / QGIS 3.42.1 / QGIS 3.43.0-Master

Python Stack Trace
Windows fatal exception: access violation

Thread 0x000027a4 (most recent call first):
  


Stack Trace


QgsSQLStatement::RecursiveVisitor::visit :
QgsLabelingEngine::participatingLayers :
QgsMapRendererJob::participatingLabelLayers :
QgsMapRendererCustomPainterJob::doRender :
QgsMapRendererCustomPainterJob::renderPrepared :
QgsMapRendererTask::run :
QgsTask::start :
QgsTaskWithSerialSubTasks::run :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :




QGIS Info
QGIS Version: 3.43.0-Master
QGIS code revision: c6edab485a
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.11.0dev-a2a1ae507f
Running against GDAL: 3.11.0dev-a599c264fc



System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.18362
Python Stack Trace
Windows fatal exception: access violation

Thread 0x000000c8 (most recent call first):
  


Stack Trace


QgsAbstractGeometry::~QgsAbstractGeometry :
QgsLabelingEngine::participatingLayers :
QgsMapRendererJob::participatingLabelLayers :
QgsMapRendererCustomPainterJob::doRender :
QgsMapRendererCustomPainterJob::renderPrepared :
QgsMapRendererTask::run :
QgsTask::start :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :




QGIS Info
QGIS Version: 3.40.5-Bratislava
QGIS code revision: 8d6d1b5448
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.10.2
Running against GDAL: 3.10.2



System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.18362

Steps to reproduce the issue

  1. Start QGIS
  2. optionally, click on New Project
  3. go to Project->Import/Export->Export Map to Image
  4. either click on Copy to Clipboard or Save -> set an output file

Versions

QGIS version3.43.0-Master
QGIS code revisionc6edab485a
 
Libraries
Qt version5.15.13
Python version3.12.9
GDAL version3.11.0dev-a2a1ae507f (Compiled)
3.11.0dev-a599c264fc (Running)
PROJ version9.6.0 (Compiled)
9.5.1 (Running)
EPSG Registry database versionv11.022 (2024-11-05)
GEOS version3.13.1-CAPI-1.19.2 (Compiled)
3.13.0-CAPI-1.19.0 (Running)
SQLite version3.46.1
PDAL version2.8.3
PostgreSQL client version17.3
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 10 Version 1903
This copy of QGIS writes debugging output.
 
Active Python plugins
db_manager0.1.20
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!Crash/Data Corruption

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions