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

QGIS crashes regularly (3.40.1) #59599

Open
2 tasks done
tombcd opened this issue Nov 26, 2024 · 6 comments
Open
2 tasks done

QGIS crashes regularly (3.40.1) #59599

tombcd opened this issue Nov 26, 2024 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Regression Something which used to work, but doesn't anymore

Comments

@tombcd
Copy link

tombcd commented Nov 26, 2024

What is the bug or the crash?

QGIS crashes after opening the project and just browsing/panning the map. The same thing happened with the previous RC release.

Steps to reproduce the issue

  1. Open the project.
  2. Pan the map, zoom in, zoom out etc.
  3. QGIS crashes in a while.

Versions

QGIS version3.40.1-Bratislava
QGIS code revision989853a7
 
Libraries
Qt version5.15.13
Python version3.12.7
GDAL/OGR version3.9.3
PROJ version9.5.0
EPSG Registry database versionv11.016 (2024-08-31)
GEOS version3.13.0-CAPI-1.19.0
SQLite version3.46.1
PDAL version2.8.1
PostgreSQL client version16.2
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 10 Version 2009
 
Active Python plugins
BDOT10k_GML_SHP_Loader2.0.1
deepness0.6.4
dimensioning0.2
geokodowanie_adresow1.2.3
gissupport_plugin2.5
pobieracz_danych_gugik1.2.7
quick_map_services0.19.36
wody_polskie_wms1.0.3
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

User Feedback

The crash occured while browsing the project contents.

Report Details

Python Stack Trace

Windows fatal exception: access violation

Thread 0x00004e64 (most recent call first):
  <no Python frame>

Stack Trace


QMutex::lock :
QCoreApplication::postEvent :
QObject::qt_static_metacall :
QgsTileDownloadManagerReply::requestFinished :
QgsTileDownloadManagerReply::header :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QgsRasterDataProvider::block :
QgsSingleBandColorDataRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRendererFeedback::onNewData :
QObject::qt_static_metacall :
QgsTileDownloadManagerReply::requestFinished :
QgsTileDownloadManagerReply::header :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QgsRasterDataProvider::block :
QgsSingleBandColorDataRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRendererFeedback::onNewData :
QObject::qt_static_metacall :
QgsTileDownloadManagerReply::requestFinished :
QgsTileDownloadManagerReply::header :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QgsRasterDataProvider::block :
QgsSingleBandColorDataRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRendererFeedback::onNewData :
QObject::qt_static_metacall :
QgsTileDownloadManagerReply::requestFinished :
QgsTileDownloadManagerReply::header :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QgsRasterDataProvider::block :
QgsSingleBandColorDataRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRendererFeedback::onNewData :
QObject::qt_static_metacall :
QgsTileDownloadManagerReply::requestFinished :
QgsTileDownloadManagerReply::header :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QgsRasterDataProvider::block :
QgsSingleBandColorDataRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRendererFeedback::onNewData :
QObject::qt_static_metacall :
QgsTileDownloadManagerReply::requestFinished :
QgsTileDownloadManagerReply::header :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QgsRasterDataProvider::block :
QgsSingleBandColorDataRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRenderer::render :
QgsMapRendererParallelJob::renderLayerStatic :
QgsProfilePlotRenderer::replaceSourceInternal :
QgsMapRendererParallelJob::renderingFinished :
QgsProfilePlotRenderer::cancelGenerationWithoutBlocking :
QtConcurrent::ThreadEngineBase::run :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.40.1-Bratislava
QGIS code revision: 989853a
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.9.3
Running against GDAL: 3.9.3

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

@tombcd tombcd added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 26, 2024
@nicogodet
Copy link
Member

Could you retry with a new QGIS profile (I see some python plugins installed in your ticket) ?

Does it happens with all project or a specific one ?

@nicogodet nicogodet added the Feedback Waiting on the submitter for answers label Nov 26, 2024
@tombcd
Copy link
Author

tombcd commented Nov 26, 2024

Here's what I found.
Tried with a fresh profile, with the same project - it crashes same way.
Then, with that new profile, I have identified the WMS layer which, when enabled, makes QGIS crash after a while (I removed most of the other layers and left only 2 WMS layers).

Then, with that new profile, I created a new, empty project and added the same two WMS services as above and all works fine. So maybe there's some incompatibility issue within my 'old' project. I'll try to recreate my main project in that fresh environment so I'll be able to work - so it's for you to decide whether we should investigate it further or not.

@andreasneumann
Copy link
Member

@tombcd Can you please share the project with the WMS - and maybe the WMS URL separately?

@tombcd
Copy link
Author

tombcd commented Nov 26, 2024

PROJECT_bugreport.zip
I have attached the project file - enable layer "MEDIA" and try to zoom-in, zoom-out, pan, etc.
WMS service is:

https://wms.szamotuly.com.pl/cgi-bin/szamotuly-gesut

@agiudiceandrea agiudiceandrea added Crash/Data Corruption and removed Feedback Waiting on the submitter for answers labels Nov 26, 2024
@andreasneumann
Copy link
Member

@tombcd - I can confirm that with QGIS 3.40.1 your project crashes almost immediately after enabling the WMS, whereas with QGIS 3.34.13 (LTR) it runs stable.

@andreasneumann
Copy link
Member

Trying also master (5ed3627bc0) - it also crashes after loading the WMS almost immediately.

So something seems to be broken in 3.40x with respect to WMS.

@nicogodet nicogodet added the Regression Something which used to work, but doesn't anymore label Nov 27, 2024
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 Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

4 participants