pa_threaded_mainloop_signal() deadlocks in while condition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Undecided
|
Iain Buclaw |
Bug Description
Binary package hint: pulseaudio
This bug regards this patch in pulseaudio:
http://
The variable n_waiting_
So in the function pa_threaded_
1) Pulse Audio is waiting for 1651076143 accepts before continuing. and -
2) The Application/Library has sent an accept, but is still waiting for Pulse Audio to respond before it continues.
This patch seemed to be an attempt to resolve it, but bug still persists:
http://
ProblemType: Bug
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'AudioPCI'/'Ensoniq AudioPCI ENS1371 at 0xb800, irq 18'
Mixer name : 'Cirrus Logic CS4297A rev 3'
Components : 'AC97a:43525913'
Controls : 36
Simple ctrls : 22
Date: Mon Jan 4 15:12:33 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: pulseaudio 1:0.9.19-0ubuntu4
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: pulseaudio
Uname: Linux 2.6.31-16-generic i686
XsessionErrors:
(polkit-
(firefox:2734): GLib-WARNING **: g_set_prgname() called multiple times
Related branches
- Luke Yelavich: Pending requested
Changed in pulseaudio (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
This mostly affects games using the libopenal1 library, and is likely to occur either:
1) When the sound initialises. or -
2) When the sound deinitialises.
But will likely affect any other application that uses Pulse Audio's threaded mainloop library.
Attached is a strace of running Alien Arena 7.33
Note the bottom:
open("/ dev/urandom" , O_RDONLY| O_NOCTTY| O_LARGEFILE) = 7 dev/shm/ pulse-shm- 2938136297" , O_RDWR| O_CREAT| O_EXCL| O_NOFOLLOW| O_CLOEXEC, 0400) = 7 PROT_WRITE, MAP_SHARED, 7, 0) = 0xb36e6000
read(7, "\351f \257", 4) = 4
close(7) = 0
open("/
ftruncate64(7, 67108904) = 0
mmap2(NULL, 67112960, PROT_READ|
close(7) = 0
futex(0xdf7c124, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>