Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24743

Qt Creator crashes often and randomly without any error notice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.13.1
    • All Other Issues
    • None
    • macOS

    Description

      Qt Creator is crashing for me randomly and multiple times a day. It happens about every 15-30 minutes, but not regularly and not related to a particular action. Sometimes during compilation, sometimes during simple code browsing.

      I am using the pre-compiled version of Qt Creator coming with Qt 5.15.0 for macOS (clang_64):

      Qt Creator 4.13.1
      Based on Qt 5.15.1 (Clang 11.0 (Apple), 64 bit)
      
      Built on Sep 16 2020 01:17:08
      
      From revision 1da2c1f766
      

      I disabled most plugins already. See attached screenshots to see which plugins are activated.

      There is no error message shown, say that the window is suddenly disappearing probably due to an error code of 0. When started via console the only output is:

      MacBookAir13:~ benjaminwelle$ /Users/Shared/Qt5.15.0/Qt\ Creator.app/Contents/MacOS/Qt\ Creator
      Info: creating stash file <path_removed>/.qmake.stash
      Info: creating stash file <path_removed>/.qmake.stash
      Info: creating stash file <path_removed>/.qmake.stash
      Info: creating stash file <path_removed>/.qmake.stash
      Info: creating stash file <path_removed>/.qmake.stash
      Info: creating stash file <path_removed>/.qmake.stash
      Info: creating stash file <path_removed>/.qmake.stash
      Info: creating stash file <path_removed>/.qmake.stash
      qt.qpa.fonts: Populating font family aliases took 453 ms. Replace uses of missing font family "Monospace" with one that exists to avoid this cost. 
      Segmentation fault: 11

      This is the crash report of the macOS Console app:

      Process:               Qt Creator [52050]
      Path:                  /Users/Shared/*/Qt Creator.app/Contents/MacOS/Qt Creator
      Identifier:            org.qt-project.qtcreator
      Version:               4.13.1 (4.13.1)
      Code Type:             X86-64 (Native)
      Parent Process:        bash [9886]
      Responsible:           Terminal [8248]
      User ID:               501Date/Time:             2020-10-07 12:40:40.513 +0200
      OS Version:            Mac OS X 10.15.6 (19G2021)
      Report Version:        12
      Anonymous UUID:        83EC76D0-D557-0EBA-9557-2698371337EE
      Time Awake Since Boot: 10000 secondsSystem Integrity Protection: enabledCrashed Thread:        0  Dispatch queue: com.apple.main-threadException Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       EXC_I386_GPFLT
      Exception Note:        EXC_CORPSE_NOTIFYTermination Signal:    Segmentation fault: 11
      Termination Reason:    Namespace SIGNAL, Code 0xb
      Terminating Process:   exc handler [52050]Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libQmakeProjectManager.dylib  	0x0000000111ad6404 QmakeProjectManager::QmakePriFile::children() const + 20
      1   libQmakeProjectManager.dylib  	0x0000000111ae8634 QmakeProjectManager::QmakeProFile::setParseInProgressRecursive(bool) + 36
      2   libQmakeProjectManager.dylib  	0x0000000111ad7857 QmakeProjectManager::QmakePriFile::scheduleUpdate() + 183
      3   libQmakeProjectManager.dylib  	0x0000000111b1ef72 QmakeProjectManager::Internal::QmakePriFileDocument::reload(QString*, Core::IDocument::ReloadFlag, Core::IDocument::ChangeType) + 18
      4   libCore.dylib                 	0x000000010fb2a51e Core::DocumentManager::checkForReload() + 6750
      5   org.qt-project.QtCore         	0x000000010b03977d 0x10ae04000 + 2316157
      6   org.qt-project.QtCore         	0x000000010b02767f QObject::event(QEvent*) + 111
      7   org.qt-project.QtWidgets      	0x000000010a0f5fca QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
      8   org.qt-project.QtWidgets      	0x000000010a0f73f1 QApplication::notify(QObject*, QEvent*) + 497
      9   org.qt-project.QtCore         	0x000000010affc854 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
      10  org.qt-project.QtCore         	0x000000010b06217f QTimerInfoList::activateTimers() + 991
      11  libqcocoa.dylib               	0x000000010dd84912 0x10dd4c000 + 231698
      12  com.apple.CoreFoundation      	0x00007fff36604d52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      13  com.apple.CoreFoundation      	0x00007fff36604cf1 __CFRunLoopDoSource0 + 103
      14  com.apple.CoreFoundation      	0x00007fff36604b0b __CFRunLoopDoSources0 + 209
      15  com.apple.CoreFoundation      	0x00007fff3660383a __CFRunLoopRun + 927
      16  com.apple.CoreFoundation      	0x00007fff36602e3e CFRunLoopRunSpecific + 462
      17  com.apple.HIToolbox           	0x00007fff3522fabd RunCurrentEventLoopInMode + 292
      18  com.apple.HIToolbox           	0x00007fff3522f7d5 ReceiveNextEventCommon + 584
      19  com.apple.HIToolbox           	0x00007fff3522f579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      20  com.apple.AppKit              	0x00007fff33875039 _DPSNextEvent + 883
      21  com.apple.AppKit              	0x00007fff33873880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
      22  com.apple.AppKit              	0x00007fff3386558e -[NSApplication run] + 658
      23  libqcocoa.dylib               	0x000000010dd8564f 0x10dd4c000 + 235087
      24  org.qt-project.QtCore         	0x000000010aff88ef QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      25  org.qt-project.QtCore         	0x000000010affce62 QCoreApplication::exec() + 130
      26  org.qt-project.qtcreator      	0x0000000109da30a5 main + 16949
      27  libdyld.dylib                 	0x00007fff70671cc9 start + 1Thread 1:: com.apple.CFSocket.private
      0   libsystem_kernel.dylib        	0x00007fff707bb0fe __select + 10
      1   com.apple.CoreFoundation      	0x00007fff3662dc53 __CFSocketManager + 641
      2   libsystem_pthread.dylib       	0x00007fff70876109 _pthread_start + 148
      3   libsystem_pthread.dylib       	0x00007fff70871b8b thread_start + 15Thread 2:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff707b93d6 poll + 10
      1   org.qt-project.QtCore         	0x000000010b05f040 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x000000010b060841 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
      3   org.qt-project.QtCore         	0x000000010aff88ef QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x000000010ae25843 QThread::exec() + 131
      5   org.qt-project.QtQml          	0x000000010b6d6489 0x10b442000 + 2704521
      6   org.qt-project.QtCore         	0x000000010ae26859 0x10ae04000 + 141401
      7   libsystem_pthread.dylib       	0x00007fff70876109 _pthread_start + 148
      8   libsystem_pthread.dylib       	0x00007fff70871b8b thread_start + 15Thread 3:: QThread
      0   libsystem_kernel.dylib        	0x00007fff707b93d6 poll + 10
      1   org.qt-project.QtCore         	0x000000010b05f040 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x000000010b060841 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
      3   org.qt-project.QtCore         	0x000000010aff88ef QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x000000010ae25843 QThread::exec() + 131
      5   org.qt-project.QtCore         	0x000000010ae26859 0x10ae04000 + 141401
      6   libsystem_pthread.dylib       	0x00007fff70876109 _pthread_start + 148
      7   libsystem_pthread.dylib       	0x00007fff70871b8b thread_start + 15Thread 4:: com.apple.NSEventThread
      0   libsystem_kernel.dylib        	0x00007fff707b2dfa mach_msg_trap + 10
      1   libsystem_kernel.dylib        	0x00007fff707b3170 mach_msg + 60
      2   com.apple.CoreFoundation      	0x00007fff36604ef5 __CFRunLoopServiceMachPort + 247
      3   com.apple.CoreFoundation      	0x00007fff366039c2 __CFRunLoopRun + 1319
      4   com.apple.CoreFoundation      	0x00007fff36602e3e CFRunLoopRunSpecific + 462
      5   com.apple.AppKit              	0x00007fff33a16954 _NSEventThread + 132
      6   libsystem_pthread.dylib       	0x00007fff70876109 _pthread_start + 148
      7   libsystem_pthread.dylib       	0x00007fff70871b8b thread_start + 15Thread 5:
      0   libsystem_pthread.dylib       	0x00007fff70871b68 start_wqthread + 0Thread 6:
      0   libsystem_pthread.dylib       	0x00007fff70871b68 start_wqthread + 0Thread 7:
      0   libsystem_pthread.dylib       	0x00007fff70871b68 start_wqthread + 0Thread 8:
      0   libsystem_pthread.dylib       	0x00007fff70871b68 start_wqthread + 0Thread 9:: QThread
      0   libsystem_kernel.dylib        	0x00007fff707b93d6 poll + 10
      1   org.qt-project.QtCore         	0x000000010b05f040 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x000000010b060841 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
      3   org.qt-project.QtCore         	0x000000010aff88ef QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   libAutoTest.dylib             	0x00000001111d2e38 void Utils::Internal::blockingContainerMapReduce<QStringList, void* (*)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Autotest::ITestFramework*> const&)::$_3, QSharedPointer<Autotest::TestParseResult>, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >, void (*)(void*)>(QFutureInterface<QSharedPointer<Autotest::TestParseResult> >&, QStringList&&, void* (*&&)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Autotest::ITestFramework*> const&)::$_3&&, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >&&, void (*&&)(void*), Utils::MapReduceOption, QThreadPool*) + 1144
      5   libAutoTest.dylib             	0x00000001111d324c Utils::Internal::AsyncJob<QSharedPointer<Autotest::TestParseResult>, void (&)(QFutureInterface<QSharedPointer<Autotest::TestParseResult> >&, QStringList&&, void* (*&&)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Autotest::ITestFramework*> const&)::$_3&&, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >&&, void (*&&)(void*), Utils::MapReduceOption, QThreadPool*), QStringList&, void* (&)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Autotest::ITestFramework*> const&)::$_3, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >, void (&)(void*), Utils::MapReduceOption&, QThreadPool*&>::run() + 236
      6   libUtils.4.13.1.dylib         	0x0000000109efaec2 Utils::Internal::RunnableThread::run() + 18
      7   org.qt-project.QtCore         	0x000000010ae26859 0x10ae04000 + 141401
      8   libsystem_pthread.dylib       	0x00007fff70876109 _pthread_start + 148
      9   libsystem_pthread.dylib       	0x00007fff70871b8b thread_start + 15Thread 10:: Thread (pooled)
      0   org.qt-project.QtCore         	0x000000010aed8165 0x10ae04000 + 868709
      1   org.qt-project.QtCore         	0x000000010aecac03 QString::toUpper_helper(QString const&) + 19
      2   libUtils.4.13.1.dylib         	0x0000000109e8acb7 Utils::FilePath::hash(unsigned int) const + 71
      3   libCPlusPlus.4.13.1.dylib     	0x00000001108373ba CPlusPlus::Snapshot::document(Utils::FilePath const&) const + 58
      4   libCPlusPlus.4.13.1.dylib     	0x00000001108377d0 CPlusPlus::Snapshot::document(QString const&) const + 48
      5   libCPlusPlus.4.13.1.dylib     	0x0000000110837945 CPlusPlus::Snapshot::allIncludesForDocument(QString const&) const + 245
      6   libAutoTest.dylib             	0x0000000111221c60 Autotest::Internal::GTestParser::processDocument(QFutureInterface<QSharedPointer<Autotest::TestParseResult> >, QString const&) + 416
      7   libAutoTest.dylib             	0x00000001111d5bf0 Utils::Internal::AsyncJob<QSharedPointer<Autotest::TestParseResult>, std::__1::reference_wrapper<Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Autotest::ITestFramework*> const&)::$_3 const>, std::__1::reference_wrapper<QString> >::run() + 352
      8   org.qt-project.QtCore         	0x000000010ae2ad2c 0x10ae04000 + 159020
      9   org.qt-project.QtCore         	0x000000010ae26859 0x10ae04000 + 141401
      10  libsystem_pthread.dylib       	0x00007fff70876109 _pthread_start + 148
      11  libsystem_pthread.dylib       	0x00007fff70871b8b thread_start + 15Thread 0 crashed with X86 Thread State (64-bit):
        rax: 0x00037fe200000000  rbx: 0x00007fe20d0a1a90  rcx: 0x000000000d094ac1  rdx: 0x500000000000000b
        rdi: 0x00007ffee5e679e8  rsi: 0x00007fe20d0a1a90  rbp: 0x00007ffee5e679d0  rsp: 0x00007ffee5e679b0
         r8: 0x000000000000f046   r9: 0x000000000000000f  r10: 0x00007fe20ef00000  r11: 0x00007fe2060397b0
        r12: 0x0000000000000001  r13: 0x0000000000000003  r14: 0x00007ffee5e679e8  r15: 0x00007fe20d0a1a90
        rip: 0x0000000111ad6404  rfl: 0x0000000000010202  cr2: 0x000000010d75c000
        
      Logical CPU:     0
      Error Code:      0x00000000
      Trap Number:     221
      

      Attachments

        Issue Links

          Activity

            People

              con Eike Ziller
              boernsen boernsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: