<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Pulseaudio refuses connections from applications"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107206">107206</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Pulseaudio refuses connections from applications
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>daemon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lruzicka@redhat.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>Description of problem:
===========================
On Fedora 28 (updates-testing on) in Fluxbox, whenever the computer is freshly
started, pulseaudio refuses to connect applications which results in no sound
available. The daemon is running.
The journal reports the following:
====
Jul 09 12:52:10 platypus rtkit-daemon[1101]: Successfully made thread 2069 of
process 2069 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level
-11.
Jul 09 12:52:10 platypus pulseaudio[2069]: bind(): Address already in use
Jul 09 12:52:10 platypus pulseaudio[2069]: Failed to load module
"module-native-protocol-unix" (argument: ""): initialization failed.
Jul 09 12:52:10 platypus pulseaudio[2069]: Failed to register as a handsfree
audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.ofono was not provided by any .service files
Jul 09 12:52:10 platypus rtkit-daemon[1101]: Successfully made thread 2074 of
process 2074 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level
-11.
Jul 09 12:52:10 platypus pulseaudio[2074]: E: [pulseaudio] pid.c: Daemon
already running.
Jul 09 12:52:10 platypus pulseaudio[2074]: E: [pulseaudio] main.c:
pa_pid_file_create() failed.
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Main process
exited, code=exited, status=1/FAILURE
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Failed with result
'exit-code'.
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Service hold-off
time over, scheduling restart.
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Scheduled restart
job, restart counter is at 1.
Jul 09 12:52:10 platypus rtkit-daemon[1101]: Successfully made thread 2087 of
process 2087 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level
-11.
Jul 09 12:52:10 platypus pulseaudio[2087]: E: [pulseaudio] pid.c: Daemon
already running.
Jul 09 12:52:10 platypus pulseaudio[2087]: E: [pulseaudio] main.c:
pa_pid_file_create() failed.
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Main process
exited, code=exited, status=1/FAILURE
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Failed with result
'exit-code'.
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Service hold-off
time over, scheduling restart.
Jul 09 12:52:10 platypus systemd[1924]: pulseaudio.service: Scheduled restart
job, restart counter is at 2.
Jul 09 12:52:11 platypus rtkit-daemon[1101]: Successfully made thread 2090 of
process 2090 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level
-11.
Jul 09 12:52:11 platypus pulseaudio[2090]: E: [pulseaudio] pid.c: Daemon
already running.
Jul 09 12:52:11 platypus pulseaudio[2090]: E: [pulseaudio] main.c:
pa_pid_file_create() failed.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Main process
exited, code=exited, status=1/FAILURE
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Failed with result
'exit-code'.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Service hold-off
time over, scheduling restart.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Scheduled restart
job, restart counter is at 3.
Jul 09 12:52:11 platypus rtkit-daemon[1101]: Successfully made thread 2126 of
process 2126 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level
-11.
Jul 09 12:52:11 platypus pulseaudio[2126]: E: [pulseaudio] pid.c: Daemon
already running.
Jul 09 12:52:11 platypus pulseaudio[2126]: E: [pulseaudio] main.c:
pa_pid_file_create() failed.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Main process
exited, code=exited, status=1/FAILURE
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Failed with result
'exit-code'.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Service hold-off
time over, scheduling restart.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Scheduled restart
job, restart counter is at 4.
Jul 09 12:52:11 platypus rtkit-daemon[1101]: Successfully made thread 2166 of
process 2166 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level
-11.
Jul 09 12:52:11 platypus pulseaudio[2166]: E: [pulseaudio] pid.c: Daemon
already running.
Jul 09 12:52:11 platypus pulseaudio[2166]: E: [pulseaudio] main.c:
pa_pid_file_create() failed.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Main process
exited, code=exited, status=1/FAILURE
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Failed with result
'exit-code'.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Service hold-off
time over, scheduling restart.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Scheduled restart
job, restart counter is at 5.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Start request
repeated too quickly.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.service: Failed with result
'exit-code'.
Jul 09 12:52:11 platypus systemd[1924]: pulseaudio.socket: Failed with result
'service-start-limit-hit'.
====
When I start firefox in console mode and try to play a video with sound:
=====
[Child 2768, MediaPlayback #2] WARNING: 7f294cac47c0 OpenCubeb() failed to init
cubeb: file /builddir/build/BUILD/firefox-61.0/dom/media/AudioStream.cpp, line
390
[Child 2768, MediaPlayback #2] WARNING: Decoder=7f294c31a880
[OnMediaSinkAudioError]: file
/builddir/build/BUILD/firefox-61.0/dom/media/MediaDecoderStateMachine.cpp, line
3716
###!!! [Parent][DispatchAsyncMessage] Error: PClientSourceOp::Msg___delete__
Route error: message sent to unknown actor ID
=====
Mplayer reports this:
=====
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Connection refused
[AO_ALSA] Playback open error: Connection refused
Failed to initialize audio driver 'alsa'
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Connection refused
[AO_ALSA] Playback open error: Connection refused
AO: [pulse] Init failed: Connection refused
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Connection refused
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
=====
alsamixer:
====
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection
refused
cannot open mixer: Connection refused
====
pavucontrol:
====
Establishing connection to PulseAudio. Please wait.
====
Version-Release number of selected component (if applicable):
===============================================================
pulseaudio-12.0-3.fc28.x86_64
on Linux platypus 4.17.4-200.fc28.x86_64 #1 SMP Tue Jul 3 14:06:39 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
How reproducible:
===========================
Always
Steps to Reproduce:
===========================
1. Reboot the computer.
2. Log into a Fluxbox session.
3. Try to play songs.
Actual results:
===========================
Pulseaudio refuses connections.
Expected results:
Pulseaudio connects applications to the device and play sounds.
Additional info:
===========================
1. In Gnome shell, pulseaudio behaves correctly.
2. Running pulseaudio -k and pulseaudio -D solves the situation and pulseaudio
behaves correctly until next reboot.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>