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

Use of MNG with a LOOP block causes memory leak in AnimatedImage QML element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 4.7.3, 4.8.0, 5.6.2, 5.8.0, 5.11.2
    • Image formats
    • None
    • Windows 7 64bit with Qt 4.7.3 (MSVC2008), QtQuick 1.0
      Windows 7 64bit with Qt 4.8.0 (MSVC2008), QtQuick 1.1

      If a MNG file created in 'PNG MNG ConstructionSet' (http://www.mindworkshop.com/pngpro.html) contains a LOOP block (logo6.mng) and is used in a AnimatedImage QML, the resulting application will leak memory at the end of each loop iteration. If however, the MNG file uses the TERM block, which loops at the end of the iteration (see FiC_logo.mng), then the leak is avoided.

        1. FiC_logo.mng
          567 kB
        2. logo6.mng
          567 kB
        3. memleak.qml
          0.4 kB
        For Gerrit Dashboard: QTBUG-24869
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            dhellier David Hellier
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change