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

Properties of invalid layer crashes QGIS #58043

Closed
1 of 2 tasks
kudlav opened this issue Jul 9, 2024 · 2 comments · Fixed by #58159
Closed
1 of 2 tasks

Properties of invalid layer crashes QGIS #58043

kudlav opened this issue Jul 9, 2024 · 2 comments · Fixed by #58159
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore

Comments

@kudlav
Copy link

kudlav commented Jul 9, 2024

What is the bug or the crash?

User Feedback

Trying to display Properties of invalid layer crashes QGIS.

Reproducible: Always on multiple sources.
Reload QGIS button doesn't reload QGIS, only closes QGIS.

Steps to reproduce the issue

  1. Layer → Add Layer → Add Raster Layer
  2. Select OGC API as a Source Type
  3. Put the given URL into the OGC API Endpoint: https://maps.gnosis.earth/ogcapi/collections/Daraa
  4. Add
  5. Add all items
  6. Go through rows, on a item with a question mark right-click, select Properties

Versions

QGIS Info
QGIS Version: 3.38.0-Grenoble
QGIS code revision: 37aa618
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.9.0
Running against GDAL: 3.9.0

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

Supported QGIS version

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

New profile

Additional context

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00002a14 (most recent call first):
  <no Python frame>

Stack Trace


QgsMapToolShapeRectangleCenterMetadata::category :
QgsPointCloudLayerProperties::syncToLayer :
QgsMapToolShapeRectangleCenterMetadata::category :
QgsRasterLayerProperties::addPropertiesPageFactory :
QgisApp::showLayerProperties :
QgisApp::layerProperties :
QObject::qt_static_metacall :
QAction::activate :
QMenu::actionGeometry :
QMenu::actionGeometry :
QMenu::mouseReleaseEvent :
QWidget::event :
QMenu::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QMenu::exec :
QMenu::exec :
QgsLayerTreeView::contextMenuEvent :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :
@kudlav kudlav added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jul 9, 2024
@agiudiceandrea agiudiceandrea added Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore Crash/Data Corruption labels Jul 12, 2024
@agiudiceandrea
Copy link
Contributor

The issue doesn't occur using QGIS 3.34.8. QGIS 3.38.0 is also slower than QGIS 3.34.8 to retrieve the layers' list and to add the layers to the map.

@kudlav
Copy link
Author

kudlav commented Jul 12, 2024

I can confirm that obtaining the list of layers or adding layers takes a few minutes and during that time, QGIS app is unresponsive.

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 Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants