Bug#763524: socket-server.c: bind(): Address already in use

Felipe Sateler fsateler at debian.org
Sat Oct 4 16:11:59 UTC 2014


Hi Vincent

On Tue, Sep 30, 2014 at 2:10 PM, Vincent Lefevre <vincent at vinc17.net> wrote:
> Package: pulseaudio
> Version: 5.0-6
> Severity: normal
>
> After an upgrade of some packages last night, logging out and logging
> in again, I got the following error in /var/log/syslog:
>
> [...]
> Sep 30 02:13:50 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:50 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:50 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:50 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:50 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:51 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:51 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:51 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:51 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:51 xvii rtkit-daemon[4326]: Supervising 3 threads of 1 processes of 1 users.
> Sep 30 02:13:51 xvii pulseaudio[17140]: [pulseaudio] socket-server.c: bind(): Address already in use
> Sep 30 02:13:51 xvii pulseaudio[17140]: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
> Sep 30 02:13:51 xvii pulseaudio[17140]: [pulseaudio] main.c: Module load failed.
> Sep 30 02:13:51 xvii pulseaudio[17140]: [pulseaudio] main.c: Failed to initialize daemon.
> Sep 30 02:13:51 xvii pulseaudio[17115]: [pulseaudio] main.c: Daemon startup failed.
> [...]
>
> and the same error several times today. VLC could no longer work.
>
> There was a suspicious old pulseaudio process running. I killed it,
> logged out and logged in again. This solved the problem, but this
> problem shouldn't have been there in the first place.

Indeed, it shouldn't: pulseaudio checks for other running pulse
process before trying to start up, and exits in that case.

Did the upgrades by any chance happen to include systemd? pulseaudio
relies on XDG_RUNTIME_DIR, and some systemd upgrades (depends on exact
versions, I htink) mounted a new tmpfs on /run/user/<uid>. This could
have masked the old pulseaudio pid dir, and thus became invisible.

-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list