Bug 28417 - ** WARNING **: Metadata for error domain "geoclue-error-quark" already registered
Summary: ** WARNING **: Metadata for error domain "geoclue-error-quark" already regist...
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 01:20 UTC by Guillaume Desmottes
Modified: 2010-06-29 11:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Desmottes 2010-06-07 01:20:08 UTC
I have this issue when starting Empathy with Location support enabled (geoclue 0.12):


** WARNING **: Metadata for error domain "geoclue-error-quark" already registered

aborting...

Program received signal SIGABRT, Aborted.
0x00007fffee989a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
	in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007fffee989a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fffee98d5c0 in *__GI_abort () at abort.c:92
#2  0x00007fffeed2133a in IA__g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, args1=0x7fffffffdcf0)
    at /build/buildd/glib2.0-2.24.1/glib/gmessages.c:549
#3  0x00007fffeed213d3 in IA__g_log (log_domain=0x43fb <Address 0x43fb out of bounds>, log_level=17403, format=0x6 <Address 0x6 out of bounds>)
    at /build/buildd/glib2.0-2.24.1/glib/gmessages.c:569
#4  0x00007ffff5d93895 in dbus_g_error_domain_register (domain=2362, default_iface=0x7ffff718c91f "org.freedesktop.Geoclue.Error", code_enum=15491344)
    at dbus-gobject.c:2072
#5  0x00007ffff7184fb9 in geoclue_provider_get_type () from /usr/lib/libgeoclue.so.0
#6  0x00007ffff7187bac in geoclue_position_get_type () from /usr/lib/libgeoclue.so.0
#7  0x00007ffff7187c19 in geoclue_position_new () from /usr/lib/libgeoclue.so.0
#8  0x0000000000489ae1 in setup_geoclue (conf=<value optimized out>, key=0x4b45f8 "/apps/empathy/location/publish", user_data=<value optimized out>)
    at empathy-location-manager.c:559
#9  publish_cb (conf=<value optimized out>, key=0x4b45f8 "/apps/empathy/location/publish", user_data=<value optimized out>) at empathy-location-manager.c:605
#10 0x00007fffef5f5935 in IA__g_type_create_instance (type=<value optimized out>) at /build/buildd/glib2.0-2.24.1/gobject/gtype.c:1885
#11 0x00007fffef5d983c in g_object_constructor (type=17403, n_construct_properties=17403, construct_params=0x6) at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1396
#12 0x0000000000488d1b in location_manager_constructor (type=15273744, n_construct_params=0, construct_params=<value optimized out>) at empathy-location-manager.c:82
#13 0x00007fffef5dacca in IA__g_object_newv (object_type=<value optimized out>, n_parameters=0, parameters=0x0) at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1180
#14 0x00007fffef5db50c in IA__g_object_new (object_type=15273744, first_property_name=0x0) at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1092
#15 0x0000000000488a65 in empathy_location_manager_dup_singleton () at empathy-location-manager.c:751
#16 0x000000000044085b in main (argc=1, argv=0x7fffffffe5e8) at empathy.c:735
Comment 1 Bastien Nocera 2010-06-29 11:48:32 UTC
Should be fixed by that commit:

commit fd423867a5c5fd52f954892932789a335baf7806
Author: Bastien Nocera <hadess@hadess.net>
Date:   Tue Jun 29 19:44:38 2010 +0100

    Avoid registering error types multiple times
    
    https://bugs.freedesktop.org/show_bug.cgi?id=28417

Please reopen if not (dbus-glib is pretty stupid..).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.