Errors in dbus-glib example-server.c
Gnaural
gnaural at users.sourceforge.net
Tue Nov 6 13:34:02 PST 2007
Of the two example program-pairs in the dbus-glib-0.74
tarball found here:
http://www.freedesktop.org/wiki/Software/DBusBindings
, only one seems to work.
Specifically, the example-server/example-client pair
appear broken. The example-server starts and waits
fine, but crashes when the example-client contacts it.
Here is the command line output from both programs:
example-server:
======
Debian at ch-07:~/src/dbus-glib-0.74/dbus/examples$
./example-service
service running
Hello from example-client.c!
GLib-GObject-CRITICAL **: g_value_copy: assertion
`g_value_type_compatible (G_VALUE_TYPE (src_value),
G_VALUE_TYPE (dest_value))' failed
aborting...
Aborted
Debian at ch-07:~/src/dbus-glib-0.74/dbus/examples$
======
example-client:
======
Debian at ch-07:~/src/dbus-glib-0.74/dbus/examples$
./example-client
Failed to complete GetTuple: Message did not receive a
reply (timeout by message bus)
Debian at ch-07:~/src/dbus-glib-0.74/dbus/examples$
======
I'm running Debian 2.6.22-5 kernel, gcc 4.2.3 (Debian 4.2.2-3).
More information about the dbus
mailing list