Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.11.0
-
None
-
Mac OS Catalina
Description
Qt Creator is crashing randomly after opening a project. Can replicate exactly. Sometimes it crashes, sometimes not. Stack trace included.
Process: Qt Creator [42421]Process: Qt Creator [42421]Path: /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt CreatorIdentifier: org.qt-project.qtcreatorVersion: 4.11.0 (4.11.0)Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Qt Creator [42421]User ID: 501 Date/Time: 2019-12-13 11:24:16.318 +0000OS Version: Mac OS X 10.15.2 (19C57)Report Version: 12Anonymous UUID: 316DBF52-9DCB-BEAF-B6CD-F9A812F744B1 Sleep/Wake UUID: 0C6AA535-70B5-4447-A133-182D3765E3C0 Time Awake Since Boot: 44000 secondsTime Since Wake: 8600 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: EXC_I386_GPFLTException Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11Termination Reason: Namespace SIGNAL, Code 0xbTerminating Process: exc handler [42421] Thread 0 Crashed:: Dispatch queue: com.apple.main-thread0 libProjectExplorer.dylib 0x000000010edfc12b ProjectExplorer::Internal::FlatModel::flags(QModelIndex const&) const + 591 org.qt-project.QtCore 0x00000001097daa59 0x10962b000 + 17680252 org.qt-project.QtCore 0x00000001097db18b QItemSelection::indexes() const + 753 org.qt-project.QtWidgets 0x0000000108bf3afe QTreeView::selectionChanged(QItemSelection const&, QItemSelection const&) + 4464 org.qt-project.QtCore 0x0000000109852af5 0x10962b000 + 22597015 org.qt-project.QtCore 0x00000001097e2444 QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) + 19566 org.qt-project.QtCore 0x00000001097e1706 QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) + 8547 org.qt-project.QtCore 0x00000001097e11fb QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) + 598 org.qt-project.QtCore 0x00000001097e2b8d QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) + 1899 org.qt-project.QtWidgets 0x0000000108b79f75 QAbstractItemView::setCurrentIndex(QModelIndex const&) + 14910 org.qt-project.QtWidgets 0x0000000108b848a4 QAbstractItemView::rowsAboutToBeRemoved(QModelIndex const&, int, int) + 112411 org.qt-project.QtWidgets 0x0000000108bf0874 QTreeView::rowsAboutToBeRemoved(QModelIndex const&, int, int) + 2012 org.qt-project.QtCore 0x0000000109852af5 0x10962b000 + 225970113 org.qt-project.QtCore 0x00000001097d1a4f QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) + 38314 libUtils.4.11.0.dylib 0x0000000108700726 Utils::TreeItem::removeChildren() + 27815 libProjectExplorer.dylib 0x000000010edfd3ae ProjectExplorer::Internal::FlatModel::addOrRebuildProjectModel(ProjectExplorer::Project*) + 6216 org.qt-project.QtCore 0x00000001098529b5 0x10962b000 + 225938117 libProjectExplorer.dylib 0x000000010eec63bf ProjectExplorer::ProjectTree::subtreeChanged(ProjectExplorer::FolderNode*) + 6318 libProjectExplorer.dylib 0x000000010ed9f3f5 ProjectExplorer::Project::handleSubTreeChanged(ProjectExplorer::FolderNode*) + 58119 libProjectExplorer.dylib 0x000000010ed9f153 ProjectExplorer::Project::setRootProjectNode(std::__1::unique_ptr<ProjectExplorer::ProjectNode, std::__1::default_delete<ProjectExplorer::ProjectNode> >&&) + 17920 libQmakeProjectManager.dylib 0x0000000115f4a09d QmakeProjectManager::QmakeProject::decrementPendingEvaluateFutures() + 10921 org.qt-project.QtCore 0x00000001098529b5 0x10962b000 + 225938122 org.qt-project.QtCore 0x00000001096584cb QFutureWatcherBase::event(QEvent*) + 21923 org.qt-project.QtWidgets 0x00000001089123da QApplicationPrivate::notify_helper(QObject*, QEvent*) + 26624 org.qt-project.QtWidgets 0x0000000108913866 QApplication::notify(QObject*, QEvent*) + 59825 org.qt-project.QtCore 0x000000010981f914 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 21226 org.qt-project.QtCore 0x0000000109820b09 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 80927 libqcocoa.dylib 0x000000010bd7b289 0x10bd44000 + 22592928 libqcocoa.dylib 0x000000010bd7b9f8 0x10bd44000 + 22783229 com.apple.CoreFoundation 0x00007fff2bfa3b21 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 1730 com.apple.CoreFoundation 0x00007fff2bfa3ac0 __CFRunLoopDoSource0 + 10331 com.apple.CoreFoundation 0x00007fff2bfa38d4 __CFRunLoopDoSources0 + 20932 com.apple.CoreFoundation 0x00007fff2bfa2740 __CFRunLoopRun + 127233 com.apple.CoreFoundation 0x00007fff2bfa1bd3 CFRunLoopRunSpecific + 49934 com.apple.HIToolbox 0x00007fff2aaf865d RunCurrentEventLoopInMode + 29235 com.apple.HIToolbox 0x00007fff2aaf839d ReceiveNextEventCommon + 60036 com.apple.HIToolbox 0x00007fff2aaf8127 _BlockUntilNextEventMatchingListInModeWithFilter + 6437 com.apple.AppKit 0x00007fff29169eb4 _DPSNextEvent + 99038 com.apple.AppKit 0x00007fff29168690 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 135239 com.apple.AppKit 0x00007fff2915a3ae -[NSApplication run] + 65840 libqcocoa.dylib 0x000000010bd7a773 0x10bd44000 + 22309141 org.qt-project.QtCore 0x000000010981b99f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 43142 org.qt-project.QtCore 0x000000010981ff22 QCoreApplication::exec() + 13043 org.qt-project.qtcreator 0x00000001085a6036 main + 1504644 libdyld.dylib 0x00007fff635fe7fd start + 1