Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
QDS 2.2 RC1
-
None
Description
Occasionally, when opening a project from recent projects list on welcome screen after launching QDS, QDS will crash with the following stack trace:
1 QHash<QFileSystemWatcherPathKey,QWindowsFileSystemWatcherEngine::PathInfo>::~QHash<QFileSystemWatcherPathKey,QWindowsFileSystemWatcherEngine::PathInfo> qhash.h 776 0x7ffed19e0a32 2 QHashPrivate::Data<QHashPrivate::Node<void *,QHash<QFileSystemWatcherPathKey,QWindowsFileSystemWatcherEngine::PathInfo>>>::erase qhash.h 649 0x7ffed19e308a 3 QWindowsFileSystemWatcherEngine::addPaths qfilesystemwatcher_win.cpp 434 0x7ffed19e1bda 4 QFileSystemWatcher::addPaths qfilesystemwatcher.cpp 391 0x7ffed19dacf9 5 Utils::FileSystemWatcher::addFiles filesystemwatcher.cpp 314 0x7ffef4f22345 6 Utils::FileSystemWatcher::addFile filesystemwatcher.cpp 275 0x7ffef4f218f9 7 <lambda_2000843e50b38272d9bf776d530b704d>::operator() itemlibraryassetsmodel.cpp 249 0x7ffec66b0744 8 <lambda_2000843e50b38272d9bf776d530b704d>::operator() itemlibraryassetsmodel.cpp 265 0x7ffec66b0a12 9 QmlDesigner::ItemLibraryAssetsModel::setRootPath itemlibraryassetsmodel.cpp 280 0x7ffec66b2df0 10 QmlDesigner::ItemLibraryWidget::setResourcePath itemlibrarywidget.cpp 484 0x7ffec666dde0 11 QmlDesigner::ItemLibraryView::modelAttached itemlibraryview.cpp 123 0x7ffec6652e82 12 QmlDesigner::Internal::ModelPrivate::attachView model.cpp 718 0x7ffec68598bc 13 QmlDesigner::Model::attachView model.cpp 1653 0x7ffec68597e2 14 QmlDesigner::ViewManager::attachViewsExceptRewriterAndComponetView viewmanager.cpp 287 0x7ffec69479b2 15 QmlDesigner::QmlDesignerPlugin::activateAutoSynchronization qmldesignerplugin.cpp 485 0x7ffec6436dac 16 QmlDesigner::QmlDesignerPlugin::showDesigner qmldesignerplugin.cpp 397 0x7ffec643c761 17 QtPrivate::QFunctorSlotObject<<lambda_9a1d5511efc3dcbb78a48c916cd43b63>,2,QtPrivate::List<Utils::Id,Utils::Id>,void>::impl qobjectdefs_impl.h 420 0x7ffec6439a1c 18 doActivate<0> qobject.cpp 3904 0x7ffed18713c1 19 QMetaObject::activate qobject.cpp 3965 0x7ffed1873554 20 Core::ModeManager::currentModeChanged moc_modemanager.cpp 202 0x7ffed09c61bd ... <More>
Similar crash occured in past when refreshing item library content when there was a modal dialog on screen, which was worked around with a timer (see m_assetCompressionTimer in ItemLibraryWidget). However, there shouldn't be a modal dialog on screen in this case.
Note that this happens very rarely, less than 5% of times.
Attachments
Issue Links
- relates to
-
QTBUG-96790 crash in QWindowsFileSystemWatcherEngine::addPaths
- Closed