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 769725 - crash in gtktextview with clipboard on wayland
crash in gtktextview with clipboard on wayland
Status: RESOLVED INCOMPLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.21.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-08-11 05:47 UTC by Christian Hergert
Modified: 2016-09-10 16:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Hergert 2016-08-11 05:47:59 UTC
Came across this while testing Builder on the flight to GUADEC. gtk+ commit da2e612fa8f00ae2eca72d136037652d87c27d2a


(gdb) bt
  • #0 raise
    from /lib64/libc.so.6
  • #1 abort
    from /lib64/libc.so.6
  • #2 wl_abort
    at src/wayland-util.c line 398
  • #3 wl_proxy_marshal_array_constructor_versioned
    at src/wayland-client.c line 646
  • #4 wl_proxy_marshal_array_constructor
    at src/wayland-client.c line 586
  • #5 wl_proxy_marshal
    at src/wayland-client.c line 683
  • #6 wl_data_source_offer
    at /opt/gnome/include/wayland-client-protocol.h line 2021
  • #7 gdk_wayland_selection_add_targets_libgtk_only
    at gdkselection-wayland.c line 1499
  • #8 gtk_selection_add_targets
    at gtkselection.c line 976
  • #9 gtk_clipboard_set_contents
    at gtkclipboard.c line 634
  • #10 gtk_clipboard_set_with_owner
    at gtkclipboard.c line 722
  • #11 update_selection_clipboards
    at gtktextbuffer.c line 3707
  • #12 gtk_text_buffer_real_mark_set
    at gtktextbuffer.c line 2578
  • #13 gtk_source_buffer_real_mark_set
    at gtksourcebuffer.c line 1962
  • #14 ide_buffer_mark_set
    at buffers/ide-buffer.c line 824
  • #15 _gtk_marshal_VOID__BOXED_OBJECT
    at gtkmarshalers.c line 3167
  • #16 g_type_class_meta_marshal
    at gclosure.c line 997
  • #17 g_closure_invoke
    at gclosure.c line 804
  • #18 signal_emit_unlocked_R
    at gsignal.c line 3667
  • #19 g_signal_emit_valist
    at gsignal.c line 3385
  • #20 g_signal_emit
    at gsignal.c line 3441
  • #21 gtk_text_buffer_mark_set
    at gtktextbuffer.c line 2053
  • #22 gtk_text_buffer_set_mark
    at gtktextbuffer.c line 2101
  • #23 gtk_text_buffer_move_mark
    at gtktextbuffer.c line 2201
  • #24 select_range
    at sourceview/ide-source-view-movements.c line 183
  • #25 ide_source_view_movements_next_line
    at sourceview/ide-source-view-movements.c line 554
  • #26 _ide_source_view_apply_movement
    at sourceview/ide-source-view-movements.c line 2141
  • #27 ide_source_view_real_movement
    at sourceview/ide-source-view.c line 3511
  • #28 ffi_call_unix64
    from /lib64/libffi.so.6
  • #29 ffi_call
    from /lib64/libffi.so.6
  • #30 g_cclosure_marshal_generic
    at gclosure.c line 1490
  • #31 g_type_class_meta_marshal
    at gclosure.c line 997
  • #32 g_closure_invoke
    at gclosure.c line 804
  • #33 signal_emit_unlocked_R
    at gsignal.c line 3667
  • #34 g_signal_emitv
    at gsignal.c line 3123
  • #35 proxy_closure_marshal
    at sourceview/ide-source-view-mode.c line 176
  • #36 g_closure_invoke
    at gclosure.c line 804
  • #37 signal_emit_unlocked_R
    at gsignal.c line 3667
  • #38 g_signal_emitv
    at gsignal.c line 3123
  • #39 gtk_binding_entry_activate
    at gtkbindings.c line 640
  • #40 binding_activate
    at gtkbindings.c line 1426
  • #41 gtk_bindings_activate_list
    at gtkbindings.c line 1458
  • #42 gtk_bindings_activate_event
    at gtkbindings.c line 1572
  • #43 _ide_source_view_mode_do_event
    at sourceview/ide-source-view-mode.c line 421
  • #44 ide_source_view_do_mode
    at sourceview/ide-source-view.c line 2157
  • #45 ide_source_view_key_press_event
    at sourceview/ide-source-view.c line 2294
  • #46 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #47 g_type_class_meta_marshal
    at gclosure.c line 997
  • #48 g_closure_invoke
    at gclosure.c line 804
  • #49 signal_emit_unlocked_R
    at gsignal.c line 3667
  • #50 g_signal_emit_valist
    at gsignal.c line 3395
  • #51 g_signal_emit
    at gsignal.c line 3441
  • #52 gtk_widget_event_internal
    at gtkwidget.c line 7716
  • #53 gtk_widget_event
    at gtkwidget.c line 7291
  • #54 gtk_window_propagate_key_event
    at gtkwindow.c line 7945
  • #55 gtk_window_key_press_event
    at gtkwindow.c line 7978
  • #56 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #57 g_type_class_meta_marshal
    at gclosure.c line 997
  • #58 g_closure_invoke
    at gclosure.c line 804
  • #59 signal_emit_unlocked_R
    at gsignal.c line 3667
  • #60 g_signal_emit_valist
    at gsignal.c line 3395
  • #61 g_signal_emit
    at gsignal.c line 3441
  • #62 gtk_widget_event_internal
    at gtkwidget.c line 7716
  • #63 gtk_widget_event
    at gtkwidget.c line 7291
  • #64 propagate_event
    at gtkmain.c line 2639
  • #65 gtk_propagate_event
    at gtkmain.c line 2683
  • #66 gtk_main_do_event
    at gtkmain.c line 1879
  • #67 _gdk_event_emit
    at gdkevents.c line 73
  • #68 gdk_event_source_dispatch
    at gdkeventsource.c line 118
  • #69 g_main_dispatch
    at gmain.c line 3201
  • #70 g_main_context_dispatch
    at gmain.c line 3854
  • #71 g_main_context_iterate
    at gmain.c line 3927
  • #72 g_main_context_iteration
    at gmain.c line 3988
  • #73 g_application_run
    at gapplication.c line 2381
  • #74 main
    at main.c line 68

Comment 1 Matthias Clasen 2016-08-11 13:43:08 UTC
That is an error while sending a request to the compositor. Any chance to capture the error message ? The code should produce one:

       if (wl_closure_send(closure, proxy->display->connection))
                wl_abort("Error sending request: %s\n", strerror(errno));
Comment 2 Christian Hergert 2016-08-11 15:35:03 UTC
I haven't been able to reproduce this one yet, but if I do I'll make sure I copy that as well.
Comment 3 Matthias Clasen 2016-09-10 13:22:18 UTC
not much we can do here without more information
Comment 4 Christian Hergert 2016-09-10 16:28:05 UTC
I haven't been able to reproduce since, so fine to close.