example-service and client have problem(s) ....reposting.
John (J5) Palmieri
johnp at redhat.com
Fri May 9 13:08:38 PDT 2008
0.70 and 0.74 could be quite significantly different. Note that
versions < 1.0 are not supported and were mainly used for system
plumbing such as HAL. It is hard to tell if the examples were even
tested in those releases.
On Fri, 2008-05-09 at 14:31 -0400, Fred Messinger (fredm) wrote:
> 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$
> ======
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
--
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus
mailing list