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

[Reg 6.4.3 -> 6.5] Crash when selecting items in "New" dialog in Qt Creator

    XMLWordPrintable

Details

    • macOS

    Description

      • open Qt Creator
      • open File > New Project or File > New File
      • click various templates

      Reproducible with the installers from https://download.qt.io/snapshots/qtcreator_qtsnapshot/11.0/11.0.3/ (Qt 6.6 based though)

      Does not happen with the Qt 6.4.3 based release builds (https://download.qt.io/snapshots/qtcreator/11.0/11.0.3/)

      2023-08-28 09:57:21.535 Qt Creator[13696:1309107] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndexedSubscript:]: index 3 beyond bounds [0 .. 0]'
      *** First throw call stack:
      (
      	0   CoreFoundation                      0x000000018ae1f154 __exceptionPreprocess + 176
      	1   libobjc.A.dylib                     0x000000018a93e4d4 objc_exception_throw + 60
      	2   CoreFoundation                      0x000000018af099b8 -[__NSCFString characterAtIndex:].cold.1 + 0
      	3   CoreFoundation                      0x000000018ad92bd8 -[__NSCFString hasSuffix:] + 0
      	4   libqcocoa.dylib                     0x00000001047fc0b8 _ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269348
      	5   libqcocoa.dylib                     0x00000001047fc13c _ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269480
      	6   libqcocoa.dylib                     0x00000001047fa6ec _ZN20QCocoaSystemTrayIcon13emitActivatedEv + 262744
      	7   QtWidgets                           0x000000010449613c _ZN9QListView14currentChangedERK11QModelIndexS2_ + 112
      	8   QtCore                              0x000000010534d480 _ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3780
      	9   QtCore                              0x0000000105511dac _ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 324
      	10  QtWidgets                           0x0000000104456454 _ZN17QAbstractItemView15mousePressEventEP11QMouseEvent + 880
      	11  QtWidgets                           0x000000010422ac28 _ZN7QWidget5eventEP6QEvent + 132
      	12  QtWidgets                           0x00000001042ae7e8 _ZN6QFrame5eventEP6QEvent + 56
      	13  QtWidgets                           0x0000000104456074 _ZN17QAbstractItemView13viewportEventEP6QEvent + 988
      	14  QtCore                              0x0000000105303f28 _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent + 244
      	15  QtWidgets                           0x00000001041e1adc _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 240
      	16  QtWidgets                           0x00000001041e3b4c _ZN12QApplication6notifyEP7QObjectP6QEvent + 5100
      	17  QtCore                              0x0000000105303c54 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 292
      	18  QtWidgets                           0x00000001041e209c _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb + 808
      	19  QtWidgets                           0x000000010423f280 _ZNK21QWidgetRepaintManager3rhiEv + 9868
      	20  QtWidgets                           0x000000010423e538 _ZNK21QWidgetRepaintManager3rhiEv + 6468
      	21  QtWidgets                           0x00000001041e1afc _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
      	22  QtWidgets                           0x00000001041e2960 _ZN12QApplication6notifyEP7QObjectP6QEvent + 512
      	23  QtCore                              0x0000000105303c54 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 292
      	24  QtGui                               0x0000000103694b64 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 1748
      	25  QtGui                               0x00000001036ebdd8 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 396
      	26  libqcocoa.dylib                     0x000000010479fcfc qt_plugin_instance + 54580
      	27  CoreFoundation                      0x000000018ada663c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
      	28  CoreFoundation                      0x000000018ada65d0 __CFRunLoopDoSource0 + 176
      	29  CoreFoundation                      0x000000018ada6340 __CFRunLoopDoSources0 + 244
      	30  CoreFoundation                      0x000000018ada4f48 __CFRunLoopRun + 828
      	31  CoreFoundation                      0x000000018ada44b8 CFRunLoopRunSpecific + 612
      	32  HIToolbox                           0x00000001945eec40 RunCurrentEventLoopInMode + 292
      	33  HIToolbox                           0x00000001945ee8d0 ReceiveNextEventCommon + 220
      	34  HIToolbox                           0x00000001945ee7d4 _BlockUntilNextEventMatchingListInModeWithFilter + 76
      	35  AppKit                              0x000000018dfc5d44 _DPSNextEvent + 636
      	36  AppKit                              0x000000018dfc4ee0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
      	37  AppKit                              0x000000018dfb9344 -[NSApplication run] + 464
      	38  libqcocoa.dylib                     0x000000010479e600 qt_plugin_instance + 48696
      	39  QtCore                              0x000000010530d5d4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 532
      	40  QtCore                              0x00000001053042e0 _ZN16QCoreApplication4execEv + 112
      	41  Qt Creator                          0x00000001025f4000 main + 15812
      	42  dyld                                0x000000018a96ff28 start + 2236
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes