<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>95356</bug_id>
          
          <creation_ts>2005-06-07 08:32 0000</creation_ts>
          <short_desc>Patch fixes artsd using 100% CPU on AMD64 and should be applied on Gentoo</short_desc>
          <delta_ts>2005-06-08 02:57:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>KDE</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugs.kde.org/show_bug.cgi?id=88474</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jlp.bugs@gmail.com</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jlp.bugs@gmail.com</who>
            <bug_when>2005-06-07 08:32:04 0000</bug_when>
            <thetext>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:
&quot;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.&quot;
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:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlp.bugs@gmail.com</who>
            <bug_when>2005-06-07 08:33:08 0000</bug_when>
            <thetext>Oh I forgot to mention. The patch is available here:
http://bugs.kde.org/attachment.cgi?id=11112&amp;action=view</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>greg_g@gentoo.org</who>
            <bug_when>2005-06-08 02:57:18 0000</bug_when>
            <thetext>Applied in arts-3.4.1-r2. Thanks. </thetext>
          </long_desc>
      
    </bug>

</bugzilla>