Opened 7 years ago

Closed 7 years ago

#5205 closed Bug (fixed)

GTK+ client crashes in recent trunk

Reported by: pathetic_loser Owned by: jordan
Priority: High Milestone:
Component: GTK+ Client Version: 2.75+
Severity: Critical Keywords:
Cc:

Description

When I trying to change any(?) setting in GTK+ client, it crashes with SIGSEGV. Happens in recent trunk versions only.

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse42 () at ../sysdeps/x86_64/multiarch/strlen-sse4.S:32
32	../sysdeps/x86_64/multiarch/strlen-sse4.S: No such file or directory.
(gdb) bt full
#0  __strlen_sse42 () at ../sysdeps/x86_64/multiarch/strlen-sse4.S:32
No locals.
#1  0x00007f6b5d253f50 in g_strdup (str=0xc <Address 0xc out of bounds>) at /build/buildd/glib2.0-2.34.1/./glib/gstrfuncs.c:363
        new_str = <optimized out>
        length = <optimized out>
#2  0x00007f6b5d726e9d in value_collect_string (value=0x7fff0cfa6ae8, n_collect_values=<optimized out>, collect_values=<optimized out>, 
    collect_flags=<optimized out>) at /build/buildd/glib2.0-2.34.1/./gobject/gvaluetypes.c:293
No locals.
#3  0x00007f6b5d718ff4 in g_signal_emit_valist (instance=0x1840d00, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fff0cfa6d28) at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3275
        _val = <optimized out>
        _flags = <optimized out>
        _collect_format = <optimized out>
        _cvalues = {{v_int = 12, v_long = 12, v_int64 = 12, v_double = 5.9287877500949585e-323, v_pointer = 0xc}, {v_int = 0, v_long = 0, 
            v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, 
            v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}, {
            v_int = 0, v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0, v_double = 0, 
            v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}}
        _vtab = <optimized out>
        _n_values = <optimized out>
        error = <optimized out>
        ptype = 64
        instance_and_params = 0x7fff0cfa6ad0
        signal_return_type = 4
        param_values = 0x7fff0cfa6ae8
        node = 0x7fff0cfa6d28
        i = <optimized out>
        n_params = 1
        __PRETTY_FUNCTION__ = "g_signal_emit_valist"
#4  0x00007f6b5d719642 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3356
        var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fff0cfa6e00, reg_save_area = 0x7fff0cfa6d40}}
#5  0x00000000004402bf in gtr_core_pref_changed (core=0x1840d00, key=12) at tr-core.c:256
No locals.
#6  0x000000000044335d in core_commit_prefs_change (core=0x1840d00, key=12) at tr-core.c:1618
No locals.
#7  0x0000000000443419 in gtr_core_set_pref_bool (self=0x1840d00, key=12, newval=0) at tr-core.c:1638
No locals.
#8  0x0000000000449207 in alt_speed_toggled_cb (button=0x1a9fe70, vprivate=0x1aa6340) at tr-window.c:309
        p = 0x1aa6340
        b = 0
#9  0x00007f6b5d700140 in g_closure_invoke (closure=0x1b39f90, return_value=0x0, n_param_values=1, param_values=0x7fff0cfa7070, 
    invocation_hint=0x7fff0cfa7010) at /build/buildd/glib2.0-2.34.1/./gobject/gclosure.c:777
        marshal = 0x7f6b5d701f70 <g_cclosure_marshal_VOID__VOID>
---Type <return> to continue, or q <return> to quit---
        marshal_data = 0x0
        in_marshal = 0
        real_closure = 0x1b39f70
        __PRETTY_FUNCTION__ = "g_closure_invoke"
#10 0x00007f6b5d711550 in signal_emit_unlocked_R (node=node@entry=0x191af30, detail=detail@entry=0, instance=instance@entry=0x1a9fe70, 
    emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff0cfa7070)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3551
        tmp = <optimized out>
        handler = 0x1b394c0
        accumulator = 0x0
        emission = {next = 0x7fff0cfa7520, instance = 0x1a9fe70, ihint = {signal_id = 167, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
          state = EMISSION_RUN, chain_type = 4}
        class_closure = 0x191aeb0
        hlist = 0x1b394c0
        handler_list = 0x1b394c0
        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 = 167
        max_sequential_handler_number = 1952
        return_value_altered = 1
#11 0x00007f6b5d7194af in g_signal_emit_valist (instance=0x1a9fe70, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fff0cfa72b8) at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3300
        instance_and_params = 0x7fff0cfa7070
        signal_return_type = 4
        param_values = 0x7fff0cfa7088
        node = 0x191af30
        i = <optimized out>
        n_params = 0
        __PRETTY_FUNCTION__ = "g_signal_emit_valist"
#12 0x00007f6b5d719642 in g_signal_emit (instance=instance@entry=0x1a9fe70, signal_id=<optimized out>, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3356
        var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff0cfa7390, reg_save_area = 0x7fff0cfa72d0}}
#13 0x00007f6b5e5f5e2b in gtk_toggle_button_toggled (toggle_button=toggle_button@entry=0x1a9fe70)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtktogglebutton.c:507
        __PRETTY_FUNCTION__ = "gtk_toggle_button_toggled"
#14 0x00007f6b5e5f5e4f in gtk_toggle_button_clicked (button=0x1a9fe70) at /build/buildd/gtk+3.0-3.6.0/./gtk/gtktogglebutton.c:614
        toggle_button = 0x1a9fe70
        priv = <optimized out>
#15 0x00007f6b5d700407 in _g_closure_invoke_va (closure=0x1918310, return_value=0x0, instance=0x1a9fe70, args=0x7fff0cfa7668, n_params=0, 
    param_types=0x0) at /build/buildd/glib2.0-2.34.1/./gobject/gclosure.c:840
        marshal = 0x7f6b5d6fe7a0 <g_type_class_meta_marshalv>
        marshal_data = 0x400

....
bt
#0  __strlen_sse42 () at ../sysdeps/x86_64/multiarch/strlen-sse4.S:32
#1  0x00007f6b5d253f50 in g_strdup (str=0xc <Address 0xc out of bounds>) at /build/buildd/glib2.0-2.34.1/./glib/gstrfuncs.c:363
#2  0x00007f6b5d726e9d in value_collect_string (value=0x7fff0cfa6ae8, n_collect_values=<optimized out>, collect_values=<optimized out>, 
    collect_flags=<optimized out>) at /build/buildd/glib2.0-2.34.1/./gobject/gvaluetypes.c:293
#3  0x00007f6b5d718ff4 in g_signal_emit_valist (instance=0x1840d00, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fff0cfa6d28) at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3275
#4  0x00007f6b5d719642 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3356
#5  0x00000000004402bf in gtr_core_pref_changed (core=0x1840d00, key=12) at tr-core.c:256
#6  0x000000000044335d in core_commit_prefs_change (core=0x1840d00, key=12) at tr-core.c:1618
#7  0x0000000000443419 in gtr_core_set_pref_bool (self=0x1840d00, key=12, newval=0) at tr-core.c:1638
#8  0x0000000000449207 in alt_speed_toggled_cb (button=0x1a9fe70, vprivate=0x1aa6340) at tr-window.c:309
#9  0x00007f6b5d700140 in g_closure_invoke (closure=0x1b39f90, return_value=0x0, n_param_values=1, param_values=0x7fff0cfa7070, 
    invocation_hint=0x7fff0cfa7010) at /build/buildd/glib2.0-2.34.1/./gobject/gclosure.c:777
#10 0x00007f6b5d711550 in signal_emit_unlocked_R (node=node@entry=0x191af30, detail=detail@entry=0, instance=instance@entry=0x1a9fe70, 
    emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff0cfa7070)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3551
#11 0x00007f6b5d7194af in g_signal_emit_valist (instance=0x1a9fe70, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fff0cfa72b8) at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3300
#12 0x00007f6b5d719642 in g_signal_emit (instance=instance@entry=0x1a9fe70, signal_id=<optimized out>, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3356
#13 0x00007f6b5e5f5e2b in gtk_toggle_button_toggled (toggle_button=toggle_button@entry=0x1a9fe70)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtktogglebutton.c:507
#14 0x00007f6b5e5f5e4f in gtk_toggle_button_clicked (button=0x1a9fe70) at /build/buildd/gtk+3.0-3.6.0/./gtk/gtktogglebutton.c:614
#15 0x00007f6b5d700407 in _g_closure_invoke_va (closure=0x1918310, return_value=0x0, instance=0x1a9fe70, args=0x7fff0cfa7668, n_params=0, 
    param_types=0x0) at /build/buildd/glib2.0-2.34.1/./gobject/gclosure.c:840
#16 0x00007f6b5d718df6 in g_signal_emit_valist (instance=0x1a9fe70, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fff0cfa7668) at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3211
#17 0x00007f6b5d719642 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3356
#18 0x00007f6b5e45086b in gtk_button_clicked (button=<optimized out>) at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkbutton.c:1308
#19 0x00007f6b5e5f57fd in gtk_toggle_button_released (button=0x1a9fe70) at /build/buildd/gtk+3.0-3.6.0/./gtk/gtktogglebutton.c:599
#20 0x00007f6b5d700140 in g_closure_invoke (closure=0x1918200, return_value=0x0, n_param_values=1, param_values=0x7fff0cfa7920, 
    invocation_hint=0x7fff0cfa78c0) at /build/buildd/glib2.0-2.34.1/./gobject/gclosure.c:777
#21 0x00007f6b5d710e73 in signal_emit_unlocked_R (node=node@entry=0x1918260, detail=detail@entry=0, instance=instance@entry=0x1a9fe70, 
    emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff0cfa7920)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3481
#22 0x00007f6b5d7194af in g_signal_emit_valist (instance=0x1a9fe70, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fff0cfa7b68) at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3300
#23 0x00007f6b5d719642 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3356
#24 0x00007f6b5e450273 in gtk_button_button_release (widget=<optimized out>, event=<optimized out>)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkbutton.c:1802
#25 gtk_button_button_release (widget=<optimized out>, event=<optimized out>) at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkbutton.c:1794
---Type <return> to continue, or q <return> to quit---
#26 0x00007f6b5e51daaf in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x1837b70, return_value=0x7fff0cfa7db0, instance=0x1a9fe70, 
    args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x1837ba0)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkmarshalers.c:130
#27 0x00007f6b5d700407 in _g_closure_invoke_va (closure=0x1837b70, return_value=0x7fff0cfa7db0, instance=0x1a9fe70, args=0x7fff0cfa7f78, 
    n_params=1, param_types=0x1837ba0) at /build/buildd/glib2.0-2.34.1/./gobject/gclosure.c:840
#28 0x00007f6b5d718df6 in g_signal_emit_valist (instance=0x1a9fe70, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fff0cfa7f78) at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3211
#29 0x00007f6b5d719642 in g_signal_emit (instance=instance@entry=0x1a9fe70, signal_id=<optimized out>, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.34.1/./gobject/gsignal.c:3356
#30 0x00007f6b5e64cc2e in gtk_widget_event_internal (widget=widget@entry=0x1a9fe70, event=event@entry=0x1c3c180)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkwidget.c:6294
#31 0x00007f6b5e64d049 in gtk_widget_event (widget=widget@entry=0x1a9fe70, event=event@entry=0x1c3c180)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkwidget.c:5951
#32 0x00007f6b5e51b955 in propagate_event_up (topmost=<optimized out>, event=<optimized out>, widget=0x1a9fe70)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkmain.c:2405
#33 propagate_event (widget=<optimized out>, event=0x1c3c180, captured=<optimized out>, topmost=0x0)
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkmain.c:2505
#34 0x00007f6b5e51d653 in gtk_main_do_event (event=0x1c3c180) at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkmain.c:1718
#35 0x00007f6b5e1527d2 in gdk_event_source_dispatch (source=source@entry=0x187d6b0, callback=<optimized out>, user_data=<optimized out>)
    at /build/buildd/gtk+3.0-3.6.0/./gdk/x11/gdkeventsource.c:358
#36 0x00007f6b5d237ab5 in g_main_dispatch (context=0x1853d90) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2715
#37 g_main_context_dispatch (context=context@entry=0x1853d90) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3219
#38 0x00007f6b5d237de8 in g_main_context_iterate (context=context@entry=0x1853d90, block=block@entry=1, dispatch=dispatch@entry=1, 
    self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3290
#39 0x00007f6b5d237ea4 in g_main_context_iteration (context=0x1853d90, context@entry=0x0, may_block=may_block@entry=1)
    at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#40 0x00007f6b5d9da74c in g_application_run (application=0x1895140, argc=<optimized out>, argv=0x7fff0cfa85d8)
    at /build/buildd/glib2.0-2.34.1/./gio/gapplication.c:1624
#41 0x00000000004340f0 in main (argc=1, argv=0x7fff0cfa85d8) at main.c:668

Change History (2)

comment:1 Changed 7 years ago by jordan

  • Milestone None Set deleted
  • Status changed from new to assigned

comment:2 Changed 7 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r13729, thanks for the report.

Note: See TracTickets for help on using tickets.