Master provider crash when launching position provider.
yu tang
tangyu619 at yahoo.com.cn
Fri Dec 26 00:06:24 PST 2008
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.html
More information about the GeoClue
mailing list