Bug 128574 - arts 3.5.x memory usage increases each time an ogg or mp3 is played
Bug#: 128574 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: matthew4196@gmail.com
Component: KDE
URL: 
Summary: arts 3.5.x memory usage increases each time an ogg or mp3 is played
Keywords:  
Status Whiteboard: 
Opened: 2006-04-02 15:10 0000
Description:   Opened: 2006-04-02 15:10 0000
arts 3.5.x series doesn't free all the memory it's using after playing a sound
file that uses the akode plugin such as ogg or mp3 files.  Since KDE uses ogg
files for sound notifications artsd's memory usage can increase quite a lot
after a few days of using KDE.

To quickly test this bug hold down backspace for a few seconds in Konsole. 
When all the sounds stop playing artsd's memory usage will be higher then it
was before.

Here is the KDE bug report: http://bugs.kde.org/show_bug.cgi?id=118291

I have attached the patch which fixes this memory leak as well as patches for
the artsplugin-akode and kdemultimedia 3.5.2 ebuilds.

------- Comment #1 From Matthew Stapleton 2006-04-02 15:12:15 0000 -------
Created an attachment (id=83766) [details]
kdemultimedia_akode_fix_memory_leak.patch

Patch to kdemultimedia to fix the artsd memory leak.

------- Comment #2 From Matthew Stapleton 2006-04-02 15:13:04 0000 -------
Created an attachment (id=83767) [details]
artsplugin-akode-3.5.2.ebuild.patch

------- Comment #3 From Matthew Stapleton 2006-04-02 15:13:27 0000 -------
Created an attachment (id=83768) [details]
kdemultimedia-3.5.2.ebuild.patch

------- Comment #4 From Carsten Lohrke 2006-04-02 16:09:26 0000 -------
Matthew: I'm sure you meant another upstream bug.


herd: anyone still using aRts? I can apply and let our users test, but can't
myself.

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2006-04-02 16:21:06 0000 -------
I should have changed the bug status, I'm working on it :)

------- Comment #6 From Matthew Stapleton 2006-04-02 17:00:26 0000 -------
Here is the correct upstream bug link:
http://bugs.kde.org/show_bug.cgi?id=119504

------- Comment #7 From Diego E. 'Flameeyes' Pettenò 2006-04-02 17:05:13 0000 -------
Thanks for reporting, applied, tried and committed :)

------- Comment #8 From Matthew Stapleton 2006-06-11 17:44:00 0000 -------
Reopening for KDE 3.5.3

------- Comment #9 From Carsten Lohrke 2006-06-12 12:26:33 0000 -------
Uh, thanks Matthew. Included in my patch set for the next revision bump.

------- Comment #10 From Carsten Lohrke 2006-06-14 17:49:12 0000 -------
new revisons in cvs.