Skip to content
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

Crash when exporting to image or pdf #60755

Open
2 tasks done
suavselrep opened this issue Feb 25, 2025 · 3 comments
Open
2 tasks done

Crash when exporting to image or pdf #60755

suavselrep opened this issue Feb 25, 2025 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption qt6 Windows Related to Windows operating system

Comments

@suavselrep
Copy link

suavselrep commented Feb 25, 2025

What is the bug or the crash?

Qgis crash when trying to export as an image or a pdf

Steps to reproduce the issue

I've tried with the Openstreetmap XYZ layer by default or a WMS layer (Google or IGN)
Go to export as image.
No changes to the DPI or Resolution or any options.
When saving no matter the image format it crash.
Same with export to pdf.
Same without georeferencing.

It's a fresh install on my home computer, at work on another computer running the same version but on windows 10, I can generate georeferenced .tiff image just fine using the sames sources.

The crash report :

Python Stack Trace
Windows fatal exception: access violation

Current thread 0x00001f84 (most recent call first):

Stack Trace

QLineEdit::text :
QgsExtentWidget::outputExtent :
QgsExtentGroupBox::outputExtent :
QgsMapSaveDialog::applyMapSettings :
QgsMapSaveDialog::onAccepted :
QgisApp::identifyMapTool :
QObject::qt_static_metacall :
QMetaObject::activate :
QDialogButtonBox::event :
QObject::qt_static_metacall :
QMetaObject::activate :
QAbstractButton::clicked :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QWidgetRepaintManager::updateStaticContentsSize :
QWidgetRepaintManager::updateStaticContentsSize :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
QWindowsGuiEventDispatcher::processEvents :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.40.4-Bratislava
QGIS code revision: 4dd7d7e
Compiled against Qt: 6.8.1
Running against Qt: 6.8.1
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.26100

Versions

Version de QGIS3.40.4-Bratislava
Révision du code4dd7d7e9
 
Bibliothèques
Version de Qt6.8.1
Version de Python3.12.9
GDAL version3.10.2
Version de Proj9.5.1
Version de la base de données du registre EPSGv11.022 (2024-11-05)
Version de GEOS3.13.0-CAPI-1.19.0
Version de SQLite3.46.1
Version de PDAL2.8.3
Version du client PostgreSQLunknown
Version de SpatiaLite5.1.0
Version de QWT6.3.0
Version de QScintilla22.14.1
Version de l'OSWindows 11 Version 24H2
 
Extensions Python actives
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

@suavselrep suavselrep added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 25, 2025
@agiudiceandrea
Copy link
Member

agiudiceandrea commented Feb 27, 2025

@suavselrep, I didn't previously noticed that you have installed and you are using a Qt6 build (which is experimental) of QGIS LTR 3.40.4. Was it intended? I can also confirm the crash on Windows 11.
The issue has been already reported for macOS at #60415.

@suavselrep
Copy link
Author

It wasn't intentionnal, since I first had the bug with the 3.42 Build, I grabbed the LTR on a mirror server and it seems I didn't pay enough attention and downloaded the qt6 Build.

After work I will try again with a fresh install.

@suavselrep
Copy link
Author

Just tried with a non QT6 build and it works just fine. So I can affirm that the bug occurs only with QT6 build of 3.40 or 3.42 versions on Windows 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption qt6 Windows Related to Windows operating system
Projects
None yet
Development

No branches or pull requests

2 participants