Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-5030

Rare crash on combobox delegatemodel destruction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • QDS 2.2 Beta1
    • Property View
    • None

    Description

      There is an extremely rare crash that can happen when comboboxes on property editor are destroyed:

      1  QQmlAdaptorModel::~QQmlAdaptorModel                                      qqmladaptormodel.cpp           963  0x7ffed521b2d6 
      2  QQmlDelegateModelPrivate::~QQmlDelegateModelPrivate                      qqmldelegatemodel.cpp          216  0x7ffed5225adf 
      3  QQmlDelegateModelPrivate::`scalar deleting destructor'                   Qt6QmlModels                        0x7ffed5227064 
      4  QObject::~QObject                                                        qobject.cpp                    1127 0x7ffed1142a0b 
      5  QQuickComboBoxDelegateModel::`scalar deleting destructor'                Qt6QuickTemplates2                  0x7ffec5a29885 
      6  QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      7  QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      8  QQmlPrivate::QQmlElement<QQuickComboBox>::`scalar deleting destructor'   Qt6QuickTemplates2                  0x7ffec5a96b82 
      9  QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      10 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      11 QQmlPrivate::QQmlElement<QQuickRowLayout>::`scalar deleting destructor'  Qt6QuickLayouts                     0x7fff260aea2d 
      12 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      13 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      14 QQmlPrivate::QQmlElement<QQuickColumn>::`scalar deleting destructor'     Qt6Quick                            0x7ffec6601ac2 
      15 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      16 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      17 QQmlPrivate::QQmlElement<QQuickItem>::`scalar deleting destructor'       Qt6Quick                            0x7ffec6602672 
      18 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      19 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      20 QQmlPrivate::QQmlElement<QQuickColumn>::`scalar deleting destructor'     Qt6Quick                            0x7ffec6601ac2 
      21 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      22 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      23 QQmlPrivate::QQmlElement<QQuickItem>::`scalar deleting destructor'       Qt6Quick                            0x7ffec6602672 
      24 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      25 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      26 QQmlPrivate::QQmlElement<QQuickPopup>::`scalar deleting destructor'      Qt6QuickTemplates2                  0x7ffec5a97602 
      27 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      28 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      29 QQmlPrivate::QQmlElement<QQuickRectangle>::`scalar deleting destructor'  Qt6Quick                            0x7ffec6603af2 
      30 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      31 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      32 QQmlPrivate::QQmlElement<QQuickRowLayout>::`scalar deleting destructor'  Qt6QuickLayouts                     0x7fff260aea2d 
      33 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      34 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      35 QQmlPrivate::QQmlElement<QQuickGridLayout>::`scalar deleting destructor' Qt6QuickLayouts                     0x7fff260ae92d 
      36 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      37 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      38 QQmlPrivate::QQmlElement<QQuickItem>::`scalar deleting destructor'       Qt6Quick                            0x7ffec6602672 
      39 QObjectPrivate::deleteChildren                                           qobject.cpp                    2103 0x7ffed11469c1 
      40 QObject::~QObject                                                        qobject.cpp                    1120 0x7ffed11429ce 
      41 QQmlPrivate::QQmlElement<QQuickColumn>::`scalar deleting destructor'     Qt6Quick                            0x7ffec6601ac2 
      42 QObject::event                                                           qobject.cpp                    1392 0x7ffed1149a43 
      43 QQuickItem::event                                                        qquickitem.cpp                 8566 0x7ffec648d075 
      44 QApplicationPrivate::notify_helper                                       qapplication.cpp               3398 0x7ffef3c6214d 
      45 QApplication::notify                                                     qapplication.cpp               3350 0x7ffef3c6129b 
      46 QCoreApplication::notifyInternal2                                        qcoreapplication.cpp           1063 0x7ffed1109fd4 
      47 QCoreApplicationPrivate::sendPostedEvents                                qcoreapplication.cpp           1830 0x7ffed110c377 
      48 QWindowsGuiEventDispatcher::sendPostedEvents                             qwindowsguieventdispatcher.cpp 80   0x7ffed18c704f 
      49 QEventDispatcherWin32::processEvents                                     qeventdispatcher_win.cpp       474  0x7ffed1258252 
      50 QWindowsGuiEventDispatcher::processEvents                                qwindowsguieventdispatcher.cpp 73   0x7ffed18c7029 
      51 QEventLoop::exec                                                         qeventloop.cpp                 232  0x7ffed110ec5e 
      52 QCoreApplication::exec                                                   qcoreapplication.cpp           1378 0x7ffed110809b 
      53 main                                                                     main.cpp                       762  0x7ff730ff8c77 
      54 WinMain                                                                  qtentrypoint_win.cpp           97   0x7ff730fffd37 
      55 __scrt_common_main_seh                                                   exe_common.inl                 288  0x7ff730ffea8a 
      56 BaseThreadInitThunk                                                      KERNEL32                            0x7fff50067034 
      57 RtlUserThreadStart                                                       ntdll                               0x7fff51942651 
      

      There is no known way to reliably or even unreliably reproduce this. Based on the stack trace, the combobox in question is either gradientOrientation or colorMode in ColorEditor.qml, and presumably this occurs when selection changes away from an item that has color property, such as Rectangle.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes