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">&lt;<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a>&gt;</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>
 &nbsp; &nbsp; &nbsp; &nbsp;<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>
 &nbsp; &nbsp; &nbsp; &nbsp;<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 &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<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>
 &nbsp; &nbsp; &nbsp; &nbsp;<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 &quot;Re: Contents of GeoClue digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. Master provider crash when launching position provider. (yu tang)<br>
 &nbsp; 2. Re: for master-example is it necessary to run geoclue-master<br>
 &nbsp; &nbsp; &nbsp;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 &lt;<a href="mailto:tangyu619@yahoo.com.cn">tangyu619@yahoo.com.cn</a>&gt;<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: &lt;<a href="mailto:458183.56908.qm@web15806.mail.cnb.yahoo.com">458183.56908.qm@web15806.mail.cnb.yahoo.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<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 &amp;&amp; instance-&gt;g_class != NULL&#39; 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 &quot;provider&quot; 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>
 &nbsp; &nbsp; &nbsp;___________________________________________________________<br>
 &nbsp;?????????????????<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 &lt;<a href="mailto:sanny.chawla@gmail.com">sanny.chawla@gmail.com</a>&gt;<br>
Subject: Re: for master-example is it necessary to run geoclue-master<br>
 &nbsp; &nbsp; &nbsp; &nbsp;daemon<br>
To: Sachin Gole &lt;<a href="mailto:svgole@gmail.com">svgole@gmail.com</a>&gt;<br>
Cc: <a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a><br>
Message-ID: &lt;<a href="mailto:495498CB.7080505@gmail.com">495498CB.7080505@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi &nbsp;,<br>
<br>
Reply inline.<br>
<br>
Sachin Gole wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Currently i have started dbus-daemen,<br>
&gt;<br>
&gt; geocode-example Yahoo works fine. it gives requested lat lon for given<br>
&gt; address.<br>
&gt;<br>
&gt; Now i am trying to run master-example for that<br>
&gt;<br>
&gt; 1&gt; whenever i am trying to run master-daemon,<br>
&gt;<br>
&gt; it exits with aborted error messages.<br>
&gt;<br>
&gt; at following line,<br>
&gt; org_freedesktop_DBus_request_name (proxy, GEOCLUE_MASTER_NAME,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0, &amp;request_name_ret,<br>
&gt; &amp;error))<br>
&gt;<br>
&gt;<br>
&gt; 2&gt; to run master-example, necessary to run geoclue-master daemon, is<br>
&gt; it correct?<br>
&gt;<br>
&gt; 3&gt; master-example &nbsp;gives seg fault at<br>
&gt;<br>
&gt; org_freedesktop_Geoclue_Master_create (DBusGProxy *proxy, char**<br>
&gt; OUT_path, GError **error)<br>
This might happen &nbsp;sometimes because &nbsp;Dbus configuration file is not<br>
present at &quot;$(sysconfdir)/dbus-1/system.d/&quot; . This configuration file<br>
may contain details specific to service invocation and security.<br>
<br>
regards,<br>
Sanny<br>
&gt;<br>
&gt; where might be the problem.<br>
&gt;<br>
&gt;<br>
&gt; regards,<br>
&gt;<br>
&gt; Sachin Gole.<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; GeoClue mailing list<br>
&gt; <a href="mailto:GeoClue@lists.freedesktop.org">GeoClue@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
&gt;<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>