Bug report #16890

Updated by Jürgen Fischer over 6 years ago

To replicate
1) Follow the steps as in:
https://issues.qgis.org/attachments/download/11178/Recording%20%232.mp4 of the issue: https://issues.qgis.org/issues/16870
2) after received the save edit errors, click on create new project
3) will ask to save or discard edits => click discard => crash!

**************************
h2. User Feedback

h2. Report Details

*Crash ID*: 40542165b5fc513272d48e74fce875898c6f4d84

*Stack Trace*
<pre>
((unknown module)) QgsVectorLayer::rollBack (unknown file):(unknown line)
((unknown module)) QgisApp::toggleEditing (unknown file):(unknown line)
((unknown module)) QgisApp::removingLayers (unknown file):(unknown line)
((unknown module)) QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,QtPrivate::List<QStringList const & __ptr64>,void,void (__cdecl QgisApp::*)(QStringList const & __ptr64) __ptr64>::call (unknown file):(unknown line)
((unknown module)) QtPrivate::FunctionPointer<void (__cdecl QgisApp::*)(QStringList const & __ptr64) __ptr64>::call<QtPrivate::List<QStringList const & __ptr64>,void> (unknown file):(unknown line)
((unknown module)) QtPrivate::QSlotObject<void (__cdecl QgisApp::*)(QStringList const & __ptr64) __ptr64,QtPrivate::List<QStringList const & __ptr64>,void>::impl (unknown file):(unknown line)
(Qt5Core) QMetaObject::activate (unknown file):(unknown line)
((unknown module)) QgsProject::layersWillBeRemoved (unknown file):(unknown line)
((unknown module)) QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,QtPrivate::List<QStringList const & __ptr64>,void,void (__cdecl QgsProject::*)(QStringList const & __ptr64) __ptr64>::call (unknown file):(unknown line)
((unknown module)) QtPrivate::FunctionPointer<void (__cdecl QgsProject::*)(QStringList const & __ptr64) __ptr64>::call<QtPrivate::List<QStringList const & __ptr64>,void> (unknown file):(unknown line)
((unknown module)) QtPrivate::QSlotObject<void (__cdecl QgsProject::*)(QStringList const & __ptr64) __ptr64,QtPrivate::List<QStringList const & __ptr64>,void>::impl (unknown file):(unknown line)
(Qt5Core) QMetaObject::activate (unknown file):(unknown line)
((unknown module)) QgsMapLayerStore::layersWillBeRemoved (unknown file):(unknown line)
((unknown module)) QgsMapLayerStore::removeMapLayers (unknown file):(unknown line)
((unknown module)) QgsMapLayerStore::removeMapLayers (unknown file):(unknown line)
((unknown module)) QgsMapLayerStore::removeAllMapLayers (unknown file):(unknown line)
((unknown module)) QgsProject::removeAllMapLayers (unknown file):(unknown line)
((unknown module)) QgsProject::clear (unknown file):(unknown line)
((unknown module)) QgisApp::closeProject (unknown file):(unknown line)
((unknown module)) QgisApp::fileNew (unknown file):(unknown line)
((unknown module)) QgisApp::fileNew (unknown file):(unknown line)
((unknown module)) <lambda_b5eae89df074bf6a77705c7bcbe3dd9a>::operator() (unknown file):(unknown line)
((unknown module)) QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,<lambda_b5eae89df074bf6a77705c7bcbe3dd9a> >::call (unknown file):(unknown line)
((unknown module)) QtPrivate::Functor<<lambda_b5eae89df074bf6a77705c7bcbe3dd9a>,0>::call<QtPrivate::List<>,void> (unknown file):(unknown line)
((unknown module)) QtPrivate::QFunctorSlotObject<<lambda_b5eae89df074bf6a77705c7bcbe3dd9a>,0,QtPrivate::List<>,void>::impl (unknown file):(unknown line)
(Qt5Core) QMetaObject::activate (unknown file):(unknown line)
(Qt5Widgets) QAction::activate (unknown file):(unknown line)
(Qt5Widgets) QAbstractButton::click (unknown file):(unknown line)
(Qt5Widgets) QAbstractButton::mouseReleaseEvent (unknown file):(unknown line)
(Qt5Widgets) QToolButton::mouseReleaseEvent (unknown file):(unknown line)
(Qt5Widgets) QWidget::event (unknown file):(unknown line)
(Qt5Widgets) QApplicationPrivate::notify_helper (unknown file):(unknown line)
(Qt5Widgets) QApplication::notify (unknown file):(unknown line)
((unknown module)) QgsApplication::notify (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)
((unknown module)) QgsApplication::notify (unknown file):(unknown line)
(Qt5Core) QCoreApplication::notifyInternal2 (unknown file):(unknown line)
((unknown module)) QGuiApplicationPrivate::processMouseEvent (unknown file):(unknown line)
((unknown module)) QWindowSystemInterface::sendWindowSystemEvents (unknown file):(unknown line)
(Qt5Core) QEventDispatcherWin32::processEvents (unknown file):(unknown line)
((unknown module)) CallWindowProcW (unknown file):(unknown line)
((unknown module)) DispatchMessageW (unknown file):(unknown line)
(Qt5Core) QEventDispatcherWin32::processEvents (unknown file):(unknown line)
((unknown module)) qt_plugin_query_metadata (unknown file):(unknown line)
(Qt5Core) QEventLoop::exec (unknown file):(unknown line)
(Qt5Core) QCoreApplication::exec (unknown file):(unknown line)
((unknown module)) main (unknown file):(unknown line)
((unknown module)) WinMain (unknown file):(unknown line)
((unknown module)) __scrt_common_main_seh (unknown file):(unknown line)
((unknown module)) BaseThreadInitThunk (unknown file):(unknown line)
((unknown module)) RtlUserThreadStart (unknown file):(unknown line)
</pre>



*Plugins*

*Project Info*

*QGIS Info*
QGIS Version: 2.99.0-Master
QGIS code revision: d70f53c
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

Back