QGIS Model Designer crashes when embedded model is updated
What is the bug or the crash?
Report Details
Python Stack Trace
Windows fatal exception: access violation
Current thread 0x00010aec (most recent call first):
<no Python frame>Stack Trace
QgsModelComponentGraphicItem::linkColor :
QgsModelArrowItem::paint :
QGraphicsScene::~QGraphicsScene :
QGraphicsScene::~QGraphicsScene :
QGraphicsScene::drawForeground :
QGraphicsScene::dragMoveEvent :
QGraphicsScene::drawItems :
QGraphicsScene::drawItems :
QGraphicsViewPrivate::~QGraphicsViewPrivate :
QGraphicsView::paintEvent :
QWidget::event :
QFrame::event :
QGraphicsView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::drawWidget :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::drawWidget :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::drawWidget :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::drawWidget :
QWidgetRepaintManager::paintAndFlush :
QWidget::event :
PyInit__gui :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QGraphicsScene::~QGraphicsScene :
QMetaCallEvent::placeMetaCall :
QObject::event :
QGraphicsScene::event :
PyInit__gui :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QWindowsGuiEventDispatcher::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QWindowsGuiEventDispatcher::processEvents :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :Steps to reproduce the issue
I was using the model designer, and have one model embedded in another model (model 04 is embedded in model 99). When I updated model 04 (new nodes, new outputs), and opened model 99, QGIS crashed. (model 99 was already created with the old version of model 04.
I've attached my model files used (I had to change the extension to .txt)
03_contours.model3.txt 04_terrain_texture.model3.txt 99_build_map.model3.txt 01_prepare_dem.model3.txt 02_terrain_relief.model3.txt
Versions
QGIS Info QGIS Version: 4.2.2-Belém do Pará QGIS code revision: f1431de8676 Compiled against Qt: 6.11.1 Running against Qt: 6.11.1 Compiled against GDAL: 3.13.3 Running against GDAL: 3.13.3
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.26200
Supported QGIS version
- I'm running a supported QGIS version according to the roadmap.
New profile
- I tried with a new QGIS profile
No Duplicate of the Issue
- I have verified that there are no existing issues raised related to my problem.
Additional context
No response
Source: qgis/QGIS