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

Opening "Inspect C++ Code Model" twice crashes with assert

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.0.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • OS X 10.11
      Qt Creator master branch ( de2c79044c4e8b168d0173b63e8ad4abf07da295 )

    Description

      Steps to reproduce:
      1) Open project (sample project on which I tested qtwebengine/tests/auto/widgets/qwebenginehistory/qwebenginehistory.pro).

      2) In menu go to Tools -> C++ -> Inspect C++ Code Model.
      3) Close the window.
      4) Repeat step 2 -> crash with assert.

      Stack trace:

      1  QSortFilterProxyModelPrivate::index_to_iterator(QModelIndex const&) const     qsortfilterproxymodel.cpp     187  0x10270c0fb    
      2  QSortFilterProxyModel::parent(QModelIndex const&) const                       qsortfilterproxymodel.cpp     1890 0x102707932    
      3  QModelIndex::parent() const                                                   qabstractitemmodel.h          411  0x1006f937d    
      4  QTreeView::isIndexHidden(QModelIndex const&) const                            qtreeview.cpp                 3040 0x10092d302    
      5  QTreeView::visualRect(QModelIndex const&) const                               qtreeview.cpp                 1102 0x100922338    
      6  QAccessibleTableCell::rect() const                                            itemviews.cpp                 1057 0x1008b52e7    
      7  QAccessibleTableCell::state() const                                           itemviews.cpp                 1024 0x1008b4fad    
      8  QCocoaAccessible::hasValueAttribute(QAccessibleInterface *)                   qcocoaaccessibility.mm        340  0x104c607ec    
      9  -[QMacAccessibilityElement accessibilityAttributeNames]                       qcocoaaccessibilityelement.mm 199  0x104c5bb68    
      10 NSAccessibilityEntryPointAttributeNames                                                                          0x7fff84635386 
      11 -[NSObject(NSAccessibilityInternal) _accessibilityAttributeNamesClientError:]                                    0x7fff848a3c6a 
      12 CopyAttributeNames                                                                                               0x7fff848a708e 
      13 _AXXMIGCopyAttributeNames                                                                                        0x7fff8590723b 
      14 _XCopyAttributeNames                                                                                             0x7fff85910823 
      15 mshMIGPerform                                                                                                    0x7fff858eb012 
      16 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__                                                       0x7fff8fc4b109 
      17 __CFRunLoopDoSource1                                                                                             0x7fff8fc4b079 
      18 __CFRunLoopRun                                                                                                   0x7fff8fc42aab 
      19 CFRunLoopRunSpecific                                                                                             0x7fff8fc41fc8 
      20 RunCurrentEventLoopInMode                                                                                        0x7fff98537d55 
      21 ReceiveNextEventCommon                                                                                           0x7fff98537b8f 
      22 _BlockUntilNextEventMatchingListInModeWithFilter                                                                 0x7fff985379cf 
      23 _DPSNextEvent                                                                                                    0x7fff8446fd96 
      24 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:]                                           0x7fff8446f1c5 
      25 -[NSApplication run]                                                                                             0x7fff84463d28 
      26 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)   qcocoaeventdispatcher.mm      416  0x104c3b426    
      27 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)              qeventloop.cpp                128  0x10274c83a    
      28 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                       qeventloop.cpp                204  0x10274ca56    
      29 QCoreApplication::exec()                                                      qcoreapplication.cpp          1285 0x102752024    
      30 QGuiApplication::exec()                                                       qguiapplication.cpp           1599 0x101372506    
      31 QApplication::exec()                                                          qapplication.cpp              2973 0x10056f3c9    
      32 main                                                                          main.cpp                      527  0x10000be03    
      33 start                                                                                                            0x100004c94    
      

      QObject parent of QTreeView at stack function 4 QTreeView::isIndexHidden
      is a CppEditor::Internal::FilterableView object, if that helps.

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              alexandru.croitor Alexandru Croitor
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes