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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to