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

[REG 6.2.2 - 6.2.3] Memory leak on MediaPlayer destruction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.3.0 Beta1, 6.4.0 Beta1
    • 6.2.3
    • Multimedia
    • None
    • Windows 10
    • Windows
    • 7fa8e78cc2 (qt/qtmultimedia/dev) fdc0ac42d6 (qt/qtmultimedia/6.3) 1233123d72 (qt/qtmultimedia/6.2) 1233123d72 (qt/tqtc-qtmultimedia/6.2)

    Description

      There is a huge memory leak (10-20MB) on each destruction of MediaPlayer.

      Regression from 6.2.2. Probably caused by this change https://codereview.qt-project.org/c/qt/qtmultimedia/+/386480 (I haven't tried to revert it locally and check, but this is most significant change in Windows media playback since 6.2.2).

      Attached simple example that reloads (via Loader) MediaPlayer each 1 sec. You need just run it and observe the process memory consumption in Process Explorer.

      Attachments

        Issue Links

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

          Activity

            People

              anrocha André De La Rocha (Inactive)
              studiosus Vladimir Belyavsky
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes