gnome-settings-daemon crashes with SIGSEGV in watcher_owner_changed()

Bug #712635 reported by Sebastien Bacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libappindicator
Fix Released
Undecided
Unassigned
libappindicator (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On current natty:
- start a session with one keyboard layout
- use gnome-keyboard-properties to add a second one and delete it
- stop the indicator-application-service

then g-s-d crashes with that stacktrace:

#0 0x00f91a40 in watcher_owner_changed (obj=0x8a59e00, pspec=0x89c6478, user_data=0x89c8d20) at /build/buildd/libappindicator-0.2.92/./src/app-indicator.c:1139
        _g_boolean_var_ = <value optimised out>
        self = 0x89c8d20
        __PRETTY_FUNCTION__ = "watcher_owner_changed"
        name = <value optimised out>
#1 0x0017739c in g_cclosure_marshal_VOID__PARAM (closure=0x8a93dd8, return_value=0x0, n_param_values=2, param_values=0x89c7078, invocation_hint=0xbfa98030, marshal_data=0x0) at /build/buildd/glib2.0-2.27.93/gobject/gmarshal.c:533
        callback = 0xf91a10 <watcher_owner_changed>
        cc = 0x8a93dd8
        data1 = 0x8a59e00
        data2 = 0x89c8d20
        __PRETTY_FUNCTION__ = "g_cclosure_marshal_VOID__PARAM"
#2 0x001594b2 in g_closure_invoke (closure=0x8a93dd8, return_value=0x0, n_param_values=2, param_values=0x89c7078, invocation_hint=0xbfa98030) at /build/buildd/glib2.0-2.27.93/gobject/gclosure.c:767
        marshal = 0x177300 <g_cclosure_marshal_VOID__PARAM>
        marshal_data = 0x0
        in_marshal = 16503552
        __PRETTY_FUNCTION__ = "g_closure_invoke"
#3 0x0016d228 in signal_emit_unlocked_R (node=0x89012f8, detail=1243, instance=0x8a59e00, emission_return=0x0, instance_and_params=0x89c7078) at /build/buildd/glib2.0-2.27.93/gobject/gsignal.c:3252
        tmp = <value optimised out>
        handler = 0x8a8d340
        accumulator = 0x0
        emission = {next = 0x0, instance = 0x8a59e00, ihint = {signal_id = 1, detail = 1243, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
        class_closure = 0x8901470
        handler_list = 0x8a8d340
        return_accu = 0x0
        accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        signal_id = 1
        max_sequential_handler_number = 775
        return_value_altered = 1
#4 0x00175f65 in g_signal_emit_valist (instance=0x8a59e00, signal_id=1, detail=1243, var_args=0xbfa981e0 "$\025'") at /build/buildd/glib2.0-2.27.93/gobject/gsignal.c:2983
        instance_and_params = 0x89c7078
        signal_return_type = 4
        param_values = 0x89c708c
        node = 0x89012f8
        i = <value optimised out>
        n_params = 1
        __PRETTY_FUNCTION__ = "g_signal_emit_valist"
#5 0x00176142 in g_signal_emit (instance=0x8a59e00, signal_id=1, detail=1243) at /build/buildd/glib2.0-2.27.93/gobject/gsignal.c:3040
        var_args = 0xbfa981dc "xd\234\b$\025'"
#6 0x0015b3a1 in g_object_dispatch_properties_changed (object=0x8a59e00, n_pspecs=1, pspecs=0xbfa98270) at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:925
        i = <value optimised out>
#7 0x0015a52f in g_object_notify_dispatcher (object=0x8a59e00, n_pspecs=1, pspecs=0xbfa98270) at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:330
No locals.
#8 0x0015d9c1 in g_object_notify_queue_thaw (object=0x8a59e00, property_name=0xe9acbc "g-name-owner") at /build/buildd/glib2.0-2.27.93/gobject/gobjectnotifyqueue.c:132
        context = 0x194400
        pspecs_mem = {0x89c6478, 0x2, 0xbfa982d8, 0x270ff4, 0x8a96fa8, 0xa51ff4, 0xa533c0, 0x8a96fa8, 0xbfa982a8, 0x965c8d, 0x0, 0xbfa982ac, 0x270ff4, 0x8a86e00, 0x1, 0x1}
        pspecs = <value optimised out>
        free_me = 0x0
        slist = <value optimised out>
        n_pspecs = <value optimised out>
#9 g_object_notify_by_spec_internal (object=0x8a59e00, property_name=0xe9acbc "g-name-owner") at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:983
        nqueue = 0x1
#10 g_object_notify (object=0x8a59e00, property_name=0xe9acbc "g-name-owner") at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:1024
        pspec = 0x194400
        __PRETTY_FUNCTION__ = "g_object_notify"
#11 0x00e558f0 in on_name_owner_changed (connection=0x894b0c8, sender_name=0x8a917d0 "org.freedesktop.DBus", object_path=0x89d4c60 "/org/freedesktop/DBus", interface_name=0x8a92270 "org.freedesktop.DBus", signal_name=0x89d4be0 "NameOwnerChanged", parameters=0x8a96fa8, user_data=0x8a59e00) at /build/buildd/glib2.0-2.27.93/gio/gdbusproxy.c:1023
        proxy = 0x8a59e00
        old_owner = 0x897116e ":1.1181"
        new_owner = 0x8971176 ""
        __PRETTY_FUNCTION__ = "on_name_owner_changed"
#12 0x00e42d70 in emit_signal_instance_in_idle_cb (data=0x8a7dbd8) at /build/buildd/glib2.0-2.27.93/gio/gdbusconnection.c:3400
        signal_instance = 0x8a7dbd8
        parameters = 0x8a96fa8
        has_subscription = 1
#13 0x001d7501 in g_idle_dispatch (source=0x8a967f0, callback=0xe42cd0 <emit_signal_instance_in_idle_cb>, user_data=0x8a7dbd8) at /build/buildd/glib2.0-2.27.93/glib/gmain.c:4536
No locals.
#14 0x001dbcb8 in g_main_dispatch (context=0x8915c20) at /build/buildd/glib2.0-2.27.93/glib/gmain.c:2440
        dispatch = 0x1d74e0 <g_idle_dispatch>
        was_in_call = 0
        user_data = 0x8a7dbd8
        callback = 0xe42cd0 <emit_signal_instance_in_idle_cb>
        cb_funcs = 0x27133c
        cb_data = 0x8a91390
        current_source_link = {data = 0x8a967f0, next = 0x0}
        need_destroy = <value optimised out>
        source = 0x8a967f0
        current = 0x89546a0
        i = <value optimised out>
#15 g_main_context_dispatch (context=0x8915c20) at /build/buildd/glib2.0-2.27.93/glib/gmain.c:3013
No locals.
#16 0x001dc480 in g_main_context_iterate (context=0x8915c20, block=2017744, dispatch=1, self=<value optimised out>) at /build/buildd/glib2.0-2.27.93/glib/gmain.c:3091
        max_priority = 2147483647
        timeout = 1456
        some_ready = 1
        nfds = <value optimised out>
        allocated_nfds = <value optimised out>
        fds = 0x8a57740
#17 0x001dcb43 in g_main_loop_run (loop=0x89b0330) at /build/buildd/glib2.0-2.27.93/glib/gmain.c:3299
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#18 0x004729c9 in IA__gtk_main () at /build/buildd/gtk+2.0-2.24.0/gtk/gtkmain.c:1244
        tmp_list = <value optimised out>
        functions = 0x0
        init = <value optimised out>
        loop = 0x89b0330
#19 0x0804b654 in main ()
No symbol table info available.

it displays that warning before crashing "GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `AppIndicator'"

Changed in libappindicator (Ubuntu):
assignee: nobody → Michael Terry (mterry)
milestone: none → ubuntu-11.04-beta
Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, that seems to have been fixed along with bug #711749, closing it

Changed in libappindicator (Ubuntu):
assignee: Michael Terry (mterry) → nobody
milestone: ubuntu-11.04-beta-1 → none
status: New → Fix Released
Changed in libappindicator:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.