Bug 494038

Summary: Assertion 'pa_asyncq_push(...) == 0' failed
Product: [Fedora] Fedora Reporter: Robert Story <rs>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: lkundrak, lpoetter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 479761 Environment:
Last Closed: 2009-04-23 22:30:01 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 Robert Story 2009-04-03 20:00:20 UTC
+++ This bug was initially created as a clone of Bug #479761 +++

Description of problem:

From /var/log/messages:

Apr  3 10:45:16 g2 pulseaudio[29080]: protocol-native.c: Failed to push data into queue
Apr  3 10:45:16 g2 pulseaudio[29080]: asyncq.c: q overrun, queuing locally
[Both of the above messages were repeated, lots of times...]
Apr  3 10:45:16 g2 pulseaudio[29080]: asyncmsgq.c: Assertion 'pa_asyncq_push(a->asyncq, &i, TRUE) == 0' failed at pulsecore/asyncmsgq.c:164, function pa_asyncmsgq_send(). Aborting.


Version-Release number of selected component (if applicable):
# egrep "(pulse|kernel)" /var/log/rpmpkgs
alsa-plugins-pulseaudio-1.0.18-2.fc10.i386.rpm
kde-settings-pulseaudio-4.1-6.20090206svn.fc10.noarch.rpm
kernel-2.6.27.19-170.2.35.fc10.i686.rpm
kernel-PAE-2.6.27.19-170.2.35.fc10.i686.rpm
kernel-firmware-2.6.27.19-170.2.35.fc10.noarch.rpm
pulseaudio-0.9.14-1.fc10.i386.rpm
pulseaudio-core-libs-0.9.14-1.fc10.i386.rpm
pulseaudio-esound-compat-0.9.14-1.fc10.i386.rpm
pulseaudio-libs-0.9.14-1.fc10.i386.rpm
pulseaudio-libs-glib2-0.9.14-1.fc10.i386.rpm
pulseaudio-module-gconf-0.9.14-1.fc10.i386.rpm
pulseaudio-module-x11-0.9.14-1.fc10.i386.rpm
pulseaudio-utils-0.9.14-1.fc10.i386.rpm
xine-lib-pulseaudio-1.1.16.2-3.fc10.i386.rpm

Unlike the OP, my machine doesn't lock up. I have 3 sound sources on my machine:
1) banshee, playing mp3s
2) pidgin
3) scripts that use aplay

banshee continues working, but i'll notices that pidgin sounds and scripts using aplay aren't playing sounds. ps shows that pulseaudio is not running. If I try to restart it:

Apr  3 14:25:09 g2 pulseaudio[7035]: pid.c: Stale PID file, overwriting.
Apr  3 14:25:09 g2 pulseaudio[7035]: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
Apr  3 14:25:09 g2 pulseaudio[7035]: module.c: Failed to load  module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0 tsched=1"): initialization failed.


lspci -vv for sound card:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
        Subsystem: ASUSTeK Computer Inc. Device 13c4
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at febf8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [130] Root Complex Link <?>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

Comment 1 Lennart Poettering 2009-04-23 22:30:01 UTC
This is fixed for F11.