#3 whiteboardd and sib-tcp fail with dbus assertion error

closed
nobody
None
5
2009-10-20
2009-10-19
Anonymous
No

Linux version 2.6.30.5-43.fc11.x86_64 (mockbuild@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC) ) #1 SMP Thu Aug 27 21:39:52 EDT 2009

Smart-M3 0.9.1 beta

When I try to run whiteboardd or sib-tcp, they both fail with dbus assertion error.

When everything is compiled with default options, they print the following messages:

$ whiteboardd
process 6864: arguments to dbus_server_set_new_connection_function() were incorrect, assertion "server != NULL" failed in file dbus-server.c line 865.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

$ sib-tcp
process 6869: arguments to dbus_connection_set_exit_on_disconnect() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2956.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

Everything compiled with --with-debug=yes option:

$ whiteboardd
** (process:8428): DEBUG: main() BEGIN

** (process:8428): DEBUG: main.c: main() (line 102): Creating dbus handler.

** (process:8428): DEBUG: dbushandler_new() BEGIN

** (process:8428): DEBUG: dbushandler_initialize() BEGIN

** ERROR **: Could not get session bus.

aborting...
Aborted

$ sib-tcp
** (process:8431): DEBUG: create_control_idle() BEGIN

** (process:8431): DEBUG: create_control() BEGIN

** (process:8431): DEBUG: sib_object_get_type() BEGIN

** (process:8431): DEBUG: sib_object_get_type() END

** (process:8431): DEBUG: sib_object_new() BEGIN

** (process:8431): DEBUG: sib_object_get_type() BEGIN

** (process:8431): DEBUG: sib_object_get_type() END

** (process:8431): DEBUG: sib_object_get_type() BEGIN

** (process:8431): DEBUG: sib_object_get_type() END

** (process:8431): DEBUG: sib_object_get_type() BEGIN

** (process:8431): DEBUG: sib_object_get_type() END

** (process:8431): DEBUG: sib_object_get_type() BEGIN

** (process:8431): DEBUG: sib_object_get_type() END

** (process:8431): DEBUG: Attempting to register control channel with Sib.

** (process:8431): DEBUG: sib_object_register_control() BEGIN

** (process:8431): DEBUG: Attempting to register control channel with Sib Daemon.

** (process:8431): DEBUG: whiteboard_util_register_sib_try() BEGIN

** (process:8431): DEBUG: whiteboard_util_discover_sib() BEGIN

process 8431: arguments to dbus_connection_set_exit_on_disconnect() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2956.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

Discussion

  • Hannu Laine
    Hannu Laine
    2009-10-20

    whiteboardd and sibd use D-Bus session bus to discover address for private connections. It seems that you can not connect to the session bus. Are you able to monitor the session bus with dbus-monitor application? In Ubuntu to problem was solved by installing dbus-x11 package.

    Regards,
    -Hannu

     
  • Thanks

    I checked that dbus-x11 package was already installed. I don't know why, but whiteboardd and sibd started working after that.

     
  • Hannu Laine
    Hannu Laine
    2009-10-20

    • status: open --> closed