Yes Yu Tang,<br><br>That should be position and not address (src/master-provider.c +125).<br>You are mostly using older version of geoclue. Try getting the latest.<br><br>Leenata.<br><br><div class="gmail_quote">On Sat, Dec 27, 2008 at 1:30 AM, <span dir="ltr"><<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send GeoClue mailing list submissions to<br>
<a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:geoclue-owner@lists.freedesktop.org">geoclue-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of GeoClue digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Master provider crash when launching position provider. (yu tang)<br>
2. Re: for master-example is it necessary to run geoclue-master<br>
daemon (sanny chawla)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 26 Dec 2008 16:06:24 +0800 (CST)<br>
From: yu tang <<a href="mailto:tangyu619@yahoo.com.cn">tangyu619@yahoo.com.cn</a>><br>
Subject: Master provider crash when launching position provider.<br>
To: <a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a><br>
Message-ID: <<a href="mailto:458183.56908.qm@web15806.mail.cnb.yahoo.com">458183.56908.qm@web15806.mail.cnb.yahoo.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
?? 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.<br>
<br>
GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed<br>
[1]+? Segmentation fault????? /usr/libexec/geoclue-master<br>
<br>
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?<br>
<br>
2. when I open the DEBUG_INFO macro before configure, there will be an error when compiling:<br>
<br>
master-provider.c: In function ?gc_master_provider_dump_provider_details?:<br>
master-provider.c:725: error: ?master_provider? undeclared (first use in this function)<br>
<br>
This should be changed to "provider" to pass compilation,? dose it a bug?<br>
<br>
All above are based on geoclue-0.11.1.<br>
<br>
Thanks very much.<br>
<br>
<br>
<br>
<br>
___________________________________________________________<br>
?????????????????<br>
<a href="http://card.mail.cn.yahoo.com/" target="_blank">http://card.mail.cn.yahoo.com/</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.freedesktop.org/archives/geoclue/attachments/20081226/4800a8ae/attachment.htm" target="_blank">http://lists.freedesktop.org/archives/geoclue/attachments/20081226/4800a8ae/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 26 Dec 2008 14:11:47 +0530<br>
From: sanny chawla <<a href="mailto:sanny.chawla@gmail.com">sanny.chawla@gmail.com</a>><br>
Subject: Re: for master-example is it necessary to run geoclue-master<br>
daemon<br>
To: Sachin Gole <<a href="mailto:svgole@gmail.com">svgole@gmail.com</a>><br>
Cc: <a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a><br>
Message-ID: <<a href="mailto:495498CB.7080505@gmail.com">495498CB.7080505@gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi ,<br>
<br>
Reply inline.<br>
<br>
Sachin Gole wrote:<br>
><br>
> Hi,<br>
><br>
> Currently i have started dbus-daemen,<br>
><br>
> geocode-example Yahoo works fine. it gives requested lat lon for given<br>
> address.<br>
><br>
> Now i am trying to run master-example for that<br>
><br>
> 1> whenever i am trying to run master-daemon,<br>
><br>
> it exits with aborted error messages.<br>
><br>
> at following line,<br>
> org_freedesktop_DBus_request_name (proxy, GEOCLUE_MASTER_NAME,<br>
> 0, &request_name_ret,<br>
> &error))<br>
><br>
><br>
> 2> to run master-example, necessary to run geoclue-master daemon, is<br>
> it correct?<br>
><br>
> 3> master-example gives seg fault at<br>
><br>
> org_freedesktop_Geoclue_Master_create (DBusGProxy *proxy, char**<br>
> OUT_path, GError **error)<br>
This might happen sometimes because Dbus configuration file is not<br>
present at "$(sysconfdir)/dbus-1/system.d/" . This configuration file<br>
may contain details specific to service invocation and security.<br>
<br>
regards,<br>
Sanny<br>
><br>
> where might be the problem.<br>
><br>
><br>
> regards,<br>
><br>
> Sachin Gole.<br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> GeoClue mailing list<br>
> <a href="mailto:GeoClue@lists.freedesktop.org">GeoClue@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
GeoClue mailing list<br>
<a href="mailto:GeoClue@lists.freedesktop.org">GeoClue@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
<br>
<br>
End of GeoClue Digest, Vol 19, Issue 6<br>
**************************************<br>
</blockquote></div><br>