Riverscapes/QRAVEPlugin

Viewer crashing for Dominique

Opened this issue · 1 comments

https://riverscapes.freshdesk.com/a/tickets/112

The Riverscapes Viewer (v 0.9.2) has crashed QGIS (v 3.36.3) for me at least 5 times today. It seems to only happen when I have >1 project open.

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00007160 (most recent call first):
  File "C:\Users/DominiqueShore/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\riverscapes_viewer\src\dock_widget.py", line 149 in reload_tree
    self.loaded_projects = []
  File "C:\Users/DominiqueShore/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\riverscapes_viewer\src\dock_widget.py", line 508 in close_project
    self.reload_tree()
  File "C:\Users/DominiqueShore/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\riverscapes_viewer\src\dock_widget.py", line 734 in <lambda>
    self.menu.addAction('CLOSE_PROJECT', lambda: self.close_project(data.project), enabled=bool(data.project))
  File "C:\Users/DominiqueShore/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\riverscapes_viewer\src\dock_widget.py", line 663 in open_menu
    self.menu.exec_(self.treeView.viewport().mapToGlobal(position))

Stack Trace


RtlpWaitOnCriticalSection :
RtlpEnterCriticalSectionContended :
RtlEnterCriticalSection :
xmlDictFree :
xmlHashFree :
xmlFreeDoc :
PyGen_Finalize :
PyGen_Finalize :
PyDict_SetItem :
PyObject_GenericSetAttrWithDict :
PyObject_SetAttr :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_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 :
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 :
PyInit_QtWidgets :
PyLong_FromString :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QWidget::customContextMenuRequested :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
PyInit_QtWidgets :
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.36.2-Maidenhead
QGIS code revision: 6d250527
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.8.5
Running against GDAL: 3.8.5

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

This crash seems to be whenever I try to close a project.