Bug 558656

Summary: pulseaudio must be deadlocked or spinning all available processor time
Product: [Fedora] Fedora Reporter: Patrick Bakker <fedora>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: lkundrak, lpoetter, stevel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-12 15:08:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrick Bakker 2010-01-25 22:34:52 UTC
Description of problem:

After working on my computer for a few hours things begin to slow down. The mouse cursor gets sluggish and eventually the keyboard typing slows down until the computer is perfectly non-responsive. It hasn't crashed as EVENTUALLY something happens... Control-Alt-Delete takes a few minutes to bring up the Suspend/Hibernate/Reboot/Shutdown dialog. Clicking on Reboot takes a minute or so to redraw itself and then warns that PulseAudio is not responding. If I tell it to continue anyway it eventually goes to the black shutdown screen listing all of the services it is stopping. It seems to hang on the generic message "Sending all processes the TERM signal?" (paraphrased).

Version-Release number of selected component (if applicable):

pulseaudio-0.9.21
kernel-2.6.31.12

quad-core Xeon E5506 2.13 GHz
12 GB RAM

asus p6t ws professional motherboard
built-in audio card (appears to be Intel HDA)



How reproducible:

Several times a day if I'm using the computer.

Steps to Reproduce:
1. Using the computer.
2. Attempted audio during this time includes firefox (ie. builtin video player), flash, rdesktop RDP remote-audio.

Started happening recently (a week or two ago?) when I started using my computer more heavily.

Comment 1 Lennart Poettering 2010-01-28 03:08:57 UTC
which version of the pa package is this? 0.9.21-2 or 0.9.21-4?

When this happens, how does pa show up in top? as a memory hogger?

If you do a "udevadm monitor" in a terminal, is there a lot of output generated? (normally it should just hang there, generating no output at all unless you plug/unplug some hw.

Comment 2 Lennart Poettering 2010-01-28 03:10:10 UTC
(the reason for my udev related questions is that my guess is that this is a duplicate of bug 552932)

Comment 3 Steve Longerbeam 2010-02-07 01:58:26 UTC
Hi Lennart,

This doesn't appear to be related to udev. I am seeing similar issues with thunderbird and skype playing audio using pulseaudio-0.9.21-4.fc12.

When Thunderbird attempts to play a .wav (for incoming email notification), the .wav plays for only ~1-2 seconds and then gets chopped off. This triggers pulseaudio to spin without sleeping (top shows pulseaudio at 100% CPU use). Thunderbird version is 3.0.1-1.

Similar chopped-off sounds and resultant PA spinning are produced from skype version 2.1.0.81 (which is configured to use PA server for audio output/input).

While all of this is happening, 'udevadm monitor' is completely quiet.

I tried reverting to PA 0.9.19-2.fc12, and that fixed PA from spinning at 100%
CPU usage when thunderbird/skype played an audio. But the chopped-off audio still exists.

My audio h/w is Intel ICH10 (snd_hda_intel).

Kernel is 2.6.31.12-174.2.3.fc12.x86_64.

Comment 4 Lennart Poettering 2010-02-12 15:08:59 UTC

*** This bug has been marked as a duplicate of bug 559467 ***