Inappropriate error message when attempting to execute daemon while another daemon process is running

Bug #444400 reported by Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„ on 2009-10-06
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
PulseAudio
Won't Fix
Unknown
pulseaudio (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: pulseaudio

alan@wopr64:~/iso$ pulseaudio
W: main.c: D-Bus name org.pulseaudio.Server already taken. Weird shit!

Lacks a touch of professionalism, that error message.

ProblemType: Bug
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alan 2959 F.... pulseaudio
 /dev/snd/pcmC0D0p: alan 2959 F...m pulseaudio
 /dev/snd/controlC1: alan 2959 F.... pulseaudio
                      alan 11928 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'XFi'/'Creative X-Fi 20K1 Unknown'
   Mixer name : '20K1'
   Components : ''
   Controls : 30
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'Headset'/'Plantronics Plantronics Headset at usb-0000:00:0b.0-3, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB047f:0ca1'
   Controls : 8
   Simple ctrls : 6
Date: Tue Oct 6 10:37:08 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: pulseaudio 1:0.9.18-0ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-11-generic x86_64

Dave Walker (davewalker) wrote :

    if (dbus_error_is_set(&error))
        pa_log_warn("Failed to acquire org.pulseaudio.Server: %s: %s", error.name, error.message);
    else
        pa_log_warn("D-Bus name org.pulseaudio.Server already taken. Weird shit!");

    /* PA cannot be started twice by the same user and hence we can
     * ignore mostly the case that org.pulseaudio.Server is already
     * taken. */

Marking as confirmed.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Changed in pulseaudio:
status: Unknown → New
Daniel T Chen (crimsun) wrote :

(The irony of putting such an "inappropriate" error message in the bug title is not lost on me.)

Right, pretty straightforward to patch out. Anyhow, we need to be cognizant of string freeze here...

Changed in pulseaudio (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
summary: - "Weird shit!" in error message inappropriate
+ Inappropriate error message when attempting to execute daemon while
+ another daemon process is running
Changed in pulseaudio:
status: New → Won't Fix
Daniel T Chen (crimsun) on 2011-07-13
Changed in pulseaudio (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:0.99.1-0ubuntu1

---------------
pulseaudio (1:0.99.1-0ubuntu1) oneiric; urgency=low

  [ Daniel T Chen ]
  * 0017-Make-dbus-error-more-polite.patch: Remove language that doesn't
    add anything to the error message (LP: #444400).

  [ David Henningsson ]
  * New upstream release, remaining patches:
  * Add build dependency on libjson0-dev
  * Dropped patches (implemented upstream):
    0001-Work-around-some-platforms-not-having-O_CLOEXEC.patch
    0009-lp533877-handle-digmic.patch
    0015-alsa-mixer-Add-workaround-for-some-USB-headsets.patch
    0200-gold.patch
    0201-alsa-mixer-Add-a-few-well-known-descriptions.patch
    0202-alsa-mixer-add-required-any-and-required-for-enum-op.patch
    0203-alsa-mixer-always-round-towards-0-dB.patch
    0204-alsa-mixer-Add-new-paths-for-Internal-Mic-Front-Mic-.patch
    0205-alsa-mixer-Fixup-Mic-Line-analog-input-paths-to-work.patch
    0206-alsa-mixer-Make-sure-capture-source-and-input-source.patch
    0207-PulseAudio-added-IT-block-to-fix-thumb-conditional-i.patch
    0208-alsa-sink-Fix-incorrect-work_done-value-to-prevent-expensive-update...
    _smoother-calls.patch
    0209-sndfile-pacat-Use-file-extension-and-fix-format-from-string.patch
  * Refreshed patches:
    0005-dont-load-cork-music-on-phone.patch
    0012-JACK-Load-module-jackdbus-detect-in-default.pa.patch
    0013-Load-RAOP-Zeroconf-by-default.patch
    0014-alsa-mixer-Add-separate-profile-for-Nvidia.patch
    0017-Make-dbus-error-more-polite.patch
  * Upstream has removed libpulsebrowse, replace with dummy packages for the
    time being.
  * Updated shlibs files and debian/rules with new version number
  * Add new modules to the pulseaudio package
  * Initial pulseaudio support for jack detection

  [ Luke Yelavich ]
  * debian/control: Remove the libpulse-browse0 package, and add set
    pulseaudio to replace that package until after the next LTS
  * Add symbols files for libpulse0 and libpulse-mainloop-glib0 and adjust
    other shlibs files as necessary
 -- Luke Yelavich <email address hidden> Thu, 11 Aug 2011 14:30:44 +1000

Changed in pulseaudio (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.