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

Crash when switching a file when Clang issues are filtered out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 4.7.0
    • Qt Creator 4.7.0-rc1
    • All Other Issues
    • None
    • Windows, Linux

    Description

      Following https://codereview.qt-project.org/233513 which fixed QTCREATORBUG-20542 and QTCREATORBUG-18951, I now hit a crash when clicking an issue or performing Follow Symbol when Clang Code Model issues are filtered out.

      Trace:

      1  QEventTransitionPrivate::unregister                                        Qt5Core                           0x7feb7ae6443 
      2  QAbstractItemModel::persistentIndexList                                    Qt5Core                           0x7feb7a16095 
      3  QAbstractItemModelPrivate::rowsRemoved                                     Qt5Core                           0x7feb7a18122 
      4  QAbstractItemModel::endRemoveRows                                          Qt5Core                           0x7feb7a135eb 
      5  QMetaObject::activate                                                      Qt5Core                           0x7feb7a6e251 
      6  QAbstractItemModel::endRemoveRows                                          Qt5Core                           0x7feb7a13652 
      7  ProjectExplorer::Internal::TaskModel::clearTasks                           taskmodel.cpp                181  0x7feb706689b 
      8  ProjectExplorer::Internal::TaskWindow::clearTasks                          taskwindow.cpp               373  0x7feb70616d5 
      9  QMetaObject::activate                                                      Qt5Core                           0x7feb7a6e251 
      10 ProjectExplorer::TaskHub::tasksCleared                                     moc_taskhub.cpp              343  0x7feb714c454 
      11 ProjectExplorer::TaskHub::clearTasks                                       taskhub.cpp                  166  0x7feb70ea488 
      12 ClangCodeModel::Internal::ClangDiagnosticManager::clearTaskHubIssues       clangdiagnosticmanager.cpp   359  0x7fec8d6a94f 
      13 ClangCodeModel::Internal::ModelManagerSupportClang::onCurrentEditorChanged clangmodelmanagersupport.cpp 157  0x7fec8d80020 
      14 QMetaObject::activate                                                      Qt5Core                           0x7feb7a6e251 
      15 Core::EditorManager::currentEditorChanged                                  moc_editormanager.cpp        421  0x7feb7493d61 
      16 Core::Internal::EditorManagerPrivate::setCurrentEditor                     editormanager.cpp            1502 0x7feb73b0c6a 
      17 Core::Internal::EditorManagerPrivate::activateEditor                       editormanager.cpp            1245 0x7feb73a146c 
      18 Core::Internal::EditorManagerPrivate::openEditor                           editormanager.cpp            691  0x7feb73ac521 
      19 Core::Internal::EditorManagerPrivate::openEditorAt                         editormanager.cpp            708  0x7feb73ac716 
      20 Core::EditorManager::openEditorAt                                          editormanager.cpp            2676 0x7feb73ac661 
      21 ProjectExplorer::Internal::ShowInEditorTaskHandler::handle                 showineditortaskhandler.cpp  49   0x7feb705e72f 
      22 ProjectExplorer::Internal::TaskWindow::triggerDefaultHandler               taskwindow.cpp               505  0x7feb7064bb6 
      23 QMetaObject::activate                                                      Qt5Core                           0x7feb7a6e251 
      24 QAbstractItemView::activated                                               Qt5Widgets                        0x7feb80731fa 
      25 QAbstractItemView::mouseDoubleClickEvent                                   Qt5Widgets                        0x7feb807972c 
      26 QWidget::event                                                             Qt5Widgets                        0x7feb7e7bc42 
      27 QFrame::event                                                              Qt5Widgets                        0x7feb7f1eac7 
      28 QAbstractItemView::viewportEvent                                           Qt5Widgets                        0x7feb8080369 
      29 QCoreApplicationPrivate::sendThroughObjectEventFilters                     Qt5Core                           0x7feb7a5104d 
      30 QApplicationPrivate::notify_helper                                         Qt5Widgets                        0x7feb7e58cac 
      31 QApplication::notify                                                       Qt5Widgets                        0x7feb7e568cd 
      32 QCoreApplication::notifyInternal2                                          Qt5Core                           0x7feb7a4ec79 
      33 QApplicationPrivate::sendMouseEvent                                        Qt5Widgets                        0x7feb7e5a006 
      34 QSizePolicy::QSizePolicy                                                   Qt5Widgets                        0x7feb7ea3fe9 
      35 QSizePolicy::QSizePolicy                                                   Qt5Widgets                        0x7feb7ea1d5e 
      36 QApplicationPrivate::notify_helper                                         Qt5Widgets                        0x7feb7e58cc0 
      37 QApplication::notify                                                       Qt5Widgets                        0x7feb7e57b47 
      38 QCoreApplication::notifyInternal2                                          Qt5Core                           0x7feb7a4ec79 
      39 QGuiApplicationPrivate::processMouseEvent                                  Qt5Gui                            0x7febc55e262 
      40 QWindowSystemInterface::sendWindowSystemEvents                             Qt5Gui                            0x7febc5448fb 
      41 QEventDispatcherWin32::processEvents                                       Qt5Core                           0x7feb7a985c5 
      42 TranslateMessageEx                                                         USER32                            0x76e69bbd    
      43 TranslateMessage                                                           USER32                            0x76e698c2    
      44 QEventDispatcherWin32::processEvents                                       Qt5Core                           0x7feb7a97d96 
      45 qt_plugin_query_metadata                                                   qwindows                          0x7febced9979 
      46 QEventLoop::exec                                                           Qt5Core                           0x7feb7a4ab23 
      47 QCoreApplication::exec                                                     Qt5Core                           0x7feb7a4d8d4 
      48 main                                                                       main.cpp                     608  0x13fea909f   
      49 WinMain                                                                    qtcreator                         0x13feaab04   
      50 __scrt_common_main_seh                                                     exe_common.inl               253  0x13fea9f93   
      51 BaseThreadInitThunk                                                        kernel32                          0x76fe59cd    
      52 RtlUserThreadStart                                                         ntdll                             0x7711a561    

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              con Eike Ziller
              orgads Orgad Shaneh
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes