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

Review and fix management of lifetime for core animation instances

    XMLWordPrintable

Details

    Description

      Since Qt 5.0 there have been a number of commits fixing crashes in the internal QML animation classes (those in src/qml/animation):

      These fixes generally consist of wrapping function calls that are somehow "accessible" to QML with RETURN_IF_DELETED. There are likely further instances where crashes are possible. The code should be reviewed, and:

      • all applicable function calls be wrapped with RETURN_IF_DELETED (and RETURN_IF_DELETED possibly optimized?), or
      • a new strategy for lifetime management used (so these classes are never deleted in a way that could crash; e.g. something like deleteLater?)

      Attachments

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

        Activity

          People

            mbrasser Michael Brasser
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes