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

Creator crashes in Core::EditorManager::closeEditors after closing the last document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • Qt Creator 3.5.1, Qt Creator 4.6.0
    • Editors
    • None

    Description

      I closed all my documents by pressing CMD+W several times and when the last document was in the process of closing, I pressed another time CMD+W, which made Creator disappear instantly.

      Process: Qt Creator [825]
      Path: /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
      Identifier: Qt Creator
      Version: 3.5.1 (3.5.1)
      Code Type: X86-64 (Native)
      Parent Process: ??? [1]
      Responsible: Qt Creator [825]
      User ID: 501

      Date/Time: 2015-12-12 12:00:18.584 +0100
      OS Version: Mac OS X 10.11.2 (15C50)
      Report Version: 11
      Anonymous UUID: 29C99AA7-FDBA-6CC4-FB6E-09B613435045

      Sleep/Wake UUID: 407B0AE2-9D07-4AE2-9263-05A41D06AF84

      Time Awake Since Boot: 36000 seconds
      Time Since Wake: 2200 seconds

      System Integrity Protection: enabled

      Crashed Thread: 0 Dispatch queue: com.apple.main-thread

      Exception Type: EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes: EXC_I386_GPFLT
      Exception Note: EXC_CORPSE_NOTIFY

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libCore.dylib 0x000000010ba7736a Core::EditorManager::closeEditors(QList<Core::IEditor*> const&, bool) + 698
      1 libCore.dylib 0x000000010ba80dfa Core::EditorManager::closeDocuments(QList<Core::IDocument*> const&, bool) + 42
      2 libCore.dylib 0x000000010ba7c373 Core::EditorManager::closeDocument(Core::IDocument*, bool) + 51
      3 libCore.dylib 0x000000010ba7bfba Core::Internal::EditorManagerPrivate::closeEditorOrDocument(Core::IEditor*) + 218
      4 libCore.dylib 0x000000010ba8194e Core::EditorManager::slotCloseCurrentEditorOrDocument() + 158
      5 org.qt-project.QtCore 0x0000000106f052e2 QMetaObject::activate(QObject*, int, int, void**) + 2994
      6 org.qt-project.QtWidgets 0x0000000106146750 QAction::triggered(bool) + 64
      7 org.qt-project.QtCore 0x0000000106f04ef2 QMetaObject::activate(QObject*, int, int, void**) + 1986
      8 org.qt-project.QtWidgets 0x00000001061465af QAction::activate(QAction::ActionEvent) + 271
      9 org.qt-project.QtWidgets 0x0000000106146ab5 0x10611e000 + 166581
      10 org.qt-project.QtCore 0x0000000106f052e2 QMetaObject::activate(QObject*, int, int, void**) + 2994
      11 org.qt-project.QtCore 0x0000000106efde93 QObject::event(QEvent*) + 755
      12 org.qt-project.QtWidgets 0x000000010614f4bb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
      13 org.qt-project.QtWidgets 0x000000010615289e QApplication::notify(QObject*, QEvent*) + 8318
      14 org.qt-project.QtCore 0x0000000106ed565b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 971
      15 libqcocoa.dylib 0x00000001076d991e 0x1076b7000 + 141598
      16 libqcocoa.dylib 0x00000001076da1a1 0x1076b7000 + 143777
      17 com.apple.CoreFoundation 0x00007fff8ee635c1 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17
      18 com.apple.CoreFoundation 0x00007fff8ee5541c __CFRunLoopDoSources0 + 556
      19 com.apple.CoreFoundation 0x00007fff8ee5493f __CFRunLoopRun + 927
      20 com.apple.CoreFoundation 0x00007fff8ee54338 CFRunLoopRunSpecific + 296
      21 com.apple.HIToolbox 0x00007fff9b7d0935 RunCurrentEventLoopInMode + 235
      22 com.apple.HIToolbox 0x00007fff9b7d0677 ReceiveNextEventCommon + 184
      23 com.apple.HIToolbox 0x00007fff9b7d05af _BlockUntilNextEventMatchingListInModeWithFilter + 71
      24 com.apple.AppKit 0x00007fff90e8b0ee _DPSNextEvent + 1067
      25 com.apple.AppKit 0x00007fff91257943 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
      26 com.apple.AppKit 0x00007fff90e80fc8 -[NSApplication run] + 682
      27 libqcocoa.dylib 0x00000001076d908d 0x1076b7000 + 139405
      28 org.qt-project.QtCore 0x0000000106ed207d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
      29 org.qt-project.QtCore 0x0000000106ed4f5a QCoreApplication::exec() + 346
      30 org.qt-project.qtcreator 0x0000000105eb0d4c main + 14780
      31 org.qt-project.qtcreator 0x0000000105eaa7d4 start + 52

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-15499
          # Subject Branch Project Status CR V

          Activity

            People

              con Eike Ziller
              reorx Jens
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes