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

QQuickVisualDataModel leaves does not clean up fully in it's destructor.

    XMLWordPrintable

Details

    Description

      In the destructor for the QQuickVisualDataModel when it's processing cacheItems, if the cacheItem is referenced and has an outstanding incubatorTask then there is the potential to leave a pointer to the QQuickVisualDataModel which is being destroyed in the QVDMIncubationTask (member variable 'vdm'). The incubationTask should probably be released in this case anyway.

      This problem is tied in with another problem where a QQmlIncubator is incubating an object which has an invalid context. When the incubator attempts to execute vme.execute(&errors) in QQmlIncubatorPrivate::incubate(QQmlVME::Interrupt &i) the QQmlVMD::execute() method attempts to use an invalid context which asserts and this error would need to be propagated back up into the QQmlIncubatorPrivate::incubate() method.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            robertd Robert Daniels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes