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

Fred Messinger (fredm) fredmessinger at gmail.com
Mon May 12 08:23:06 PDT 2008


Thanks for the info, John.

Please pardon the  novice-of-the-highest-order questions, but there
shouldn't be too many more forthcoming.

Fred


On Fri, May 9, 2008 at 4:08 PM, John (J5) Palmieri <johnp at redhat.com> wrote:

> 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>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080512/5c32b3f5/attachment.htm 


More information about the dbus mailing list