Bug report #21585
QGIS crashes if unsaved edits (with attribute modifications via plugin) are discarded while closing
Status: | Feedback | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Unknown | ||
Affected QGIS version: | 3.6.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 29401 |
Description
User Feedback¶
Close QGIS with Unsaved edits in vector layerLayer and click on discard button
Report Details¶
Crash ID: f0d1e19b6a981d91222b8c4b7f909999c9f8888c
Stack Trace
QgsFeature::setAttribute : QgsVectorLayerUndoCommandChangeAttribute::undo : QUndoCommand::undo : QUndoStack::setIndex : QgsVectorLayer::rollBack : QgisApp::toggleEditing : QgisApp::checkUnsavedLayerEdits : QgisApp::fileExit : QWidget::event : QgisApp::event : QApplicationPrivate::notify_helper : QApplication::notify : QgsApplication::notify : QCoreApplication::notifyInternal2 : QWidgetPrivate::close_helper : QSizePolicy::QSizePolicy : QSizePolicy::QSizePolicy : QApplicationPrivate::notify_helper : QApplication::notify : QgsApplication::notify : QCoreApplication::notifyInternal2 : QGuiApplicationPrivate::processCloseEvent : QWindowSystemInterface::sendWindowSystemEvents : QEventDispatcherWin32::processEvents : CallWindowProcW : DispatchMessageW : QEventDispatcherWin32::processEvents : qt_plugin_query_metadata : QEventLoop::exec : QCoreApplication::exec : main : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info
QGIS Version: 3.6.0-Noosa
QGIS code revision: 58734527ab
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.4.0
Running against GDAL: 2.4.0
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.14393
History
#1 Updated by Faiz Kidwai over 5 years ago
This also happens when the layer with edits is deleted.
#2 Updated by Giovanni Manghi over 5 years ago
- Priority changed from Normal to High
- Status changed from Open to Feedback
Please add exact/detailed steps about how replicate.