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 2.99.0-149 crashes when confirming algorithm configuration with 'ok' in modeler #24927

Closed
qgib opened this issue Aug 17, 2017 · 6 comments
Closed
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 Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Aug 17, 2017

Author Name: Jochen Schwarze (Jochen Schwarze)
Original Redmine Issue: 17028
Affected QGIS version: master
Redmine category:processing/modeller
Assignee: Victor Olaya


QGIS 2.99.0-149

  • add algorithm (tested various, e.g. 'extract by attribute', 'count points in polygon', ...) in modeler
  • configure it
  • confirme with 'ok'
  • QGIS crashes reproducable with an 'Oh Uh!':

Report Details

Crash ID: e1d9eeae7b0c023b81eae58fc23919daa4b20cb9

Stack Trace

(_core) OGREnvelope3D::OGREnvelope3D (unknown file):(unknown line)
(_core) OGREnvelope3D::OGREnvelope3D (unknown file):(unknown line)
(python36) PyCFunction_FastCallDict (unknown file):(unknown line)
(python36) PyObject_GenericGetAttr (unknown file):(unknown line)
(python36) PyEval_EvalFrameDefault (unknown file):(unknown line)
(python36) PyErr_Occurred (unknown file):(unknown line)
(python36) PyObject_GenericGetAttr (unknown file):(unknown line)
(python36) PyEval_EvalFrameDefault (unknown file):(unknown line)
(python36) PyErr_Occurred (unknown file):(unknown line)
(python36) PyObject_GenericGetAttr (unknown file):(unknown line)
(python36) PyEval_EvalFrameDefault (unknown file):(unknown line)
(python36) PyErr_Occurred (unknown file):(unknown line)
(python36) PyObject_GenericGetAttr (unknown file):(unknown line)
(python36) PyEval_EvalFrameDefault (unknown file):(unknown line)
(python36) PyErr_Occurred (unknown file):(unknown line)
(python36) PyBytes_Resize (unknown file):(unknown line)
(python36) PyObject_Call (unknown file):(unknown line)
(sip) PyInit_sip (unknown file):(unknown line)
(QtWidgets) PyInit_QtWidgets (unknown file):(unknown line)
(Qt5Widgets) QWidget::event (unknown file):(unknown line)
(Qt5Widgets) QFrame::event (unknown file):(unknown line)
(Qt5Widgets) QGraphicsView::viewportEvent (unknown file):(unknown line)
(QtWidgets) PyInit_QtWidgets (unknown file):(unknown line)
(Qt5Core) QCoreApplicationPrivate::sendThroughObjectEventFilters (unknown file):(unknown line)
(Qt5Widgets) QApplicationPrivate::notify_helper (unknown file):(unknown line)
(Qt5Widgets) QApplication::notify (unknown file):(unknown line)
(qgis_core) QgsLayerTreeModel::rootGroup (unknown file):(unknown line)
(Qt5Core) QCoreApplication::notifyInternal2 (unknown file):(unknown line)
(Qt5Widgets) QSizePolicy::QSizePolicy (unknown file):(unknown line)
(Qt5Widgets) QSizePolicy::QSizePolicy (unknown file):(unknown line)
(Qt5Widgets) QApplicationPrivate::notify_helper (unknown file):(unknown line)
(Qt5Widgets) QApplication::notify (unknown file):(unknown line)
(qgis_core) QgsLayerTreeModel::rootGroup (unknown file):(unknown line)
(Qt5Core) QCoreApplication::notifyInternal2 (unknown file):(unknown line)
(Qt5Gui) QGuiApplicationPrivate::processDrop (unknown file):(unknown line)
(Qt5Gui) QWindowSystemInterface::handleDrop (unknown file):(unknown line)
(ole32) RevokeActiveObjectExt (unknown file):(unknown line)
(ole32) RevokeActiveObjectExt (unknown file):(unknown line)
(ole32) OleGetPackageClipboardOwner (unknown file):(unknown line)
(ole32) OleGetPackageClipboardOwner (unknown file):(unknown line)
(ole32) DoDragDrop (unknown file):(unknown line)
(Qt5Gui) QDragManager::drag (unknown file):(unknown line)
(Qt5Gui) QDrag::exec (unknown file):(unknown line)
(Qt5Widgets) QAbstractItemView::startDrag (unknown file):(unknown line)
(QtWidgets) PyInit_QtWidgets (unknown file):(unknown line)
(Qt5Widgets) QAbstractItemView::mouseMoveEvent (unknown file):(unknown line)
(Qt5Widgets) QTreeView::mouseMoveEvent (unknown file):(unknown line)
(QtWidgets) PyInit_QtWidgets (unknown file):(unknown line)
(Qt5Widgets) QWidget::event (unknown file):(unknown line)
(Qt5Widgets) QFrame::event (unknown file):(unknown line)
(Qt5Widgets) QAbstractItemView::viewportEvent (unknown file):(unknown line)
(QtWidgets) PyInit_QtWidgets (unknown file):(unknown line)
(Qt5Core) QCoreApplicationPrivate::sendThroughObjectEventFilters (unknown file):(unknown line)
(Qt5Widgets) QApplicationPrivate::notify_helper (unknown file):(unknown line)
(Qt5Widgets) QApplication::notify (unknown file):(unknown line)
(qgis_core) QgsLayerTreeModel::rootGroup (unknown file):(unknown line)
(Qt5Core) QCoreApplication::notifyInternal2 (unknown file):(unknown line)
(Qt5Widgets) QApplicationPrivate::sendMouseEvent (unknown file):(unknown line)
(Qt5Widgets) QSizePolicy::QSizePolicy (unknown file):(unknown line)
(Qt5Widgets) QSizePolicy::QSizePolicy (unknown file):(unknown line)
(Qt5Widgets) QApplicationPrivate::notify_helper (unknown file):(unknown line)
(Qt5Widgets) QApplication::notify (unknown file):(unknown line)
(qgis_core) QgsLayerTreeModel::rootGroup (unknown file):(unknown line)
(Qt5Core) QCoreApplication::notifyInternal2 (unknown file):(unknown line)
(Qt5Gui) QGuiApplicationPrivate::processMouseEvent (unknown file):(unknown line)
(Qt5Gui) QWindowSystemInterface::sendWindowSystemEvents (unknown file):(unknown line)
(Qt5Core) QEventDispatcherWin32::processEvents (unknown file):(unknown line)
(USER32) CallWindowProcW (unknown file):(unknown line)
(USER32) DispatchMessageW (unknown file):(unknown line)
(Qt5Core) QEventDispatcherWin32::processEvents (unknown file):(unknown line)
(qwindows) qt_plugin_query_metadata (unknown file):(unknown line)
(Qt5Core) QEventLoop::exec (unknown file):(unknown line)
(Qt5Core) QCoreApplication::exec (unknown file):(unknown line)
(qgis_app) QgsAbout::setLicence (unknown file):(unknown line)
(KERNEL32) BaseThreadInitThunk (unknown file):(unknown line)
(ntdll) RtlUserThreadStart (unknown file):(unknown line)

QGIS Info
QGIS Version: 2.99.0-Master
QGIS code revision: fdee6ea
Compiled against Qt: 5.7.1
Running against Qt: 5.7.1
Compiled against GDAL: 2.2.1
Running against GDAL: 2.2.1

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

@qgib
Copy link
Contributor Author

qgib commented Aug 18, 2017

Author Name: Etienne Trimaille (@Gustry)


Does it happen if you don't first add some required input parameters?
I get a python traceback if for instance I'm adding a algorithm without adding first some inputs. (because obviously, the algorithms needs some inputs to work correctly)

@qgib
Copy link
Contributor Author

qgib commented Aug 18, 2017

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 18, 2017

Author Name: Nyall Dawson (@nyalldawson)


I can't reproduce either. I get the "invalid parameter value" traceback (which admittedly is not a nice way of showing this error - but it's been like this for as long as processing has been around) if a parameter value is missing or invalid, but not crash.

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2017

Author Name: Jochen Schwarze (Jochen Schwarze)


I get this python traceback too, when I add the algorithm first without having added my feature sources. I can reproduce the crash, when first adding the required input feature sources and then the algorithm, cp. [[https://youtu.be/bqO1s_9X4W4]]
QGIS 2.99.00-151 installed from OSGeo4W 64bit Installer.

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2017

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Sep 12, 2017

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 6bd37cc.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Sep 12, 2017
@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 Regression Something which used to work, but doesn't anymore 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 Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant