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

QSoundEffect memory usage over time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.4
    • 5.7.1, 5.9.2
    • Multimedia
    • None
    • CentOS 7 with kernel 4.4.60 RT PREEMPT built from kernel.org

    Description

      qtbug64407_QSoundEffect-leak.tar.gz

      A QSoundEffect initialized on the heap and loaded with a wav file, but never played, can slowly allocate memory without freeing the corresponding memory.

      This issue can be observed in the long term. In run times as short as 5 minutes, the memory requested may be less than what the operating system has allocated to the process. A detailed observation can be made with massif.

      $ valgrind --tool=massif --time-unit=ms ./sound-effect-leak
      

      Attachment includes massif.out, ms_print output, sample wav, main.cpp, .pro file

       

       

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            robcreamer Rob Creamer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes