[pulseaudio-tickets] [Bug 93109] New: Race condition involving module-x11-bell and socket activation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 25 14:12:56 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93109

            Bug ID: 93109
           Summary: Race condition involving module-x11-bell and socket
                    activation
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: modules
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: ewtoombs at uwaterloo.ca
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

To start with, this bug only happens when I load module-x11-bell.

I'm starting pulseaudio immediately so that it can handle X11 bell events
immediately. When socket activation is on, though, pulseaudio fails to start.
These are the first few error messages:

Nov 25 10:54:28 lazarus slim[433]: E: [pulseaudio] socket-server.c: bind():
Address already in use
Nov 25 10:54:28 lazarus slim[433]: E: [pulseaudio] module.c: Failed to load
module "module-native-protocol-unix" (argument: ""): initialization failed.
Nov 25 10:54:28 lazarus slim[433]: E: [pulseaudio] main.c: Module load failed.
Nov 25 10:54:28 lazarus systemd[471]: Starting Sound Service...
Nov 25 10:54:28 lazarus slim[433]: E: [pulseaudio] main.c: Failed to initialize
daemon.

This happens with slim and with startx. Delaying pulseaudio's start by about 2
seconds resolves the race condition for both. Disabling socket activation also
resolves the race condition:

mkdir -p ~/.config/systemd/user
systemctl --user mask pulseaudio.socket

I'll come back with the -vvvvv output.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20151125/167f795e/attachment.html>


More information about the pulseaudio-bugs mailing list