Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-114148

[Reg 6.4.3->6.5.1] Crash in QTreeView/QItemSelectionMdoel when "configuring" project in target setup page

    XMLWordPrintable

Details

    • macOS
    • b6dd88b38 (master)

    Description

      I can reproduce with the prebuilt packages and with a RelWithDebInfo build (Qt 6.5.1 based) at least.

      • open Qt Creator
      • open a project that doesn't have a .user file
      • press configure in the target setup page
                                                                                                                                                                                                                                                                               
      1  __pthread_kill                                                                                                                   (arm64e) /usr/lib/system/libsystem_kernel.dylib                                                                          0x1880821b0 
      2  pthread_kill                                                                                                                     (arm64e) /usr/lib/system/libsystem_pthread.dylib                                                                         0x1880b8cec 
      3  abort                                                                                                                            (arm64e) /usr/lib/system/libsystem_c.dylib                                                                               0x187ff22c8 
      4  abort_message                                                                                                                    (arm64e) /usr/lib/libc++abi.dylib                                                                                        0x188072b18 
      5  demangling_terminate_handler()                                                                                                   (arm64e) /usr/lib/libc++abi.dylib                                                                                        0x188062a0c 
      6  _objc_terminate()                                                                                                                (arm64e) /usr/lib/libobjc.A.dylib                                                                                        0x187d67764 
      7  std::__terminate(void ( *)())                                                                                                    (arm64e) /usr/lib/libc++abi.dylib                                                                                        0x188071eb4 
      8  __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception *)                                                                          (arm64e) /usr/lib/libc++abi.dylib                                                                                        0x188074c2c 
      9  __cxa_throw                                                                                                                      (arm64e) /usr/lib/libc++abi.dylib                                                                                        0x188074bd8 
      10 objc_exception_throw                                                                                                             (arm64e) /usr/lib/libobjc.A.dylib                                                                                        0x187d5f008 
      11 _CFThrowFormattedException                                                                                                       (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation                                   0x1882f8ca4 
      12 -[__NSArrayM objectAtIndexedSubscript:]                                                                                          (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation                                   0x188184fa8 
      13 ___lldb_unnamed_symbol3001                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/plugins/platforms/libqcocoa.dylib                                                   0x10200c124 
      14 ___lldb_unnamed_symbol3002                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/plugins/platforms/libqcocoa.dylib                                                   0x10200c1a8 
      15 ___lldb_unnamed_symbol2982                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/plugins/platforms/libqcocoa.dylib                                                   0x10200a77c 
      16 QTreeView::selectionChanged(QItemSelection const&, QItemSelection const&)                                                        (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x102389234 
      17 ___lldb_unnamed_symbol8853                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x103209788 
      18 QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&)                                          (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x1033cd6a4 
      19 QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>)                                   (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x1033cd264 
      20 QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>)                                      (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x1033ccf24 
      21 ProjectExplorer::Internal::ProjectWindowPrivate::updatePanel()                                                                   projectwindow.cpp                                                                                                   653  0x11b4f1f6c 
      22 ProjectExplorer::Internal::ProjectItem::setData(int, QVariant const&, int)                                                       projectwindow.cpp                                                                                                        0x11b4f2518 
      23 ProjectExplorer::Internal::TargetGroupItem::setData(int, QVariant const&, int)                                                   targetsettingspanel.cpp                                                                                             714  0x11b53f594 
      24 ProjectExplorer::Internal::TargetGroupItemPrivate::handleTargetChanged(ProjectExplorer::Target *)                                targetsettingspanel.cpp                                                                                             801  0x11b53e9b0 
      25 ___lldb_unnamed_symbol8853                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x103209524 
      26 ProjectExplorer::Project::activeTargetChanged(ProjectExplorer::Target *)                                                         moc_project.cpp                                                                                                     469  0x11b208b24 
      27 ProjectExplorer::Project::setActiveTargetHelper(ProjectExplorer::Target *)                                                       project.cpp                                                                                                         340  0x11b45530c 
      28 ProjectExplorer::Project::setActiveTarget(ProjectExplorer::Target *, ProjectExplorer::SetActive)                                 project.cpp                                                                                                         424  0x11b4552c4 
      29 ProjectExplorer::Project::addTarget(std::unique_ptr<ProjectExplorer::Target, std::default_delete<ProjectExplorer::Target>>&&)    project.cpp                                                                                                         278  0x11b4550b8 
      30 ProjectExplorer::Project::setup(QList<ProjectExplorer::BuildInfo> const&)                                                        project.cpp                                                                                                         1039 0x11b45c3c8 
      31 ProjectExplorer::TargetSetupPage::setupProject(ProjectExplorer::Project *)                                                       targetsetuppage.cpp                                                                                                 650  0x11b54681c 
      32 ProjectExplorer::Internal::TargetSetupPageWrapper::done()                                                                        targetsettingspanel.cpp                                                                                             89   0x11b53dc48 
      33 ___lldb_unnamed_symbol8853                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x103209524 
      34 ___lldb_unnamed_symbol12652                                                                                                      (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x1021999e0 
      35 ___lldb_unnamed_symbol12650                                                                                                      (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x102199860 
      36 QAbstractButton::mouseReleaseEvent(QMouseEvent *)                                                                                (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x10219a764 
      37 QWidget::event(QEvent *)                                                                                                         (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x1020e6330 
      38 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                          (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x10209cfec 
      39 QApplication::notify(QObject *, QEvent *)                                                                                        (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x10209f03c 
      40 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                           (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x1031bff88 
      41 QApplicationPrivate::sendMouseEvent(QWidget *, QMouseEvent *, QWidget *, QWidget *, QWidget * *, QPointer<QWidget>&, bool, bool) (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x10209d58c 
      42 ___lldb_unnamed_symbol11614                                                                                                      (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x1020fa9b0 
      43 ___lldb_unnamed_symbol11610                                                                                                      (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x1020f9c68 
      44 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                          (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x10209cfec 
      45 QApplication::notify(QObject *, QEvent *)                                                                                        (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets                                        0x10209de50 
      46 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                           (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x1031bff88 
      47 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent *)                                           (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtGui.framework/Versions/A/QtGui                                                0x10154e794 
      48 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                            (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtGui.framework/Versions/A/QtGui                                                0x1015a5aa4 
      49 ___lldb_unnamed_symbol1695                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/plugins/platforms/libqcocoa.dylib                                                   0x101fafd40 
      50 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__                                                                       (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation                                   0x188198a18 
      51 __CFRunLoopDoSource0                                                                                                             (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation                                   0x1881989ac 
      52 __CFRunLoopDoSources0                                                                                                            (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation                                   0x18819871c 
      53 __CFRunLoopRun                                                                                                                   (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation                                   0x188197320 
      54 CFRunLoopRunSpecific                                                                                                             (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation                                   0x188196888 
      55 RunCurrentEventLoopInMode                                                                                                        (arm64e) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox      0x19186bfa0 
      56 ReceiveNextEventCommon                                                                                                           (arm64e) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox      0x19186bc30 
      57 _BlockUntilNextEventMatchingListInModeWithFilter                                                                                 (arm64e) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox      0x19186bb2c 
      58 _DPSNextEvent                                                                                                                    (arm64e) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit                                                   0x18b418424 
      59 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]                                                  (arm64e) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit                                                   0x18b4175b4 
      60 -[NSApplication run]                                                                                                             (arm64e) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit                                                   0x18b40b9e4 
      61 ___lldb_unnamed_symbol1675                                                                                                       (arm64) /Users/ziller/Qt/6.5.1/macos/plugins/platforms/libqcocoa.dylib                                                   0x101fae644 
      62 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                                                          (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x1031c98fc 
      63 QCoreApplication::exec()                                                                                                         (arm64) /Users/ziller/Qt/6.5.1/macos/lib/QtCore.framework/Versions/A/QtCore                                              0x1031c0614 
      64 main                                                                                                                             main.cpp                                                                                                            797  0x10040bce8 
      65 start                                                                                                                            (arm64e) /usr/lib/dyld                                                                                                   0x187d8fe50 
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-114148
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes