Master provider crash when launching position provider.

Leenata Bankhele leenatab at gmail.com
Mon Dec 29 03:24:14 PST 2008


Yes Yu Tang,

That should be position and not address (src/master-provider.c +125).
You are mostly using older version of geoclue. Try getting the latest.

Leenata.

On Sat, Dec 27, 2008 at 1:30 AM, <geoclue-request at lists.freedesktop.org>wrote:

> Send GeoClue mailing list submissions to
>        geoclue at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.freedesktop.org/mailman/listinfo/geoclue
> or, via email, send a message with subject or body 'help' to
>        geoclue-request at lists.freedesktop.org
>
> You can reach the person managing the list at
>        geoclue-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of GeoClue digest..."
>
>
> Today's Topics:
>
>   1. Master provider crash when launching position provider. (yu tang)
>   2. Re: for master-example is it necessary to run geoclue-master
>      daemon (sanny chawla)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 26 Dec 2008 16:06:24 +0800 (CST)
> From: yu tang <tangyu619 at yahoo.com.cn>
> Subject: Master provider crash when launching position provider.
> To: geoclue at lists.freedesktop.org
> Message-ID: <458183.56908.qm at web15806.mail.cnb.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
> ?? I am trying to use the geoclue library, but I cannot launch any position
> providers by using master provider. When master provider checks the usable
> provider, it will crash.? Following is the error info when manually start
> master provider.
>
> GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance
> != NULL && instance->g_class != NULL' failed
> [1]+? Segmentation fault????? /usr/libexec/geoclue-master
>
> I look into the src/master-provider.c +125 in
> gc_master_provider_get_provider() function and change the address to
> position, then it works. has anyone met this problem? is this a bug?? or
> something wrong with my configuration?
>
> 2. when I open the DEBUG_INFO macro before configure, there will be an
> error when compiling:
>
> master-provider.c: In function ?gc_master_provider_dump_provider_details?:
> master-provider.c:725: error: ?master_provider? undeclared (first use in
> this function)
>
> This should be changed to "provider" to pass compilation,? dose it a bug?
>
> All above are based on geoclue-0.11.1.
>
> Thanks very much.
>
>
>
>
>      ___________________________________________________________
>  ?????????????????
> http://card.mail.cn.yahoo.com/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freedesktop.org/archives/geoclue/attachments/20081226/4800a8ae/attachment.htm
>
> ------------------------------
>
> Message: 2
> Date: Fri, 26 Dec 2008 14:11:47 +0530
> From: sanny chawla <sanny.chawla at gmail.com>
> Subject: Re: for master-example is it necessary to run geoclue-master
>        daemon
> To: Sachin Gole <svgole at gmail.com>
> Cc: geoclue at lists.freedesktop.org
> Message-ID: <495498CB.7080505 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi  ,
>
> Reply inline.
>
> Sachin Gole wrote:
> >
> > Hi,
> >
> > Currently i have started dbus-daemen,
> >
> > geocode-example Yahoo works fine. it gives requested lat lon for given
> > address.
> >
> > Now i am trying to run master-example for that
> >
> > 1> whenever i am trying to run master-daemon,
> >
> > it exits with aborted error messages.
> >
> > at following line,
> > org_freedesktop_DBus_request_name (proxy, GEOCLUE_MASTER_NAME,
> >                                                 0, &request_name_ret,
> > &error))
> >
> >
> > 2> to run master-example, necessary to run geoclue-master daemon, is
> > it correct?
> >
> > 3> master-example  gives seg fault at
> >
> > org_freedesktop_Geoclue_Master_create (DBusGProxy *proxy, char**
> > OUT_path, GError **error)
> This might happen  sometimes because  Dbus configuration file is not
> present at "$(sysconfdir)/dbus-1/system.d/" . This configuration file
> may contain details specific to service invocation and security.
>
> regards,
> Sanny
> >
> > where might be the problem.
> >
> >
> > regards,
> >
> > Sachin Gole.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > GeoClue mailing list
> > GeoClue at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/geoclue
> >
>
>
> ------------------------------
>
> _______________________________________________
> GeoClue mailing list
> GeoClue at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/geoclue
>
>
> End of GeoClue Digest, Vol 19, Issue 6
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/geoclue/attachments/20081229/a8befb31/attachment.html 


More information about the GeoClue mailing list