-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 18.0.0-beta1
-
None
-
-
df2c58dc6 (18.0)
when switching from one cmake-based project to another, qtcreator deadlocked.
apple's crash reporter shows this stack trace:
Thread 0x3323 DispatchQueue "com.apple.main-thread"(1) 11 samples (1-11) priority 47 (base 47) cpu time <0.001s (334.0K cycles, 184.4K instructions, 1.81c/i) <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 start + 6076 (dyld + 27544) [0x18d676b98] 1-11 11 ??? (Qt Creator + 60752) [0x10018ad50] 1-11 11 QCoreApplication::exec() + 228 (QtCore + 634684) [0x102d76f3c] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588 (QtCore + 673024) [0x102d80500] 1-11 11 ??? (libqcocoa.dylib + 91856) [0x100d7a6d0] 1-11 11 -[NSApplication run] + 480 (AppKit + 187364) [0x191a18be4] 1-11 11 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 (AppKit + 10328384) [0x1923c4940] 1-11 11 _DPSNextEvent + 684 (AppKit + 240180) [0x191a25a34] 1-11 11 _BlockUntilNextEventMatchingListInModeWithFilter + 76 (HIToolbox + 2430084) [0x199731484] 1-11 11 ReceiveNextEventCommon + 676 (HIToolbox + 812264) [0x1995a64e8] 1-11 11 RunCurrentEventLoopInMode + 324 (HIToolbox + 799356) [0x1995a327c] 1-11 11 CFRunLoopRunSpecific + 572 (CoreFoundation + 502424) [0x18db00a98] 1-11 11 __CFRunLoopRun + 840 (CoreFoundation + 504936) [0x18db01468] 1-11 11 __CFRunLoopDoSources0 + 232 (CoreFoundation + 509972) [0x18db02814] 1-11 11 __CFRunLoopDoSource0 + 172 (CoreFoundation + 510632) [0x18db02aa8] 1-11 11 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CoreFoundation + 510740) [0x18db02b14] 1-11 11 ??? (libqcocoa.dylib + 101964) [0x100d7ce4c] 1-11 11 ??? (libqcocoa.dylib + 97196) [0x100d7bbac] 1-11 11 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 524 (QtCore + 637436) [0x102d779fc] 1-11 11 QCoreApplication::sendEvent(QObject*, QEvent*) + 172 (QtCore + 635436) [0x102d7722c] 1-11 11 QApplication::notify(QObject*, QEvent*) + 516 (QtWidgets + 66020) [0x10044c1e4] 1-11 11 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 332 (QtWidgets + 61836) [0x10044b18c] 1-11 11 QFutureWatcherBase::event(QEvent*) + 28 (QtCore + 2365944) [0x102f1d9f8] 1-11 11 ??? (QtCore + 974328) [0x102dc9df8] 1-11 11 ??? (QtCore + 974328) [0x102dc9df8] 1-11 11 Tasking::TaskInterface::done(Tasking::DoneResult, Tasking::TaskInterface::QPrivateSignal) + 68 (libTasking.17.0.82.dylib + 28396) [0x100202eec] 1-11 11 ??? (QtCore + 974328) [0x102dc9df8] 1-11 11 ??? (libTasking.17.0.82.dylib + 166588) [0x100224abc] 1-11 11 ??? (libTasking.17.0.82.dylib + 102600) [0x1002150c8] 1-11 11 ??? (libTasking.17.0.82.dylib + 102940) [0x10021521c] 1-11 11 ??? (libCMakeProjectManager.dylib + 1617512) [0x12958ae68] 1-11 11 ??? (libCMakeProjectManager.dylib + 48240) [0x12940bc70] 1-11 11 ??? (QtCore + 974328) [0x102dc9df8] 1-11 11 ??? (libCMakeProjectManager.dylib + 262860) [0x1294402cc] 1-11 11 ??? (libCMakeProjectManager.dylib + 348444) [0x12945511c] 1-11 11 ??? (libCMakeProjectManager.dylib + 349256) [0x129455448] 1-11 11 ProjectExplorer::Project::setExtraProjectFiles(QSet<Utils::FilePath> const&, std::__1::function<std::__1::unique_ptr<Core::IDocument, std::__1::default_delete<Core::IDocument>> (Utils::FilePath const&)> const&, std::__1::function<void (Core::IDocument*)> const&) + 860 (libProjectExplorer.dylib + 2339940) [0x1262ab464] 1-11 11 Core::DocumentManager::addDocuments(QList<Core::IDocument*> const&, bool) + 680 (libCore.dylib + 704448) [0x125123fc0] 1-11 11 ??? (libCore.dylib + 706108) [0x12512463c] 1-11 11 ??? (libCore.dylib + 748316) [0x12512eb1c] 1-11 11 Utils::DesktopDeviceFileAccess::watch(Utils::FilePath const&) const + 48 (libUtils.17.0.82.dylib + 579276) [0x100f556cc] 1-11 11 ??? (libUtils.17.0.82.dylib + 652304) [0x100f67410] 1-11 11 ??? (libUtils.17.0.82.dylib + 652652) [0x100f6756c] 1-11 11 QMetaObject::invokeMethodImpl(QObject*, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) + 432 (QtCore + 696484) [0x102d860a4] 1-11 11 __ulock_wait2 + 8 (libsystem_kernel.dylib + 59988) [0x18d9e3a54] 1-11 *11 ??? (kernel.release.t6041 + 6330920) [0xfffffe0008d7da28] 1-11 Thread 0x333f Thread name "com.apple.CFSocket.private" 11 samples (1-11) priority 47 (base 47) <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 __select + 8 (libsystem_kernel.dylib + 48172) [0x18d9e0c2c] 1-11 *11 ??? (kernel.release.t6041 + 6131428) [0xfffffe0008d4cee4] 1-11 Thread 0x3377 Thread name "QThread" 11 samples (1-11) priority 31 (base 31) <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 ??? (QtCore + 2304348) [0x102f0e95c] 1-11 11 QThread::exec() + 344 (QtCore + 1659772) [0x102e7137c] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588 (QtCore + 673024) [0x102d80500] 1-11 11 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 904 (QtCore + 2313656) [0x102f10db8] 1-11 11 poll + 8 (libsystem_kernel.dylib + 38040) [0x18d9de498] 1-11 *11 ??? (kernel.release.t6041 + 23832) [0xfffffe0008779d18] 1-11 *11 ??? (kernel.release.t6041 + 1810296) [0xfffffe000892df78] 1-11 *11 ??? (kernel.release.t6041 + 7377560) [0xfffffe0008e7d298] 1-11 *11 ??? (kernel.release.t6041 + 6301952) [0xfffffe0008d76900] 1-11 *11 ??? (kernel.release.t6041 + 5870480) [0xfffffe0008d0d390] 1-11 *11 ??? (kernel.release.t6041 + 559120) [0xfffffe00087fc810] 1-11 *11 ??? (kernel.release.t6041 + 564560) [0xfffffe00087fdd50] 1-11 Thread 0x338b Thread name "DesktopFilePathWatcher" 11 samples (1-11) priority 31 (base 31) cpu time 0.006s (13.8M cycles, 8.2M instructions, 1.68c/i) <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 ??? (QtCore + 2304348) [0x102f0e95c] 1-11 11 QThread::exec() + 344 (QtCore + 1659772) [0x102e7137c] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588 (QtCore + 673024) [0x102d80500] 1-11 11 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 84 (QtCore + 2312836) [0x102f10a84] 1-11 11 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 524 (QtCore + 637436) [0x102d779fc] 1-11 11 QCoreApplication::sendEvent(QObject*, QEvent*) + 172 (QtCore + 635436) [0x102d7722c] 1-11 11 QApplication::notify(QObject*, QEvent*) + 516 (QtWidgets + 66020) [0x10044c1e4] 1-11 11 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 332 (QtWidgets + 61836) [0x10044b18c] 1-11 11 QObject::event(QEvent*) + 672 (QtCore + 939524) [0x102dc1604] 1-11 11 ??? (libUtils.17.0.82.dylib + 652844) [0x100f6762c] 1-11 11 ??? (libUtils.17.0.82.dylib + 652900) [0x100f67664] 1-11 11 ??? (libUtils.17.0.82.dylib + 653412) [0x100f67864] 1-11 11 QFileSystemWatcher::addPath(QString const&) + 136 (QtCore + 2637208) [0x102f5fd98] 1-11 11 QFileSystemWatcher::addPaths(QList<QString> const&) + 488 (QtCore + 2636364) [0x102f5fa4c] 1-11 11 ??? (QtCore + 2663920) [0x102f665f0] 1-11 11 FSEventStreamFlushSync + 248 (FSEvents + 26616) [0x19724c7f8] 1-11 11 __psynch_cvwait + 8 (libsystem_kernel.dylib + 17356) [0x18d9d93cc] 1-11 *11 psynch_cvcontinue + 0 (pthread + 18188) [0xfffffe000bc62edc] 1-11 Thread 0x341e Thread name "QFileInfoGatherer" 11 samples (1-11) priority 25 (base 25) <process frontmost, process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 ??? (QtCore + 2304348) [0x102f0e95c] 1-11 11 QFileInfoGatherer::run() + 156 (QtGui + 4656204) [0x102948c4c] 1-11 11 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108 (QtCore + 2339568) [0x102f172f0] 1-11 11 ??? (QtCore + 2339772) [0x102f173bc] 1-11 11 __psynch_cvwait + 8 (libsystem_kernel.dylib + 17356) [0x18d9d93cc] 1-11 *11 psynch_cvcontinue + 0 (pthread + 18188) [0xfffffe000bc62edc] 1-11 Thread 0x3529 Thread name "com.apple.NSEventThread" 11 samples (1-11) priority 47 (base 47) cpu time 0.025s (61.1M cycles, 43.9M instructions, 1.39c/i) <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 _NSEventThread + 140 (AppKit + 1435532) [0x191b4978c] 1-11 11 CFRunLoopRunSpecific + 572 (CoreFoundation + 502424) [0x18db00a98] 1-11 11 __CFRunLoopRun + 1208 (CoreFoundation + 505304) [0x18db015d8] 1-11 11 __CFRunLoopServiceMachPort + 160 (CoreFoundation + 511164) [0x18db02cbc] 1-11 11 mach_msg + 24 (libsystem_kernel.dylib + 4008) [0x18d9d5fa8] 1-11 11 mach_msg_overwrite + 484 (libsystem_kernel.dylib + 38756) [0x18d9de764] 1-11 11 mach_msg2_trap + 8 (libsystem_kernel.dylib + 3124) [0x18d9d5c34] 1-11 *11 ??? (kernel.release.t6041 + 199252) [0xfffffe00087a4a54] 1-11 Thread 0x3535 Thread name "QThread" 11 samples (1-11) priority 31 (base 31) <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 ??? (QtCore + 2304348) [0x102f0e95c] 1-11 11 QThread::exec() + 344 (QtCore + 1659772) [0x102e7137c] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588 (QtCore + 673024) [0x102d80500] 1-11 11 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 904 (QtCore + 2313656) [0x102f10db8] 1-11 11 poll + 8 (libsystem_kernel.dylib + 38040) [0x18d9de498] 1-11 *11 ??? (kernel.release.t6041 + 23832) [0xfffffe0008779d18] 1-11 *11 ??? (kernel.release.t6041 + 1810296) [0xfffffe000892df78] 1-11 *11 ??? (kernel.release.t6041 + 7377560) [0xfffffe0008e7d298] 1-11 *11 ??? (kernel.release.t6041 + 6301952) [0xfffffe0008d76900] 1-11 *11 ??? (kernel.release.t6041 + 5870480) [0xfffffe0008d0d390] 1-11 *11 ??? (kernel.release.t6041 + 559120) [0xfffffe00087fc810] 1-11 *11 ??? (kernel.release.t6041 + 564560) [0xfffffe00087fdd50] 1-11 Thread 0x3536 Thread name "QThread" 11 samples (1-11) priority 31 (base 31) <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 ??? (QtCore + 2304348) [0x102f0e95c] 1-11 11 QThread::exec() + 344 (QtCore + 1659772) [0x102e7137c] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588 (QtCore + 673024) [0x102d80500] 1-11 11 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 904 (QtCore + 2313656) [0x102f10db8] 1-11 11 <patched truncated backtrace> 1-11 11 poll + 8 (libsystem_kernel.dylib + 38040) [0x18d9de498] 1-11 *11 ??? (kernel.release.t6041 + 23832) [0xfffffe0008779d18] 1-11 *11 ??? (kernel.release.t6041 + 1810296) [0xfffffe000892df78] 1-11 *11 ??? (kernel.release.t6041 + 7377560) [0xfffffe0008e7d298] 1-11 *11 ??? (kernel.release.t6041 + 6301952) [0xfffffe0008d76900] 1-11 *11 ??? (kernel.release.t6041 + 5870480) [0xfffffe0008d0d390] 1-11 *11 ??? (kernel.release.t6041 + 559120) [0xfffffe00087fc810] 1-11 *11 ??? (kernel.release.t6041 + 564560) [0xfffffe00087fdd50] 1-11 Thread 0x3545 Thread name "QThread" 11 samples (1-11) priority 31 (base 31) <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 ??? (QtCore + 2304348) [0x102f0e95c] 1-11 11 QThread::exec() + 344 (QtCore + 1659772) [0x102e7137c] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588 (QtCore + 673024) [0x102d80500] 1-11 11 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 904 (QtCore + 2313656) [0x102f10db8] 1-11 11 poll + 8 (libsystem_kernel.dylib + 38040) [0x18d9de498] 1-11 *11 ??? (kernel.release.t6041 + 23832) [0xfffffe0008779d18] 1-11 *11 ??? (kernel.release.t6041 + 1810296) [0xfffffe000892df78] 1-11 *11 ??? (kernel.release.t6041 + 7377560) [0xfffffe0008e7d298] 1-11 *11 ??? (kernel.release.t6041 + 6301952) [0xfffffe0008d76900] 1-11 *11 ??? (kernel.release.t6041 + 5870480) [0xfffffe0008d0d390] 1-11 *11 ??? (kernel.release.t6041 + 559120) [0xfffffe00087fc810] 1-11 *11 ??? (kernel.release.t6041 + 564560) [0xfffffe00087fdd50] 1-11 Thread 0x16fca Thread name "QThread" 11 samples (1-11) priority 31 (base 31) <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [380], IO tier 0> 11 thread_start + 8 (libsystem_pthread.dylib + 7040) [0x18da12b80] 1-11 11 _pthread_start + 136 (libsystem_pthread.dylib + 27660) [0x18da17c0c] 1-11 11 ??? (QtCore + 2304348) [0x102f0e95c] 1-11 11 QThread::exec() + 344 (QtCore + 1659772) [0x102e7137c] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588 (QtCore + 673024) [0x102d80500] 1-11 11 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 904 (QtCore + 2313656) [0x102f10db8] 1-11 11 poll + 8 (libsystem_kernel.dylib + 38040) [0x18d9de498] 1-11 *11 ??? (kernel.release.t6041 + 23832) [0xfffffe0008779d18] 1-11 *11 ??? (kernel.release.t6041 + 18102
For Gerrit Dashboard: QTCREATORBUG-33523 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
680004,1 | FilePath: Support adding file watches in bulk | master | qt-creator/qt-creator | Status: NEW | 0 | +1 |
680005,1 | DocumentManager: Go back to using FilePath for watches | master | qt-creator/qt-creator | Status: NEW | 0 | +1 |