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

Qgis Crash while executing model #28496

Closed
qgib opened this issue Nov 29, 2018 · 4 comments
Closed

Qgis Crash while executing model #28496

qgib opened this issue Nov 29, 2018 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Nov 29, 2018

Author Name: roland gutzinger (roland gutzinger)
Original Redmine Issue: 20676
Affected QGIS version: 3.5(master)
Redmine category:processing/modeller
Assignee: Nyall Dawson


User Feedback

Happening when exacuting a modell in modell builder. the same in the stable version

Report Details

Crash ID: 3fceb8ae24435e704da48647f10960c8811f1f9b

Stack Trace

QBitArray::QBitArray :
OGREnvelope::Contains :
OGREnvelope::Contains :
PyMethodDef_RawFastCallKeywords :
PyMethodDef_RawFastCallKeywords :
PyEval_EvalFrameDefault :
PyFunction_FastCallDict :
PyMethodDef_RawFastCallDict :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QMetaObject::activate :
QAction::activate :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QToolButton::mouseReleaseEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsRenderContext::featureFilterProvider :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsRenderContext::featureFilterProvider :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
QgsVectorLayerProperties::mButtonAddJoin_clicked :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.5.0-Master
QGIS code revision: 23a4fb6
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2

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

@qgib
Copy link
Contributor Author

qgib commented Nov 29, 2018

Author Name: Giovanni Manghi (@gioman)


Please attach the project/data and model. Thanks!


  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Nov 29, 2018

Author Name: roland gutzinger (roland gutzinger)


Correcting myself.The crash happens after successfully executing the model, when i try to change something in the parameters, with a mouseclick somewhere in the model-builder. And it's independent of the model and the input data.
Under Linux this is happening instead:

An error has occurred while executing Python code: 

RuntimeError: wrapped C/C++ object of type QgsProcessingModelAlgorithm has been deleted 
Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/processing/modeler/ModelerGraphicItem.py", line 176, in mouseDoubleClickEvent
    self.editElement()
  File "/usr/share/qgis/python/plugins/processing/modeler/ModelerGraphicItem.py", line 220, in editElement
    dlg = ModelerParametersDialog(elemAlg, self.model, self.element.childId(), self.element.configuration())
  File "/usr/share/qgis/python/plugins/processing/modeler/ModelerParametersDialog.py", line 97, in __init__
    self.setupUi()
  File "/usr/share/qgis/python/plugins/processing/modeler/ModelerParametersDialog.py", line 151, in setupUi
    widget_context.setModel(self.model)
RuntimeError: wrapped C/C++ object of type QgsProcessingModelAlgorithm has been deleted


Python version: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] 
QGIS version: 3.4.2-Madeira Madeira, 5645791 

Python Path:
/usr/share/qgis/python
/home/ro/.local/share/QGIS/QGIS3/profiles/default/python
/home/ro/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/local/lib/python3.6/dist-packages
/usr/lib/python3/dist-packages
/usr/lib/python3.6/dist-packages
/home/ro/.local/share/QGIS/QGIS3/profiles/default/python

@qgib
Copy link
Contributor Author

qgib commented Nov 29, 2018

Author Name: Nyall Dawson (@nyalldawson)


  • assigned_to_id was configured as Nyall Dawson
  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Nov 29, 2018

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 14164ef.


  • done_ratio was changed from 0 to 100
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Nov 29, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms Crash/Data Corruption labels May 25, 2019
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 High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant