Opening Layer properties of enmap_berlin.tif causes QGIS/Box crash (Ubuntu)

Issue #846 closed
Fabian Thiel created an issue

How to Reproduce:

Load Example data → Go into the Layer properties of enmap_berlin.tif

→ QGIS crashes with the following information in the terminal:

/root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/externals/qps/ui/rasterbandconfigwidget.ui
refers to 1 none-existing resource (*.qrc) file(s):
1: "../qpsresources.qrc"
QGIS died on signal 11t

So far observed on Ubuntu 20.04/21.04 with QGIS 3.20 + 3.22

Other layers from the test dataset work fine.

Comments (13)

  1. Benjamin Jakimow

    Another stack trace related to a QGIS crash

    Stack Trace
    
    
    QObject::parent :
    QLayout::addChildWidget :
    QStackedLayout::insertWidget :
    QgsOptionsDialogBase::insertPage :
    QgsRasterLayerProperties::addPropertiesPageFactory :
    PyInit__gui :
    PyArg_ParseTuple_SizeT :
    PyEval_EvalFrameDefault :
    PyObject_GC_Del :
    PyFunction_Vectorcall :
    PyEval_EvalFrameDefault :
    PyEval_EvalFrameDefault :
    PyObject_GC_Del :
    PyFunction_Vectorcall :
    PyVectorcall_Call :
    PyObject_Call :
    PyInit_QtCore :
    PyInit_QtCore :
    PyInit_QtCore :
    PyInit_QtCore :
    QObject::qt_static_metacall :
    QAction::activate :
    QMenu::actionGeometry :
    QMenu::actionGeometry :
    QMenu::mouseReleaseEvent :
    PyInit_QtWidgets :
    QWidget::event :
    QMenu::event :
    PyInit_QtWidgets :
    QApplicationPrivate::notify_helper :
    QApplication::notify :
    QgsApplication::notify :
    QCoreApplication::notifyInternal2 :
    QMenu::metaObject :
    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 :
    PyInit__gui :
    QWidget::event :
    QFrame::event :
    QAbstractItemView::viewportEvent :
    PyInit__gui :
    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 :
    
    
    
    
    QGIS Info
    QGIS Version: 3.22.0-Bia?owie?a
    QGIS code revision: d9022691f1
    Compiled against Qt: 5.15.2
    Running against Qt: 5.15.2
    Compiled against GDAL: 3.3.2
    Running against GDAL: 3.3.3
    
    
    
    System Info
    CPU Type: x86_64
    Kernel Type: winnt
    Kernel Version: 10.0.19043 
    

  2. Fabian Thiel reporter

    In some cases it seems to make a difference whether the layer was added via “Add Data” or Drag&Drop (the latter then causes the issue)

  3. Andreas Janz

    Agreed, same on my system. The raster PRS_L2D_STD_20210905101947_20210905101951_0001.bsq provided by Tobias can be used to reproduce the crash.

  4. Benjamin Jakimow
    • changed status to open

    Cannot reproduce on ubuntu 20.20 @Fabian Thiel does this error still occurs on your systems?

  5. Fabian Thiel reporter

    No issues on Ubuntu 20.04 with QGIS 3.24.0
    Although, opening the Layer properties dialog always brings the QGIS main window to the front, also when minimized previously. Not sure if that was the case before.

  6. Benjamin Jakimow

    addresses #846 (EnMAP-Box get's focus back after opening QgsLayerPrroperties) update QPS, flake8 fixes Metadata Viewer, resolves 787 fixed Project menu order (Add ... first)

    → <<cset 5c88d8faa658>>

  7. Log in to comment