here is gdb for geoclue-master

 gdb /usr/local/bin/geoclue-master
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-unknown-linux-gnueabi"...
(gdb) target remote 192.168.100.3:9999
Remote debugging using 192.168.100.3:9999
0x400007b0 in _start () from /lib/ld-linux.so.3
(gdb) break main
Breakpoint 1 at 0xb568: file main.c, line 82.
(gdb) n
Single stepping until exit from function _start,
which has no line number information.

Breakpoint 1, main (argc=1, argv=0xbea9de24) at main.c:82
82              GError *error = NULL;
(gdb) n
85              g_type_init ();
(gdb) n
87              g_print("\n in main");
(gdb) n
89              mainloop = g_main_loop_new (NULL, FALSE);
(gdb) n
91              conn = dbus_g_bus_get (GEOCLUE_DBUS_BUS, &error);
(gdb) n
89              mainloop = g_main_loop_new (NULL, FALSE);
(gdb) n
91              conn = dbus_g_bus_get (GEOCLUE_DBUS_BUS, &error);
(gdb) n
92              if (!conn) {
(gdb) n
97              proxy = dbus_g_proxy_new_for_name (conn,
(gdb) n
102             g_print("\n after proxy %s \n",GEOCLUE_MASTER_NAME);
(gdb) n
97              proxy = dbus_g_proxy_new_for_name (conn,
(gdb) n
102             g_print("\n after proxy %s \n",GEOCLUE_MASTER_NAME);
(gdb) n
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);
(gdb) n
104             if (!org_freedesktop_DBus_request_name (proxy,
GEOCLUE_MASTER_NAME,
(gdb) n
106                     g_error ("Error registering D-Bus service %s: %s",
(gdb) n

Program received signal SIGABRT, Aborted.
0x40336b48 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x40336b48 in raise () from /lib/libc.so.6
#1  0x40337e98 in abort () from /lib/libc.so.6
Backtrace stopped: frame did not save the PC
(gdb)


where might be the problem.



On Tue, Dec 23, 2008 at 1:30 AM, <[email protected]>wrote:

> Send GeoClue mailing list submissions to
>        [email protected]
>
> 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
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of GeoClue digest..."
>
>
> Today's Topics:
>
>   1. for master-example is it necessary to run geoclue-master
>      daemon (Sachin Gole)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 22 Dec 2008 17:30:08 +0530
> From: "Sachin Gole" <[email protected]>
> Subject: for master-example is it necessary to run geoclue-master
>        daemon
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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)
>
> where might be the problem.
>
>
> regards,
>
> Sachin Gole.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freedesktop.org/archives/geoclue/attachments/20081222/f7082ae9/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> GeoClue mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/geoclue
>
>
> End of GeoClue Digest, Vol 19, Issue 4
> **************************************
>



-- 
Sachin Gole.
_______________________________________________
GeoClue mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/geoclue

Reply via email to