here is gdb for geoclue-master<br><br> gdb /usr/local/bin/geoclue-master <br>GNU gdb 6.6<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are<br>
welcome to change it and/or distribute copies of it under certain conditions.<br>Type "show copying" to see the conditions.<br>There is absolutely no warranty for GDB. Type "show warranty" for details.<br>
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-unknown-linux-gnueabi"...<br>(gdb) target remote <a href="http://192.168.100.3:9999" target="_blank">192.168.100.3:9999</a><br>Remote debugging using <a href="http://192.168.100.3:9999" target="_blank">192.168.100.3:9999</a><br>
0x400007b0 in _start () from /lib/ld-linux.so.3<br>(gdb) break main<br>Breakpoint 1 at 0xb568: file main.c, line 82.<br>(gdb) n<br>Single stepping until exit from function _start, <br>which has no line number information.<br>
<br>Breakpoint 1, main (argc=1, argv=0xbea9de24) at main.c:82<br>82 GError *error = NULL;<br>(gdb) n<br>85 g_type_init ();<br>(gdb) n<br>87 g_print("\n in main");<br>(gdb) n<br>
89 mainloop = g_main_loop_new (NULL, FALSE);<br>(gdb) n<br>91 conn = dbus_g_bus_get (GEOCLUE_DBUS_BUS, &error);<br>(gdb) n<br>89 mainloop = g_main_loop_new (NULL, FALSE);<br>(gdb) n<br>
91 conn = dbus_g_bus_get (GEOCLUE_DBUS_BUS, &error);<br>(gdb) n<br>92 if (!conn) {<br>(gdb) n<br>97 proxy = dbus_g_proxy_new_for_name (conn,<br>(gdb) n<br>102 g_print("\n after proxy %s \n",GEOCLUE_MASTER_NAME);<br>
(gdb) n<br>97 proxy = dbus_g_proxy_new_for_name (conn,<br>(gdb) n<br>102 g_print("\n after proxy %s \n",GEOCLUE_MASTER_NAME);<br>(gdb) n<br>63 return dbus_g_proxy_call (proxy, "RequestName", error, G_TYPE_STRING, IN_arg0, G_TYPE_UINT, IN_arg1, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg2, G_TYPE_INVALID);<br>
(gdb) n<br>104 if (!org_freedesktop_DBus_request_name (proxy, GEOCLUE_MASTER_NAME,<br>(gdb) n<br>106 g_error ("Error registering D-Bus service %s: %s",<br>(gdb) n<br><br>Program received signal SIGABRT, Aborted.<br>
0x40336b48 in raise () from /lib/libc.so.6<br>(gdb) bt<br>#0 0x40336b48 in raise () from /lib/libc.so.6<br>#1 0x40337e98 in abort () from /lib/libc.so.6<br>Backtrace stopped: frame did not save the PC<br>(gdb) <br><br>
<br>
where might be the problem.<br><br><br><br><div class="gmail_quote">On Tue, Dec 23, 2008 at 1:30 AM, <span dir="ltr"><<a href="mailto:geoclue-request@lists.freedesktop.org" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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. for master-example is it necessary to run geoclue-master<br>
daemon (Sachin Gole)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 22 Dec 2008 17:30:08 +0530<br>
From: "Sachin Gole" <<a href="mailto:svgole@gmail.com" target="_blank">svgole@gmail.com</a>><br>
Subject: for master-example is it necessary to run geoclue-master<br>
daemon<br>
To: <a href="mailto:geoclue@lists.freedesktop.org" target="_blank">geoclue@lists.freedesktop.org</a><br>
Message-ID:<br>
<<a href="mailto:c1188e350812220400m7679b189h6e735225f3b24b20@mail.gmail.com" target="_blank">c1188e350812220400m7679b189h6e735225f3b24b20@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<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>
2> to run master-example, necessary to run geoclue-master daemon, is it<br>
correct?<br>
<br>
3> master-example gives seg fault at<br>
<br>
org_freedesktop_Geoclue_Master_create (DBusGProxy *proxy, char** OUT_path,<br>
GError **error)<br>
<br>
where might be the problem.<br>
<br>
<br>
regards,<br>
<br>
Sachin Gole.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.freedesktop.org/archives/geoclue/attachments/20081222/f7082ae9/attachment-0001.html" target="_blank">http://lists.freedesktop.org/archives/geoclue/attachments/20081222/f7082ae9/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
GeoClue mailing list<br>
<a href="mailto:GeoClue@lists.freedesktop.org" target="_blank">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 4<br>
**************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Sachin Gole.<br>