- changed milestone to 3.10 (Hotfix)
-
assigned issue to
Program crashes when rearranging maps
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)
-
-
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?
-
- changed status to on hold
waiting for feedback
-
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:
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.
-
- changed status to open
-
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.
-
- marked as minor
In case these crashes are caused by C++/ SIP / GC issues, these problems might be resolved by changes relating to
#1227. -
DataSourceManager updates datas source properties (resolves
#1225)added LayerItem to keep ref on memory layers, addresses #981, addresses
#1227, addresses#1146Signed-off-by: jakimowb benjamin.jakimow@geo.hu-berlin.de
→ <<cset 5b79044fea26>>
-
Maybe this error is caused by missing / deletec layer references and may be it is already solved (see
).#1227
Althoug it’s not the final release build for EnMAP-Box 3.10, you may test if the error still occurs when using enmapboxplugin.3.10.0.20220506T175600.master.zip
-
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:
- Log in to comment