Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128574

Summary: arts 3.5.x memory usage increases each time an ogg or mp3 is played
Product: Gentoo Linux Reporter: Matthew Stapleton <matthew4196>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kdemultimedia_akode_fix_memory_leak.patch
artsplugin-akode-3.5.2.ebuild.patch
kdemultimedia-3.5.2.ebuild.patch

Description Matthew Stapleton 2006-04-02 15:10:13 UTC
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 Matthew Stapleton 2006-04-02 15:12:15 UTC
Created attachment 83766 [details, diff]
kdemultimedia_akode_fix_memory_leak.patch

Patch to kdemultimedia to fix the artsd memory leak.
Comment 2 Matthew Stapleton 2006-04-02 15:13:04 UTC
Created attachment 83767 [details, diff]
artsplugin-akode-3.5.2.ebuild.patch
Comment 3 Matthew Stapleton 2006-04-02 15:13:27 UTC
Created attachment 83768 [details, diff]
kdemultimedia-3.5.2.ebuild.patch
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-02 16:09:26 UTC
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 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-02 16:21:06 UTC
I should have changed the bug status, I'm working on it :)
Comment 6 Matthew Stapleton 2006-04-02 17:00:26 UTC
Here is the correct upstream bug link: http://bugs.kde.org/show_bug.cgi?id=119504
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-02 17:05:13 UTC
Thanks for reporting, applied, tried and committed :)
Comment 8 Matthew Stapleton 2006-06-11 17:44:00 UTC
Reopening for KDE 3.5.3
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-06-12 12:26:33 UTC
Uh, thanks Matthew. Included in my patch set for the next revision bump.
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2006-06-14 17:49:12 UTC
new revisons in cvs.