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

Memory leak when using ListView, Canvas, and some Frames

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • Quick: Controls 2
    • None
    • - Arch Linux running kernel 5.13.13-hardened1-1-hardened
      - KDE Plasma 5.22.5
    • Linux/X11

    Description

      I've attached the required (pretty minimal) example to reproduce the bug.

      How to use:

      $ unzip bug_mem_leak.zip
      $ cd bug_mem_leak
      $ export QML2_IMPORT_PATH=$(pwd)
      $ qmlscene main.qml

      Make sure you're ready to `Ctrl-C` out of it as it fills up the memory real quick. 4GB RAM + 4GB swap in like 5 seconds!

      I've added multiple "helper" TODOs for what changes to make in order to get the bug to appear or disappear, just `grep -r 'TODO' .` for instructions.--

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            isho Isho Antar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes