example-service and client have problem(s) ....reposting.

Fred Messinger (fredm) fredmessinger at gmail.com
Fri May 9 11:31:18 PDT 2008


Hi,

I found message/question in the archives that fully describes my problem.
But no one replied to him.

I'm on centos 5 with dbus-glib-070.   In short, the example-service and
example-client don't play well together....   Any thoughts?

Thanks and keep up the good work - it's great stuff.
Fred

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$
======
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080509/1ec7d63b/attachment.htm 


More information about the dbus mailing list