Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301143 - Audacity CPU consumption rises steadily when it is not being used
Summary: Audacity CPU consumption rises steadily when it is not being used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 22:00 UTC by G. Náray
Modified: 2010-01-19 01:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to wxGTK to fix the leaking of timer handles when the application is not active (wxGTK-2.8.10.1-fix-timer-leak.patch,1.42 KB, patch)
2010-01-18 21:24 UTC, Richard Ash
Details | Diff
Patch to the ebuild for wxGTK 2.8.10.1 to apply the required fix (wxGTK-2.8.10.1-r4.patch,413 bytes, patch)
2010-01-18 21:25 UTC, Richard Ash
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description G. Náray 2010-01-15 22:00:27 UTC
Audacity CPU consumption rises steadily when it is not being used

Reproducible: Always

Steps to Reproduce:
If an Audacity window is left open and not being used (so it does not have focus) then it's CPU usage will slowly rise until (if left long enough) it uses all the available CPU.

Actual Results:  
Audacity uses all the available CPU after a while.

Expected Results:  
Audacity should not use all the available CPU when idling.

This is a bug described on webpage of Audacity. For more details, see:
http://wiki.audacityteam.org/wiki/Known_Issues
It is worth mentioning that the solution and patch for this problem is also found there. To be sure, here is the URL of patch (for wxGTK):
http://trac.wxwidgets.org/changeset/62397?format=diff&new=62397
Comment 1 Richard Ash 2010-01-15 22:19:02 UTC
To clarify, the leakage occurs in wxGTK and affects other applications (including all wxPython ones), fixing it needs the patch applying to wxGTK-2.8.10.1 and and ebuild version bump. Audacity (all beta versions) should then start behaving itself.

So this is a wxGTK bug in the 2.8.10.1-r* ebuilds, not an Audacity one.
Comment 2 Richard Ash 2010-01-18 21:24:50 UTC
Created attachment 216839 [details, diff]
Patch to wxGTK to fix the leaking of timer handles when the application is not active

This is the upstream patch ...
Comment 3 Richard Ash 2010-01-18 21:25:44 UTC
Created attachment 216841 [details, diff]
Patch to the ebuild for wxGTK 2.8.10.1 to apply the required fix

... and this is the patch to the ebuild so that the patch gets applied.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2010-01-19 01:22:44 UTC
Thanks, fixed in -r4.