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

Crash when switching file while project is parsed

    XMLWordPrintable

Details

    Description

      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
      
      Termination Signal:    Segmentation fault: 11
      Termination Reason:    Namespace SIGNAL, Code 0xb
      Terminating Process:   exc handler [0]
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libQmakeProjectManager.dylib  	0x00000001157a5300 QmakeProjectManager::QmakePriFileNode::deploysFolder(QString const&) const + 16
      1   libQmakeProjectManager.dylib  	0x00000001157a5768 QmakeProjectManager::QmakePriFileNode::supportsAction(ProjectExplorer::ProjectAction, ProjectExplorer::Node const*) const + 984
      2   libProjectExplorer.dylib      	0x0000000112e027e9 ProjectExplorer::FolderNode::supportsAction(ProjectExplorer::ProjectAction, ProjectExplorer::Node const*) const + 25
      3   libProjectExplorer.dylib      	0x0000000112e00519 ProjectExplorer::FileNode::supportsAction(ProjectExplorer::ProjectAction, ProjectExplorer::Node const*) const + 25
      4   libProjectExplorer.dylib      	0x0000000112cd4980 ProjectExplorer::ProjectExplorerPluginPrivate::updateContextMenuActions() + 2416
      5   org.qt-project.QtCore         	0x000000010dadb8eb QMetaObject::activate(QObject*, int, int, void**) + 2347
      6   libProjectExplorer.dylib      	0x0000000112ed15b8 ProjectExplorer::ProjectTree::setCurrent(ProjectExplorer::Node*, ProjectExplorer::Project*) + 776
      7   libProjectExplorer.dylib      	0x0000000112ed1a93 ProjectExplorer::ProjectTree::updateFromNode(ProjectExplorer::Node*) + 51
      8   libProjectExplorer.dylib      	0x0000000112ed1962 ProjectExplorer::ProjectTree::updateFromDocumentManager() + 66
      9   org.qt-project.QtCore         	0x000000010dadb8eb QMetaObject::activate(QObject*, int, int, void**) + 2347
      10  org.qt-project.QtWidgets      	0x000000010ce036c1 QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) + 561
      11  org.qt-project.QtWidgets      	0x000000010ce2e5d5 QWidget::clearFocus() + 277
      12  org.qt-project.QtWidgets      	0x000000010ce2566f QStackedLayout::setCurrentIndex(int) + 367
      13  libCore.dylib                 	0x00000001126844dc Core::Internal::EditorView::setCurrentEditor(Core::IEditor*) + 140
      14  libCore.dylib                 	0x0000000112671f08 Core::Internal::EditorManagerPrivate::setCurrentEditor(Core::IEditor*, bool) + 440
      15  libCore.dylib                 	0x000000011266bdaa Core::Internal::EditorManagerPrivate::activateEditor(Core::Internal::EditorView*, Core::IEditor*, QFlags<Core::EditorManager::OpenEditorFlag>) + 58
      16  libCore.dylib                 	0x000000011266a3e9 Core::Internal::EditorManagerPrivate::openEditor(Core::Internal::EditorView*, QString const&, Core::Id, QFlags<Core::EditorManager::OpenEditorFlag>, bool*) + 1273
      17  libCppTools.dylib             	0x0000000113540bd9 CppTools::switchHeaderSource() + 73
      18  org.qt-project.QtCore         	0x000000010dadb8eb QMetaObject::activate(QObject*, int, int, void**) + 2347
      19  org.qt-project.QtWidgets      	0x000000010cdfc15f QAction::triggered(bool) + 63
      20  org.qt-project.QtCore         	0x000000010dadb8eb QMetaObject::activate(QObject*, int, int, void**) + 2347
      21  org.qt-project.QtWidgets      	0x000000010cdfbf85 QAction::activate(QAction::ActionEvent) + 309
      22  org.qt-project.QtCore         	0x000000010dad3dc4 QObject::event(QEvent*) + 788
      23  org.qt-project.QtWidgets      	0x000000010cdfbe3a QAction::event(QEvent*) + 234
      24  org.qt-project.QtWidgets      	0x000000010ce059a2 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306
      25  org.qt-project.QtWidgets      	0x000000010ce06cbf QApplication::notify(QObject*, QEvent*) + 383
      26  org.qt-project.QtCore         	0x000000010daaa97f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159
      27  org.qt-project.QtCore         	0x000000010daabb32 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 850
      28  libqcocoa.dylib               	0x000000010fe1a1ee 0x10fdf0000 + 172526
      29  libqcocoa.dylib               	0x000000010fe1aaa1 0x10fdf0000 + 174753
      30  com.apple.CoreFoundation      	0x00007fff2c8a4821 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      31  com.apple.CoreFoundation      	0x00007fff2c95e4cc __CFRunLoopDoSource0 + 108
      32  com.apple.CoreFoundation      	0x00007fff2c8872c0 __CFRunLoopDoSources0 + 208
      33  com.apple.CoreFoundation      	0x00007fff2c88673d __CFRunLoopRun + 1293
      34  com.apple.CoreFoundation      	0x00007fff2c885fa3 CFRunLoopRunSpecific + 483
      35  com.apple.HIToolbox           	0x00007fff2bba5866 RunCurrentEventLoopInMode + 286
      36  com.apple.HIToolbox           	0x00007fff2bba54df ReceiveNextEventCommon + 366
      37  com.apple.HIToolbox           	0x00007fff2bba5354 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      38  com.apple.AppKit              	0x00007fff29ea2a23 _DPSNextEvent + 2085
      39  com.apple.AppKit              	0x00007fff2a637e6c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
      40  com.apple.AppKit              	0x00007fff29e97831 -[NSApplication run] + 764
      41  libqcocoa.dylib               	0x000000010fe1989d 0x10fdf0000 + 170141
      42  org.qt-project.QtCore         	0x000000010daa6502 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      43  org.qt-project.QtCore         	0x000000010daab092 QCoreApplication::exec() + 402
      44  org.qt-project.qtcreator      	0x000000010cb725e1 main + 16145
      45  libdyld.dylib                 	0x00007fff53e68145 start + 1
      

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes