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

MinGW/Windows/32bit: When adding a lot of tabs hosting a QQuickWidget/View then it can run out of resources depending on the system

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.9.4, 5.11.0
    • Quick: Widget
    • Windows 7, MinGW 32bit build

    Description

      When adding a lot of tabs hosting a QQuickWidget then it can run out of resources depending on the system. This happens even if QQuickWindow::setSceneGraphPersistent(false) and QQuickWindow::setPersistentOpenGLContext(false) is used on the window inside the QQuickWidget. Therefore it indicates that there is something not being cleaned up correctly.

      Steps to reproduce:

      • Launch app
      • Add a few tabs
      • After approx 7 tabs, crashes start to show (CreateDIBSection fails, failures to launch threads)
      • If it has not crashed yet: maximize the window

      With MinGW 7.3/32bit (debug):

      qrc:/main.qml:2:1: plugin cannot be loaded for module "QtQuick.Controls": Cannot load library . ..\qml\QtQuick\Controls.2\qtquickcontrols2plugind.dll: Not enough memory resources are available to process this command.
      

      Attachments

        1. qtbug66292_diag.diff
          0.8 kB
        2. qtbug66292.tar.gz
          4 kB
        3. qtbug66292.zip
          10 kB

        Issue Links

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

          Activity

            People

              tvete Paul Olav Tvete
              andysh Andy Shaw
              Votes:
              6 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes