[QGIS-Developer] QGIS Unexpectedly Crashing

Catania, Luke A ERDC-RDE-GRL-VA CIV Luke.A.Catania at erdc.dren.mil
Sat Aug 24 19:51:07 PDT 2024


What causes an access violation intermittently?  Once it happens sometimes it continues to happen, and I have to delete the QGIS directory in AppData\Roaming\ which is annoying because I have my plugin there and I need to copy it to another directory and then copy it back after running QGIS for first time to have the directory recreated.

It seems to be happening with pyqtgraph\Qt.py which is not my code.

Python Stack Trace
Windows fatal exception: access violation

Current thread 0x00003b98 (most recent call first):
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\pyqtgraph\Qt.py", line 285 in setResizeMode
    self.setSectionResizeMode(*args)
  File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\tools\master_planning\design_palette_ui.py", line 470 in create_project_view_layout_ui
    self.DESIGN_PALETTE_DIALOG.projectViewQTreeView.header().setResizeMode(5, QHeaderView.ResizeToContents)
  File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\tools\master_planning\design_palette_ui.py", line 117 in init_ui_parameters
    self.create_project_view_layout_ui()
  File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\tools\master_planning\design_palette_ui.py", line 90 in load
    self.init_ui_parameters()
  File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\app\gui.py", line 198 in run_mp
    master_planning_dialog.load()


Stack Trace

QHeaderView::count :
QHeaderView::setSectionResizeMode :
PyInit_QtWidgets :
PyObject_Str :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_GC_Del :
PyEval_EvalFrameDefault :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyEval_EvalFrameDefault :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_GC_Del :
PyVectorcall_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QAction::activate :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QToolButton::mouseReleaseEvent :
QWidget::event :
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 :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :



QGIS Info
QGIS Version: 3.34.4-Prizren
QGIS code revision: decd43dc
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.8.4
Running against GDAL: 3.8.4



System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240825/3d04466f/attachment.htm>


More information about the QGIS-Developer mailing list