Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95356 - Patch fixes artsd using 100% CPU on AMD64 and should be applied on Gentoo
Summary: Patch fixes artsd using 100% CPU on AMD64 and should be applied on Gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Other
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://bugs.kde.org/show_bug.cgi?id=8...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-07 08:32 UTC by Jure Repinc
Modified: 2005-06-08 02:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2005-06-07 08:32:04 UTC
Many of us on AMD64 machines have problems with artsd often using 100% CPU. It
looks like this is a problem in arts. To quote Michal Schmidt:
"I have discovered that the problem is caused by an XRUN, which is not handled
correctly in arts. arts uses snd_pcm_avail_update to ask ALSA how many frames it
can write. However, when an XRUN occurs, snd_pcm_avail_update will return
-EPIPE. This condition is not handled in arts. I have attached a patch. With
this patch I can no more reproduce the bug."
I tried the patch and so did some other guy and it fixes our problems. So it
would be nice if you could add this patch to arts ebuild in Gentoo and maybe
bump a revision to get the fix installed by everyone.

Reproducible: Sometimes
Steps to Reproduce:
Comment 1 Jure Repinc 2005-06-07 08:33:08 UTC
Oh I forgot to mention. The patch is available here:
http://bugs.kde.org/attachment.cgi?id=11112&action=view
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-08 02:57:18 UTC
Applied in arts-3.4.1-r2. Thanks.