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 758250 - crash during drag-begin
crash during drag-begin
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-11-18 00:06 UTC by Matthias Clasen
Modified: 2015-11-19 22:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2015-11-18 00:06:10 UTC
open the clipboard example in gtk3-demo, click on the image button, and then *quickly* drag out of the window. If you are fast enough, drag-begin gets emitted when there is already no application window under the pointer anymore, and you get this crash:


  • #0 raise
    from /lib64/libc.so.6
  • #1 abort
    from /lib64/libc.so.6
  • #2 wl_proxy_marshal_array_constructor
    at src/wayland-client.c line 602
  • #3 wl_proxy_marshal
    at src/wayland-client.c line 648
  • #4 wl_data_device_start_drag
    at /home/mclasen/gnome/include/wayland-client-protocol.h line 999
  • #5 _gdk_wayland_window_drag_begin
    at gdkdnd-wayland.c line 378
  • #6 gtk_drag_begin_internal
    at gtkdnd.c line 2459
  • #7 gtk_drag_source_event_cb
    at gtkdnd.c line 3784
  • #8 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #9 g_closure_invoke
    at gclosure.c line 801
  • #10 signal_emit_unlocked_R
    at gsignal.c line 3627
  • #11 g_signal_emit_valist
    at gsignal.c line 3393
  • #12 g_signal_emit
    at gsignal.c line 3439
  • #13 gtk_widget_event_internal
    at gtkwidget.c line 7821
  • #14 propagate_event_up
    at gtkmain.c line 2517
  • #15 propagate_event
    at gtkmain.c line 2619
  • #16 gtk_main_do_event
    at gtkmain.c line 1850
  • #17 gdk_event_source_dispatch
    at gdkeventsource.c line 90
  • #18 g_main_dispatch
    at gmain.c line 3154
  • #19 g_main_context_dispatch
    at gmain.c line 3769
  • #20 g_main_context_iterate
    at gmain.c line 3840
  • #21 g_main_context_iteration
    at gmain.c line 3901
  • #22 g_application_run
    at gapplication.c line 2311
  • #23 main
    at main.c line 1177

Comment 1 Carlos Garnacho 2015-11-19 22:49:16 UTC
I pushed https://git.gnome.org/browse/gtk+/commit/?id=ec65c6d1ce8a5387016851646342d2ecc6fd7bbb that fixes this issue.