arguments to dbus_message_set_destination() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed

Jephir jephir at jephir.name
Wed Jul 24 08:26:05 PDT 2013


Hi,

I'm trying to use D-Bus with PulseAudio. I first get the PulseAudio
server address:

$ dbus-send --print-reply --dest=org.PulseAudio1
/org/pulseaudio/server_lookup1 org.freedesktop.DBus.Properties.Get
string:'org.PulseAudio.ServerLookup1' string:'Address'
method return sender=:1.14 -> dest=:1.182 reply_serial=2
   variant       string "unix:path=/run/user/1000/pulse/dbus-socket"

I then try to introspect that address, but dbus-send gives an error:

$ dbus-send --dest=unix:path=/run/user/1000/pulse/dbus-socket
--print-reply /org/pulseaudio/core1
org.freedesktop.DBus.Introspectable.Introspect
process 21661: arguments to dbus_message_set_destination() were
incorrect, assertion "destination == NULL ||
_dbus_check_is_valid_bus_name (destination)" failed in file
dbus-message.c line 3354.
This is normally a bug in some application using the D-Bus library.
  /usr/local/lib/libdbus-1.so.3(+0x412aa) [0x7fb49543c2aa]
  /usr/local/lib/libdbus-1.so.3(+0x440b9) [0x7fb49543f0b9]
  /usr/local/lib/libdbus-1.so.3(+0x339e7) [0x7fb49542e9e7]
  /usr/local/lib/libdbus-1.so.3(dbus_message_set_destination+0x100)
  [0x7fb49541dea0]
  dbus-send(main+0x21c) [0x401afc]
  /lib64/libc.so.6(__libc_start_main+0xf5) [0x3a2a021b75]
  dbus-send() [0x40225d]

Is there something wrong that I'm doing here that is giving that error?

-- 
Jephir


More information about the dbus mailing list