Comment 0 for bug 502992

Revision history for this message
Iain Buclaw (iainb) wrote :

Binary package hint: pulseaudio

This bug regards this patch in pulseaudio:
http://git.0pointer.de/?p=pulseaudio.git;a=commitdiff;h=4f5e2b745ea357e2b5c815ff33a556505a7d1f18

The variable n_waiting_for_accept never gets properly initialised, and due to compiler optimisations has an initial value of ie: 1651076143, *not* 0.

So in the function pa_threaded_mainloop_signal() the condition while (m->n_waiting_for_accept > 0) will never be resolved as -
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://pulseaudio.org/ticket/738

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/controlC0: iain 2091 F.... pulseaudio
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
NonfreeKernelModules: nvidia
Package: pulseaudio 1:0.9.19-0ubuntu4
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-16-generic i686
XsessionErrors:
 (polkit-gnome-authentication-agent-1:2063): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (firefox:2734): GLib-WARNING **: g_set_prgname() called multiple times