After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691730 - SIGSEGV, trying to switch on bluetooth from the power panel
SIGSEGV, trying to switch on bluetooth from the power panel
Status: RESOLVED DUPLICATE of bug 691151
Product: gnome-control-center
Classification: Core
Component: Power
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
Control-Center Maintainers
3.10
Depends on:
Blocks:
 
 
Reported: 2013-01-14 17:45 UTC by Volker Sobek (weld)
Modified: 2013-11-28 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Volker Sobek (weld) 2013-01-14 17:45:48 UTC
When I make sure that bluetooth is switched off in the bluetooth panel, and then switch it on in the power panel, I get the following crash. (When bluetooth is switched on in the bluetooth panel, the switch in the power panel doesn't cause a crash, but has no effect).

    #0 g_bit_lock (address=address@entry=0x20, lock_bit=lock_bit@entry=0)
    at gbitlock.c:211
    No locals.
    #1 0x00007ffff24db92b in g_variant_lock (value=value@entry=0x0)
    at gvariant-core.c:223
    No locals.
    #2 0x00007ffff24dc029 in g_variant_get_data (value=value@entry=0x0)
    at gvariant-core.c:862
    No locals.
    #3 0x00007ffff24daf2c in g_variant_get (value=value@entry=0x0,
    format_string=format_string@entry=0x501bbe "(&o)") at gvariant.c:4746
    ap = {{gp_offset = 4068169820, fp_offset = 32767,
    overflow_arg_area = 0x7fffcc002d40,
    reg_save_area = 0x7fffcc002f20}}
    __PRETTY_FUNCTION__ = "g_variant_get"
    #4 0x0000000000473b49 in bt_set_powered (client=<optimized out>, powered=1)
    at cc-power-panel.c:1090
    ret = 0x0
    adapter_path = 0x0
    bus = 0xc2da80
    #5 bt_switch_changed (sw=<optimized out>, pspec=<optimized out>,
    panel=<optimized out>) at cc-power-panel.c:1117
    powered = 1
    #6 0x00007ffff2794070 in g_closure_invoke (closure=0xec17c0,
    ---Type <return> to continue, or q <return> to quit---
    return_value=return_value@entry=0x0, n_param_values=2,
    param_values=param_values@entry=0x7fffffffceb0,
    invocation_hint=invocation_hint@entry=0x7fffffffce50) at gclosure.c:777
    marshal = 0x7ffff2796f60 <g_cclosure_marshal_VOID__PARAM>
    marshal_data = 0x0
    in_marshal = 0
    real_closure = 0xec17a0
    __PRETTY_FUNCTION__ = "g_closure_invoke"
    #7 0x00007ffff27a6298 in signal_emit_unlocked_R (node=node@entry=0x9170b0,
    detail=detail@entry=1175, instance=instance@entry=0xefe020,
    emission_return=emission_return@entry=0x0,
    instance_and_params=instance_and_params@entry=0x7fffffffceb0)
    at gsignal.c:3567
    tmp = <optimized out>
    handler = 0xf23cc0
    accumulator = 0x0
    emission = {next = 0x0, instance = 0xefe020, ihint = {signal_id = 1,
    detail = 1175, run_type = G_SIGNAL_RUN_FIRST},
    state = EMISSION_RUN, chain_type = 4}
    class_closure = 0x917020
    hlist = 0xf23b90
    handler_list = <optimized out>
    return_accu = 0x0
    accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0,
    ---Type <return> to continue, or q <return> to quit---
    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 = 1009
    return_value_altered = 1
    #8 0x00007ffff27ae4de in g_signal_emit_valist (instance=0xefe020,
    signal_id=<optimized out>, detail=1175,
    var_args=var_args@entry=0x7fffffffd0f8) at gsignal.c:3315
    instance_and_params = 0x7fffffffceb0
    signal_return_type = 4
    param_values = 0x7fffffffcec8
    node = 0x9170b0
    i = <optimized out>
    n_params = 1
    __PRETTY_FUNCTION__ = "g_signal_emit_valist"
    #9 0x00007ffff27ae6d2 in g_signal_emit (instance=<optimized out>,
    signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3371
    var_args = {{gp_offset = 32, fp_offset = 48,
    overflow_arg_area = 0x7fffffffd1d0,
    reg_save_area = 0x7fffffffd110}}
    #10 0x00007ffff2798b35 in g_object_dispatch_properties_changed (
    object=0xefe020, n_pspecs=0, pspecs=0xa) at gobject.c:1042
    ---Type <return> to continue, or q <return> to quit---
    No locals.
    #11 0x00007ffff279a703 in g_object_notify_by_spec_internal (pspec=0xe908f0,
    object=0xefe020) at gobject.c:1136
    nqueue = 0x0
    notify_pspec = 0xe908f0
    #12 g_object_notify_by_pspec (object=0xefe020, pspec=pspec@entry=0xe908f0)
    at gobject.c:1237
    __PRETTY_FUNCTION__ = "g_object_notify_by_pspec"
    #13 0x00007ffff3aa89e6 in gtk_switch_set_active (sw=0xefe020,
    is_active=is_active@entry=1) at gtkswitch.c:930
    accessible = <optimized out>
    priv = 0xefe0e0
    __PRETTY_FUNCTION__ = "gtk_switch_set_active"
    #14 0x00007ffff3aa8eaa in gtk_switch_button_release (widget=0xefe020,
    event=<optimized out>) at gtkswitch.c:237
    priv = 0xefe0e0
    allocation = {x = 509, y = 73, width = 82, height = 33}
    #15 0x00007ffff3a0b62f in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x91ea70,
    return_value=0x7fffffffd3f0, instance=0xefe020, args=<optimized out>,
    marshal_data=<optimized out>, n_params=<optimized out>,
    param_types=0x91eaa0) at gtkmarshalers.c:130
    cc = <optimized out>
    data1 = <optimized out>
    data2 = <optimized out>
    ---Type <return> to continue, or q <return> to quit---
    callback = <optimized out>
    arg0 = 0xf28680
    args_copy = {{gp_offset = 32, fp_offset = 48,
    overflow_arg_area = 0x7fffffffd680,
    reg_save_area = 0x7fffffffd5c0}}
    v_return = <optimized out>
    __PRETTY_FUNCTION__ = "_gtk_marshal_BOOLEAN__BOXEDv"
    #16 0x00007ffff2794337 in _g_closure_invoke_va (
    closure=closure@entry=0x91ea70,
    return_value=return_value@entry=0x7fffffffd3f0,
    instance=instance@entry=0xefe020, args=args@entry=0x7fffffffd5a8,
    n_params=1, param_types=0x91eaa0) at gclosure.c:840
    marshal = 0x7ffff27926d0 <g_type_class_meta_marshalv>
    marshal_data = 0x188
    in_marshal = 0
    real_closure = 0x91ea50
    __PRETTY_FUNCTION__ = "_g_closure_invoke_va"
    #17 0x00007ffff27ae025 in g_signal_emit_valist (instance=0xefe020,
    signal_id=<optimized out>, detail=0,
    var_args=var_args@entry=0x7fffffffd5a8) at gsignal.c:3226
    return_accu = 0x7fffffffd3f0
    accu = {g_type = 20, 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,
    ---Type <return> to continue, or q <return> to quit---
    v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,
    v_double = 0, v_pointer = 0x0}}}
    accumulator = 0x925f70
    emission = {next = 0x0, instance = 0xefe020, ihint = {signal_id = 29,
    detail = 0, run_type = G_SIGNAL_RUN_LAST}, state = EMISSION_RUN,
    chain_type = 15422192}
    signal_id = 29
    instance_type = 15422192
    emission_return = {g_type = 20, 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}}}
    rtype = 20
    static_scope = 0
    closure = 0x91ea70
    run_type = <optimized out>
    hlist = 0x925f70
    l = <optimized out>
    fastpath = -11280
    instance_and_params = <optimized out>
    signal_return_type = <optimized out>
    param_values = <optimized out>
    node = 0x91eac0
    ---Type <return> to continue, or q <return> to quit---
    i = <optimized out>
    n_params = <optimized out>
    __PRETTY_FUNCTION__ = "g_signal_emit_valist"
    #18 0x00007ffff27ae6d2 in g_signal_emit (instance=instance@entry=0xefe020,
    signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3371
    var_args = {{gp_offset = 24, fp_offset = 48,
    overflow_arg_area = 0x7fffffffd680,
    reg_save_area = 0x7fffffffd5c0}}
    #19 0x00007ffff3b4e6de in gtk_widget_event_internal (
    widget=widget@entry=0xefe020, event=event@entry=0xf28680)
    at gtkwidget.c:6311
    signal_num = <optimized out>
    return_val = 0
    #20 0x00007ffff3b4eaf9 in gtk_widget_event (widget=widget@entry=0xefe020,
    event=event@entry=0xf28680) at gtkwidget.c:5968
    __PRETTY_FUNCTION__ = "gtk_widget_event"
    #21 0x00007ffff3a094ae in propagate_event_up (topmost=<optimized out>,
    event=<optimized out>, widget=0xefe020) at gtkmain.c:2393
    tmp = <optimized out>
    handled_event = <optimized out>
    #22 propagate_event (widget=<optimized out>, event=0xf28680,
    captured=<optimized out>, topmost=0x0) at gtkmain.c:2501
    handled_event = 0
    propagate_func = 0x7ffff3b4ea70 <gtk_widget_event>
    ---Type <return> to continue, or q <return> to quit---
    #23 0x00007ffff3a0b1e3 in gtk_main_do_event (event=0xf28680) at gtkmain.c:1716
    event_widget = <optimized out>
    grab_widget = 0xefe020
    topmost_widget = <optimized out>
    window_group = <optimized out>
    rewritten_event = <optimized out>
    device = <optimized out>
    tmp_list = <optimized out>
    __PRETTY_FUNCTION__ = "gtk_main_do_event"
    #24 0x00007ffff361e5e2 in gdk_event_source_dispatch (
    source=source@entry=0x9682d0, callback=<optimized out>,
    user_data=<optimized out>) at gdkeventsource.c:358
    display = <optimized out>
    event = 0xf28680
    #25 0x00007ffff24a5055 in g_main_dispatch (context=0x94b720) at gmain.c:2784
    dispatch = 0x7ffff361e5c0 <gdk_event_source_dispatch>
    was_in_call = 0
    user_data = 0x0
    callback = 0x0
    cb_funcs = 0x0
    cb_data = 0x0
    current_source_link = {data = 0x9682d0, next = 0x0}
    need_destroy = <optimized out>
    source = 0x9682d0
    ---Type <return> to continue, or q <return> to quit---
    current = 0xceb5c0
    i = 0
    #26 g_main_context_dispatch (context=context@entry=0x94b720) at gmain.c:3288
    No locals.
    #27 0x00007ffff24a5398 in g_main_context_iterate (
    context=context@entry=0x94b720, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3359
    max_priority = 2147483647
    timeout = -1
    some_ready = 1
    nfds = <optimized out>
    allocated_nfds = <optimized out>
    fds = 0xd821d0
    #28 0x00007ffff24a5454 in g_main_context_iteration (context=0x94b720,
    context@entry=0x0, may_block=may_block@entry=1) at gmain.c:3420
    retval = <optimized out>
    #29 0x00007ffff30ef57c in g_application_run (application=0xc2d580,
    argc=argc@entry=1, argv=argv@entry=0x7fffffffd9d8) at gapplication.c:1620
    arguments = 0xd662b0
    status = -227009408
    i = <optimized out>
    __PRETTY_FUNCTION__ = "g_application_run"
    #30 0x000000000043e83f in main (argc=1, argv=0x7fffffffd9d8)
    at control-center.c:294
    ---Type <return> to continue, or q <return> to quit---
    shell = <optimized out>
    application = 0xc2d580
    status = <optimized out>
Comment 1 Volker Sobek (weld) 2013-07-25 14:10:06 UTC
To keep track here: the switch was disabled for now [0] because of this bug and another one.

[0] https://git.gnome.org/browse/gnome-control-center/commit/?id=70d0eba50c8ffb035b25f3134269c19ff0cab133
Comment 2 Bastien Nocera 2013-11-28 16:45:09 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 691151 ***