← Back to team overview

desktop-packages team mailing list archive

[Bug 1537202] [NEW] pulseaudio, running as user lightdm, starts and crashes in a loop, endlessly

 

Public bug reported:

During the start-crash loop, syslog gets this block added about once per
second:

-------
Jan 22 14:47:14 vulcan rtkit-daemon[2274]: Successfully made thread 29983 of process 29983 (n/a) owned by '104' high priority at nice level -11.
Jan 22 14:47:14 vulcan rtkit-daemon[2274]: Supervising 4 threads of 2 processes of 2 users.
Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] authkey.c: Failed to open cookie file '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] authkey.c: Failed to load authorization key '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] x11wrap.c: XOpenDisplay() failed
Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] module.c: Failed to load module "module-x11-bell" (argument: "sample=x11-bell"): initialization failed.
Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] main.c: Module load failed.
Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] main.c: Failed to initialize daemon.
Jan 22 14:47:14 vulcan pulseaudio[29980]: [pulseaudio] main.c: Daemon startup failed.
--------

Editing /etc/pulse/default.pa and commenting out this line:

load-module module-x11-bell sample=x11-bell

...then saving the file, counting to 2 and then uncommenting it again to
back out the change, allows the process to stop bouncing.

The final entry in syslog after the above steps looks like this:

-----
Jan 22 14:47:16 vulcan pulseaudio[29986]: [pulseaudio] authkey.c: Failed to open cookie file '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
Jan 22 14:47:16 vulcan pulseaudio[29986]: [pulseaudio] authkey.c: Failed to load authorization key '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
Jan 22 14:47:16 vulcan pulseaudio[29986]: [pulseaudio] client-conf-x11.c: xcb_connection_has_error() returned true
Jan 22 14:47:16 vulcan rtkit-daemon[2274]: Successfully made thread 29989 of process 29989 (n/a) owned by '104' high priority at nice level -11.
Jan 22 14:47:16 vulcan rtkit-daemon[2274]: Supervising 4 threads of 2 processes of 2 users.
Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] authkey.c: Failed to open cookie file '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] authkey.c: Failed to load authorization key '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-UV3detc9PI: Connection refused
Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-UV3detc9PI: Connection refused
-----

Note: I checked on IRC with #pulseaudio and the users that assisted me
there were of the opinion that this is a lightdm bug and not a
pulseaudio bug.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pulseaudio 1:4.0-0ubuntu11.1
ProcVersionSignature: Ubuntu 3.13.0-76.120-generic 3.13.11-ckt30
Uname: Linux 3.13.0-76-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  bgardner  20779 F.... pulseaudio
 /dev/snd/seq:        timidity   2133 F.... timidity
Date: Fri Jan 22 14:47:43 2016
ExecutablePath: /usr/bin/pulseaudio
InstallationDate: Installed on 2012-04-26 (1366 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
 PATH=(custom, no user)
 LC_TIME=en_DK.UTF-8
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/false
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to trusty on 2014-07-22 (549 days ago)
dmi.bios.date: 05/16/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.5
dmi.board.asset.tag: Tag 12345
dmi.board.name: Gazelle Professional
dmi.board.vendor: System76, Inc.
dmi.board.version: gazp7
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd05/16/2012:svnSystem76,Inc.:pnGazelleProfessional:pvrgazp7:rvnSystem76,Inc.:rnGazelleProfessional:rvrgazp7:cvnNoEnclosure:ct9:cvrN/A:
dmi.product.name: Gazelle Professional
dmi.product.version: gazp7
dmi.sys.vendor: System76, Inc.
modified.conffile..etc.pulse.default.pa: [modified]
mtime.conffile..etc.pulse.default.pa: 2016-01-22T14:47:18.861601

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1537202

Title:
  pulseaudio, running as user lightdm, starts and crashes in a loop,
  endlessly

Status in pulseaudio package in Ubuntu:
  New

Bug description:
  During the start-crash loop, syslog gets this block added about once
  per second:

  -------
  Jan 22 14:47:14 vulcan rtkit-daemon[2274]: Successfully made thread 29983 of process 29983 (n/a) owned by '104' high priority at nice level -11.
  Jan 22 14:47:14 vulcan rtkit-daemon[2274]: Supervising 4 threads of 2 processes of 2 users.
  Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] authkey.c: Failed to open cookie file '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
  Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] authkey.c: Failed to load authorization key '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
  Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] x11wrap.c: XOpenDisplay() failed
  Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] module.c: Failed to load module "module-x11-bell" (argument: "sample=x11-bell"): initialization failed.
  Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] main.c: Module load failed.
  Jan 22 14:47:14 vulcan pulseaudio[29983]: [pulseaudio] main.c: Failed to initialize daemon.
  Jan 22 14:47:14 vulcan pulseaudio[29980]: [pulseaudio] main.c: Daemon startup failed.
  --------

  Editing /etc/pulse/default.pa and commenting out this line:

  load-module module-x11-bell sample=x11-bell

  ...then saving the file, counting to 2 and then uncommenting it again
  to back out the change, allows the process to stop bouncing.

  The final entry in syslog after the above steps looks like this:

  -----
  Jan 22 14:47:16 vulcan pulseaudio[29986]: [pulseaudio] authkey.c: Failed to open cookie file '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
  Jan 22 14:47:16 vulcan pulseaudio[29986]: [pulseaudio] authkey.c: Failed to load authorization key '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
  Jan 22 14:47:16 vulcan pulseaudio[29986]: [pulseaudio] client-conf-x11.c: xcb_connection_has_error() returned true
  Jan 22 14:47:16 vulcan rtkit-daemon[2274]: Successfully made thread 29989 of process 29989 (n/a) owned by '104' high priority at nice level -11.
  Jan 22 14:47:16 vulcan rtkit-daemon[2274]: Supervising 4 threads of 2 processes of 2 users.
  Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] authkey.c: Failed to open cookie file '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
  Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] authkey.c: Failed to load authorization key '/var/lib/lightdm/.config/pulse/cookie': No such file or directory
  Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-UV3detc9PI: Connection refused
  Jan 22 14:47:16 vulcan pulseaudio[29989]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-UV3detc9PI: Connection refused
  -----

  Note: I checked on IRC with #pulseaudio and the users that assisted me
  there were of the opinion that this is a lightdm bug and not a
  pulseaudio bug.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: pulseaudio 1:4.0-0ubuntu11.1
  ProcVersionSignature: Ubuntu 3.13.0-76.120-generic 3.13.11-ckt30
  Uname: Linux 3.13.0-76-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  bgardner  20779 F.... pulseaudio
   /dev/snd/seq:        timidity   2133 F.... timidity
  Date: Fri Jan 22 14:47:43 2016
  ExecutablePath: /usr/bin/pulseaudio
  InstallationDate: Installed on 2012-04-26 (1366 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  ProcEnviron:
   PATH=(custom, no user)
   LC_TIME=en_DK.UTF-8
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/false
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  SourcePackage: pulseaudio
  UpgradeStatus: Upgraded to trusty on 2014-07-22 (549 days ago)
  dmi.bios.date: 05/16/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.5
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: Gazelle Professional
  dmi.board.vendor: System76, Inc.
  dmi.board.version: gazp7
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: No Enclosure
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd05/16/2012:svnSystem76,Inc.:pnGazelleProfessional:pvrgazp7:rvnSystem76,Inc.:rnGazelleProfessional:rvrgazp7:cvnNoEnclosure:ct9:cvrN/A:
  dmi.product.name: Gazelle Professional
  dmi.product.version: gazp7
  dmi.sys.vendor: System76, Inc.
  modified.conffile..etc.pulse.default.pa: [modified]
  mtime.conffile..etc.pulse.default.pa: 2016-01-22T14:47:18.861601

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1537202/+subscriptions