Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.1, 5.9.2
-
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
For Gerrit Dashboard: QTBUG-64407 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
213266,4 | Fix memory leak in QSoundEffect | 5.9 | qt/qtmultimedia | Status: MERGED | +2 | 0 |