Program crashes when rearranging maps

Issue #981 open
Former user created an issue

Hi, I followed the first step of the tutorial (https://enmap-box.readthedocs.io/en/latest/usr_section/usr_gettingstarted.html) and try to drag the second map to the side of the first map, and the program became unresponsive and crash eventually. Here's the terminal output for what had happened:

   ~  qgis                                                                                                                                                                          ✔ 
<string>:1: DeprecationWarning: setapi() is deprecated
load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/enmapboxresources_rc.py
load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/externals/qps/qpsresources_rc.py
load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/enmapboxapplications/ressources_rc.py
load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/enmapboxresources_rc.py
load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/externals/qps/qpsresources_rc.py
load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/enmapboxapplications/ressources_rc.py
/home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/ui/enmapbox_gui.ui
refers to 2 none-existing resource (*.qrc) file(s):
1: "../../enmapboxresources.qrc"
2: "../../externals/qps/qpsresources.qrc"
/home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/ui/datasourcemanagerpanel.ui
refers to 1 none-existing resource (*.qrc) file(s):
1: "../../enmapboxresources.qrc"
/home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/externals/qps/ui/cursorlocationinfodock.ui
refers to 1 none-existing resource (*.qrc) file(s):
1: "../qpsresources.qrc"
/home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/externals/qps/speclib/ui/spectralprofilesourcepanel.ui
refers to 2 none-existing resource (*.qrc) file(s):
1: "../../qpsresources.qrc"
2: "../../qpsresources.qrc"
Load EnMAPBoxApplication(s) from "vrtbuilderapp"
Load EnMAPBoxApplication(s) from "_classic"
Load EnMAPBoxApplication(s) from "reclassifyapp"
Load EnMAPBoxApplication(s) from "processingapps"
Load EnMAPBoxApplication(s) from "imagecubeapp"
Load EnMAPBoxApplication(s) from "classificationworkflowapp"
Load EnMAPBoxApplication(s) from "metadataeditorapp"
Load EnMAPBoxApplication(s) from "eotimeseriesviewerapp"
Load EnMAPBoxApplication(s) from "enmapboxapplications"
Load EnMAPBoxApplication(s) from "hzg_onns"
Load EnMAPBoxApplication(s) from "spectralindexoptimizerapp"
Load EnMAPBoxApplication(s) from "lmuvegetationapps"
Load EnMAPBoxApplication(s) from "ensomap"
Load EnMAPBoxApplication(s) from "specmixapp"
Load EnMAPBoxApplication(s) from "enpt_app"
Load EnMAPBoxApplication(s) from "engeomap"
Load EnMAPBoxApplication(s) from "DASFEnMAPbox"
/usr/include/c++/11.1.0/bits/stl_algo.h:3658: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)' failed.
zsh: abort (core dumped)  qgis

My system is Manjaro (Arch based), QGIS version is 3.22.3, and EnMap Box version is 3.9.20211123T125541.master. I can make the maps become floating windows without no problem though.

Comments (10)

  1. Benjamin Jakimow

    Mmmh. I don’t have a Manjaro environment for testing. On Ubuntu it works fine. Can you provide a screenshot of the QGIS > Help > About Info?

  2. Yu-Hsuan Tu

    Hi, sorry for the late reply.

    The QGIS version was 3.22.3. I upgraded QGIS alongside my whole system this week so I couldn’t provide the information now. However, the QGIS was built with this PKGBUILD file:

    svntogit-community/PKGBUILD at 788513e4c84b93c3555f01fc9bf92a6c98c8d590 · archlinux/svntogit-community (github.com)

    The current QGIS version is 3.24.0 on my system. The information is as below:

    The problem still exists. Below are the dependencies of EnMap on my system:

    All the python packages are installed system-wide except enpt-enmapboxapp. Hope this information helps.

  3. Benjamin Jakimow

    I am sorry @Yu-Hsuan Tu , but so far I wasn’t able to reproduce your error. Still not having an archlinux to test, I guess this error relates to the underlying Qt / XWindow system and how it operates on archlinux. An option could be to reproduce this error using a C++ debugger like GDB. Unfortunatelly I don’t haven an archlinux to test.

  4. Yu-Hsuan Tu

    Hi,

    I can confirm that this problem still exists in build number 3.10.0.20220609T095816.master.

    Here’s the full log from staring QGIS until the time when the crash occurred:

    load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/enmapboxresources_rc.py
    load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/qgispluginsupport/qps/qpsresources_rc.py
    load /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/enmapboxapplications/ressources_rc.py
    /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/ui/enmapbox_gui.ui
    refers to 2 none-existing resource (*.qrc) file(s):
    1: "../../enmapboxresources.qrc"
    2: "../../../../qgispluginsupport/qps/qpsresources.qrc"
    /home/o0331dobe/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/ui/datasourcemanagerpanel.ui
    refers to 1 none-existing resource (*.qrc) file(s):
    1: "../../enmapboxresources.qrc"
    Load EnMAPBoxApplication(s) from "vrtbuilderapp"
    Load EnMAPBoxApplication(s) from "decorrelationstretchapp"
    Load EnMAPBoxApplication(s) from "classificationdatasetmanagerapp"
    Load EnMAPBoxApplication(s) from "imagecubeapp"
    Load EnMAPBoxApplication(s) from "colorspaceexplorerapp"
    Load EnMAPBoxApplication(s) from "metadataeditorapp"
    Load EnMAPBoxApplication(s) from "enhancedmultibandcolorapp"
    Load EnMAPBoxApplication(s) from "eotimeseriesviewerapp"
    Load EnMAPBoxApplication(s) from "_classic"
    Load EnMAPBoxApplication(s) from "classificationworkflowapp"
    Load EnMAPBoxApplication(s) from "enmapboxapplications"
    Load EnMAPBoxApplication(s) from "scatterplotapp"
    Load EnMAPBoxApplication(s) from "geetimeseriesexplorerapp"
    Load EnMAPBoxApplication(s) from "rastersourcebandpropertieseditorapp"
    Load EnMAPBoxApplication(s) from "bandstatisticsapp"
    Load EnMAPBoxApplication(s) from "processingapps"
    Load EnMAPBoxApplication(s) from "rasterlayerstylingapp"
    Load EnMAPBoxApplication(s) from "spectralindexcreatorapp"
    Load EnMAPBoxApplication(s) from "classificationstatisticsapp"
    Load EnMAPBoxApplication(s) from "classfractionstatisticsapp"
    Load EnMAPBoxApplication(s) from "regressiondatasetmanagerapp"
    Load EnMAPBoxApplication(s) from "predefinedwmsapp"
    Load EnMAPBoxApplication(s) from "reclassifyapp"
    Load EnMAPBoxApplication(s) from "engeomap"
    Load EnMAPBoxApplication(s) from "specmixapp"
    Load EnMAPBoxApplication(s) from "enpt_app"
    Load EnMAPBoxApplication(s) from "lmuvegetationapps"
    Load EnMAPBoxApplication(s) from "spectralindexoptimizerapp"
    Load EnMAPBoxApplication(s) from "hzg_onns"
    Load EnMAPBoxApplication(s) from "ensomap"
    Load EnMAPBoxApplication(s) from "DASFEnMAPbox"
    /usr/include/c++/12.1.0/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)' failed.
    

    Below are the information of the environments:

  5. Log in to comment