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

QML Canvas as source in Loader leaks video RAM under iOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Incomplete
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Component/s: Quick: Other
    • Labels:
      None
    • Environment:
      iOS 10.2.1, iPad Air 2, Qt 5.8 release
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      Running under iOS, it seems GPU memory is not released when Canvas is destroyed in 5.8. I have verified that the bug was introduced in 5.8 as the code does not crash in 5.7.1.

      Steps to reproduce:
      1) Compile and run the attached minimal example app on iPad Air 2 (or other real iOS device) with Qt 5.8 release
      2) Press "click me" 111 times (number of times probably depends on amount of RAM in device).
      3) OS will terminate app

        Attachments

        1. Crashy.pro
          1 kB
        2. main.cpp
          0.3 kB
        3. main.qml
          0.9 kB
        4. MainForm.ui.qml
          0.6 kB
        5. MyCanvas.qml
          1 kB
        6. qml.qrc
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              njahnke Nathan Jahnke
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes