-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 14.0.0
-
None
I had lots of qtcreator_\<lang\>.ts files open, rebased, and triggered "Close All Except <current>".
It probably is an factor that the .ts files changed during the rebase, and opening them takes a long time, including runs of the event loop.
Probably the request to close was squeezed into the reload loop via the event loop for opening large files.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 QtGui 0x101adf660 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>>::get() const + 0 (qscopedpointer.h:112) [inlined] 1 QtGui 0x101adf660 decltype(fp.get()) qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>>>(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>>&) + 0 (qtclasshelpermacros.h:79) [inlined] 2 QtGui 0x101adf660 QTextDocument::d_func() + 0 (qtextdocument.h:297) [inlined] 3 QtGui 0x101adf660 QTextDocument::setUndoRedoEnabled(bool) + 0 (qtextdocument.cpp:459) 4 libTextEditor.dylib 0x112d24074 TextEditor::TextDocument::openImpl(QString*, Utils::FilePath const&, Utils::FilePath const&, bool) + 936 (textdocument.cpp:838) 5 libTextEditor.dylib 0x112d24404 TextEditor::TextDocument::reload(QString*, Utils::FilePath const&) + 144 (textdocument.cpp:873) 6 libTextEditor.dylib 0x112d24364 TextEditor::TextDocument::reload(QString*) + 56 (textdocument.cpp:862) 7 libTextEditor.dylib 0x112d24584 TextEditor::TextDocument::reload(QString*, Core::IDocument::ReloadFlag, Core::IDocument::ChangeType) + 292 (textdocument.cpp:913) 8 libCore.dylib 0x1114c6dac Core::DocumentManager::checkForReload() + 4180 9 libCore.dylib 0x1114d1494 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Core::DocumentManager::*)()>::call(void (Core::DocumentManager::*)(), Core::DocumentManager*, void**) + 140 10 libCore.dylib 0x1114d13bc void QtPrivate::FunctionPointer<void (Core::DocumentManager::*)()>::call<QtPrivate::List<>, void>(void (Core::DocumentManager::*)(), Core::DocumentManager*, void**) + 80 11 libCore.dylib 0x1114d12ac QtPrivate::QCallableObject<void (Core::DocumentManager::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 188 12 QtCore 0x105258240 QtPrivate::QSlotObjectBase::call(QObject*, void**) + 28 (qobjectdefs_impl.h:433) [inlined] 13 QtCore 0x105258240 void doActivate<false>(QObject*, int, void**) + 776 (qobject.cpp:4039) 14 QtCore 0x10526b4ec QSingleShotTimer::timeout() + 24 (qtimer.moc:159) [inlined] 15 QtCore 0x10526b4ec QSingleShotTimer::timerEvent(QTimerEvent*) + 68 (qtimer.cpp:335) 16 QtCore 0x105250ce8 QObject::event(QEvent*) + 88 17 QtWidgets 0x102422748 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272 (qapplication.cpp:3296) 18 QtWidgets 0x10242359c QApplication::notify(QObject*, QEvent*) + 504 (qapplication.cpp:3247) 19 QtCore 0x10520e450 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 292 (qcoreapplication.cpp:1121) 20 QtCore 0x10537fb90 QTimerInfoList::activateTimers() + 904 (qtimerinfo_unix.cpp:507) 21 libqcocoa.dylib 0x10112f2fc QCocoaEventDispatcherPrivate::processTimers() + 8 (qcocoaeventdispatcher.mm:105) [inlined] 22 libqcocoa.dylib 0x10112f2fc QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void*) + 400 (qcocoaeventdispatcher.mm:99) 23 CoreFoundation 0x189c47a4c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 24 CoreFoundation 0x189c479e0 __CFRunLoopDoSource0 + 176 25 CoreFoundation 0x189c47750 __CFRunLoopDoSources0 + 244 26 CoreFoundation 0x189c46340 __CFRunLoopRun + 828 27 CoreFoundation 0x189c459ac CFRunLoopRunSpecific + 608 28 HIToolbox 0x1941f4448 RunCurrentEventLoopInMode + 292 29 HIToolbox 0x1941f4284 ReceiveNextEventCommon + 648 30 HIToolbox 0x1941f3fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76 31 AppKit 0x18d4228a4 _DPSNextEvent + 660 32 AppKit 0x18dbfc980 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716 33 AppKit 0x18d415d50 -[NSApplication run] + 476 34 libqcocoa.dylib 0x10112ff6c QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2128 (qcocoaeventdispatcher.mm:405) 35 QtCore 0x10521814c QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 36 (qeventloop.cpp:100) [inlined] 36 QtCore 0x10521814c QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 540 (qeventloop.cpp:182) 37 QtCore 0x10520eadc QCoreApplication::exec() + 112 (qcoreapplication.cpp:1442) 38 Qt Creator 0x100e45c48 main + 15068 (main.cpp:882) 39 dyld 0x1897e90e0 start + 2360