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

Clicking expression button in stacked diagrams dialog crashes QGIS #60429

Open
1 of 2 tasks
DelazJ opened this issue Feb 4, 2025 · 2 comments
Open
1 of 2 tasks

Clicking expression button in stacked diagrams dialog crashes QGIS #60429

DelazJ opened this issue Feb 4, 2025 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Diagrams qt6

Comments

@DelazJ
Copy link
Contributor

DelazJ commented Feb 4, 2025

What is the bug or the crash?

QGIS 3.41 on Windows, Qt6 (3cca51b)

  1. Open a vector layer properties, Diagrams tab
  2. Select "Stacked Diagram" then "pie chart" (but the sub-diagram type doesn't matter)
  3. select one of the available fields and press "Edit expression" button.
  4. KABOOM

Doing the same with a 3.41 build using Qt5 (edc5453) doesn't crash.

Steps to reproduce the issue

Report Details

Python Stack Trace

Windows fatal exception: stack overflow

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

Stack Trace


QgsCopcUpdate::readHierarchy :
QgsExpression::initFunctionHelp :
QgsExpression::initFunctionHelp :
QgsExpression::initFunctionHelp :
QgsExpression::initFunctionHelp :
QgsExpression::tags :
QgsExpressionTreeView::updateFunctionTree :
QgsExpressionTreeView::QgsExpressionTreeView :
QgsExpressionStoreDialog::label :
QgsExpressionBuilderWidget::QgsExpressionBuilderWidget :
QgsExpressionBuilderDialog::syncOkButtonEnabledState :
QgsExpressionBuilderDialog::QgsExpressionBuilderDialog :
QgsDiagramProperties::showExpressionBuilder :
QgsDiagramProperties::showAddAttributeExpressionDialog :
QgsMapLayerActionContext::operator= :
QgsActionMenu::feature :
QgsMapLayerActionRegistry::`default constructor closure' :
QgsActionMenu::feature :
pdal::PointView::layout :
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 :
QDialog::exec :
QgsStackedDiagramProperties::editSubDiagramRenderer :
QgsStackedDiagramProperties::editSubDiagramRenderer :
QgsStackedDiagramProperties::addSubDiagramRenderer :
QgsMapLayerActionContext::operator= :
QgsActionMenu::feature :
QgsMapLayerActionRegistry::`default constructor closure' :
QgsActionMenu::feature :
pdal::PointView::layout :
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 :
QDialog::exec :
QgisApp::showLayerProperties :
QgisApp::layerProperties :
QgisApp::layerTreeViewDoubleClicked :
pdal::operator< :
QgsAllLayersFeaturesLocatorFilter::hasConfigWidget :
QgisApp::cadDockWidget :
QgsAllLayersFeaturesLocatorFilter::hasConfigWidget :
QgsMapLayerStyleCommand::id :
QObject::qt_static_metacall :
QMetaObject::activate :
QAbstractItemView::doubleClicked :
QTreeView::mouseDoubleClickEvent :
QgsLayerTreeView::mouseDoubleClickEvent :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
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.41.0-Master
QGIS code revision: 3cca51b
Compiled against Qt: 6.8.1
Running against Qt: 6.8.1
Compiled against GDAL: 3.11.0dev-f82e76034c
Running against GDAL: 3.11.0dev-f82e76034c

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

Versions

Version de QGIS3.41.0-Master
Révision du code3cca51bfc8
 
Libraries
Version de Qt6.8.1
Version de Python3.12.8
Version de GDAL/OGR3.11.0dev-f82e76034c
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 10 Version 22H2
Cette copie de QGIS dispose d'une sortie de débogage.
 
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

@DelazJ DelazJ added Bug Either a bug report, or a bug fix. Let's hope for the latter! Diagrams qt6 Crash/Data Corruption labels Feb 4, 2025
@agiudiceandrea
Copy link
Contributor

It looks like it may be the same or at least related to #59003.

@nicogodet
Copy link
Member

Yup looks very similar.
I tried to investigate without success...

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 Diagrams qt6
Projects
None yet
Development

No branches or pull requests

3 participants