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

Crash in QQuickItem destructor

    XMLWordPrintable

Details

    Description

      Run attached example, close the window, the application will be crashed.

      >	Qt5Quickd.dll!QQuickItem::~QQuickItem() Line 2314	C++
       	Qt5Quickd.dll!QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement<QQuickItem>() Line 104	C++
       	[External Code]	
       	Qt5Cored.dll!QObjectPrivate::deleteChildren() Line 1970	C++
       	Qt5Cored.dll!QObject::~QObject() Line 1041	C++
       	Qt5Quickd.dll!QQuickItem::~QQuickItem() Line 2356	C++
       	Qt5Quickd.dll!QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement<QQuickItem>() Line 104	C++
       	[External Code]	
       	Qt5Cored.dll!QObjectPrivate::deleteChildren() Line 1970	C++
       	Qt5Cored.dll!QObject::~QObject() Line 1041	C++
       	Qt5Guid.dll!QWindow::~QWindow() Line 215	C++
       	Qt5Quickd.dll!QQuickWindow::~QQuickWindow() Line 1303	C++
       	Qt5Quickd.dll!QQmlPrivate::QQmlElement<QQuickWindow>::~QQmlElement<QQuickWindow>() Line 104	C++
       	[External Code]	
       	Qt5Qmld.dll!qDeleteAll<QList<QObject * __ptr64>::const_iterator>(QList<QObject *>::const_iterator begin={...}, QList<QObject *>::const_iterator end={...}) Line 320	C++
       	Qt5Qmld.dll!qDeleteAll<QList<QObject * __ptr64> >(const QList<QObject *> & c={...}) Line 329	C++
       	Qt5Qmld.dll!QQmlApplicationEnginePrivate::cleanUp() Line 62	C++
       	Qt5Qmld.dll!QQmlApplicationEngine::~QQmlApplicationEngine() Line 241	C++
       	QtQuickCrash.exe!main(int argc=2, char * * argv=0x0000021ab8137ee0) Line 8	C++
       	[External Code]		
      

      The bug is reprodused only in debug build.

      Attachments

        1. QQuickItemCrash.zip
          1.0 kB
          Timur Artikov
        2. QQuickItemCrash-v2.zip
          2 kB
          Mitch Curtis

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              t.artikov Timur Artikov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes