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

QtQuick 2 Image - Memory leak in windows ANGLE builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.2.1
    • None
    • Reproduced on:
      Windows 7 64-bit running Qt 5.2.1 32-bit (ANGLE)
      Windows 8.1 64-bit running Qt 5.2.1 32-bit (ANGLE)

    Description

      When running qmlscene on the following QML on windows (ANGLE build only) the memory usage will continually rise as the window is resized and eventually errors will start being shown such as:

      QEGLPlatformContext::swapBuffers(): eglError: 12291, this: 0x3081b80
      

      (This will happen when resizing the window manually, the Timer is just to help show reproduction of issue)

      QML example requires an image in CWD. Any image appeared to work but I attached the one I was testing with anyways:

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      
      ApplicationWindow {
          id: aw
          visible: true
          title: "test"
          width: 640
          height: 420
      
          Image {
              anchors.fill: parent
              cache: false;
              fillMode: Image.PreserveAspectFit
              source: "dd.png"
              sourceSize.width: parent.width
              sourceSize.height: parent.height
          }
      
          Timer {
              interval: 50; running: true; repeat: true
              onTriggered: aw.height = aw.height%2 === 0 ? aw.height+1 : aw.height-1
          }
      
      }
      

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            toothrot herman toothrot
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes