Red Hat Bugzilla – Bug 513451
PulseAudio does not play anything after a while
Last modified: 2009-07-24 20:28:48 EDT
Created attachment 354894 [details]
Description of problem:
This issue happens sometimes, most of the time all is OK.
So sometimes, When I listen to some sound file, the sound stops and the application (i.e. AUdacious or Exaile) continues to play as if nothing was wrong.
But the Gnome volume applet is not working anymore, pulseaudio is taking all available CPU.
I can run some other audio app and play some sound file, then the same happens to the new app.
Sometimes the app is not able to recover from that "sound stall" sometimes, the sound gets back, then off again.
It generates many logs in /var/log/messages.
The keyboard shortcuts volume up/down doesn't work anymore (the little bargraph window doesn't show up either) but the keys are working fine and sending the correct keyboard events.
A reboot of the machine fixes it all... until the next time which is generally several days later. (my computer is on every day I reboot or turn off my computer every night).
Version-Release number of selected component (if applicable):
~]$ rpm -qa | grep -i pulse
~]$ rpm -qa | grep -i alsa
~]$ uname -a
Linux laptop.local 188.8.131.52-213.fc11.i686.PAE #1 SMP Tue Jul 7 20:59:29 EDT 2009 i686 i686 i386 GNU/Linux
Well, it's kind of random... I can't find any reproductibility method.
It just happends sometimes.
Steps to Reproduce:
1. play some sound files with Audacious, or Exaile
2. wait for sound to stop (it can take take days to appear)
3. look at volume applet, /var/log/messages, top
I'm getting this kind of messages:
Jul 23 18:34:42 laptop pulseaudio: asyncq.c: q overrun, queuing locally
Jul 23 18:34:47 laptop pulseaudio: ratelimit.c: 8298 events suppressed
Jul 23 18:36:21 laptop pulseaudio: pid.c: Stale PID file, overwriting.
Jul 23 18:36:22 laptop pulseaudio: alsa-sink.c: Device hw:1 is modem, refusing further initialization.
Jul 23 18:36:22 laptop pulseaudio: alsa-source.c: Device hw:1 is modem, refusing further initialization.
Jul 23 18:36:27 laptop pulseaudio: alsa-sink.c: Increasing minimal latency to 26,00 ms
Jul 23 18:36:31 laptop pulseaudio: alsa-sink.c: Increasing wakeup watermark to 15,99 ms
Jul 23 18:36:31 laptop pulseaudio: alsa-util.c: snd_pcm_avail() returned a value that is exceptionally large: 4294963268 bytes (24347864 ms).
Jul 23 18:36:31 laptop pulseaudio: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Jul 23 18:36:31 laptop pulseaudio: alsa-util.c: snd_pcm_dump():
Sound must not stop. pulseaudio must not take 100%CPU and issue so much logs, applications must not crash because pulseaudio gets kind of unresponsive.
I'm not sure that this bug is already reported, I saw some bugs reports displaying nearly the same issue or errors, but they don't seem to be the same.
Created attachment 354895 [details]
Okay, in fact, after rebooting, this problem still occurs, I must power OFF completely, then power ON to get rid of this problem.
This problem seemes to arise with flash player (npviewer.bin) running at the moment PA crashes.
But it's only a supposition, as it may just be a coincidence.
~]$ rpm -qa | grep -i adobe
~]$ rpm -qa | grep -i flash
~]$ rpm -qa | grep -i firefox
OK, I've tested a bit more:
there is no link with flash player because this morning PA did malfunction everytime I played a sound
I rebooted and powered OFF/ON several times but everytime it malfunctioned
This is with kernel
Linux laptop.local 184.108.40.206-213.fc11.i686.PAE #1 SMP Tue Jul 7 20:59:29 EDT
2009 i686 i686 i386 GNU/Linux
I rebooted once more, choosing the preceding kernel
Linux laptop.local 220.127.116.11-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux
And everything is fine now.
So it must be something in the new kernel.
I can reproduce the error as well as solve the issue by boot F11 with kernel-18.104.22.168-191.fc11.i586 !
rpmquery -a | grep pulse
rpmquery -a | grep alsa
rpmquery -a | grep kernel
Kernel causing the problem:
All good when running:
Linux lietkynes 22.214.171.124-191.fc11.i586 #1 SMP Tue Jun 16 23:11:39 EDT 2009 i686 i686 i386 GNU/Linux
Jul 23 18:36:31 laptop pulseaudio: alsa-util.c: snd_pcm_avail() returned
a value that is exceptionally large: 4294963268 bytes (24347864 ms).
Yur sound driver is broken. This triggers CPU overload in PA so that it will terminate itself after a while.
*** This bug has been marked as a duplicate of bug 509054 ***