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

Details

    • Bug
    • Resolution: Unresolved
    • 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

    Description

      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.

      Attachments

        1. FiC_logo.mng
          567 kB
        2. logo6.mng
          567 kB
        3. memleak.qml
          0.4 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: