[Wayland-bugs] [Bug 758250] New: crash during drag-begin

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 17 16:06:10 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=758250

            Bug ID: 758250
           Summary: crash during drag-begin
    Classification: Platform
           Product: gtk+
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: mclasen at redhat.com
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

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  0x00007ffff00ea598 in raise () from /lib64/libc.so.6
#1  0x00007ffff00ec19a in abort () from /lib64/libc.so.6
#2  0x00007ffff365ac43 in wl_proxy_marshal_array_constructor (
    proxy=proxy at entry=0x7b8120, opcode=opcode at entry=0, 
    args=args at entry=0x7fffffffd380, interface=interface at entry=0x0)
    at src/wayland-client.c:602
#3  0x00007ffff365ad29 in wl_proxy_marshal (proxy=0x7b8120,
opcode=opcode at entry=0)
    at src/wayland-client.c:648
#4  0x00007ffff720302c in wl_data_device_start_drag (serial=123467,
icon=0xc2d880, 
    origin=0x0, source=0xc2d4e0, wl_data_device=<optimized out>)
    at /home/mclasen/gnome/include/wayland-client-protocol.h:999
#5  _gdk_wayland_window_drag_begin (window=<optimized out>, device=0x76a620, 
    targets=<optimized out>) at gdkdnd-wayland.c:378
#6  0x00007ffff7811329 in gtk_drag_begin_internal
(widget=widget at entry=0xc2b140, 
    site=site at entry=0xac5580, target_list=0xa33040, actions=GDK_ACTION_COPY, 
    button=button at entry=1, event=event at entry=0xc24900, x=2, y=13) at
gtkdnd.c:2459
#7  0x00007ffff78154be in gtk_drag_source_event_cb
(widget=widget at entry=0xc2b140, 
    event=<optimized out>, data=0xac5580) at gtkdnd.c:3784
#8  0x00007ffff768e68c in _gtk_marshal_BOOLEAN__BOXED (closure=0xba2f90, 
    return_value=0x7fffffffd810, n_param_values=<optimized out>, 
    param_values=0x7fffffffd8c0, invocation_hint=<optimized out>, 
    marshal_data=<optimized out>) at gtkmarshalers.c:86
#9  0x00007ffff50295e5 in g_closure_invoke (closure=0xba2f90, 
    return_value=return_value at entry=0x7fffffffd810, n_param_values=2, 
    param_values=param_values at entry=0x7fffffffd8c0, 
    invocation_hint=invocation_hint at entry=0x7fffffffd860) at gclosure.c:801
#10 0x00007ffff503ae51 in signal_emit_unlocked_R (node=<optimized out>, 
    detail=detail at entry=0, instance=instance at entry=0xc2b140, 
    emission_return=emission_return at entry=0x7fffffffd9b0, 
    instance_and_params=instance_and_params at entry=0x7fffffffd8c0) at
gsignal.c:3627
#11 0x00007ffff504363a in g_signal_emit_valist (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>, 
    var_args=var_args at entry=0x7fffffffda68) at gsignal.c:3393
#12 0x00007ffff5043df2 in g_signal_emit (instance=instance at entry=0xc2b140, 
    signal_id=<optimized out>, detail=detail at entry=0) at gsignal.c:3439
#13 0x00007ffff77e3c34 in gtk_widget_event_internal (widget=0xc2b140,
event=0xc24990)
    at gtkwidget.c:7821
#14 0x00007ffff768b99e in propagate_event_up (topmost=<optimized out>, 
    event=<optimized out>, widget=0xc2b140) at gtkmain.c:2517
#15 propagate_event (widget=<optimized out>, event=0xc24990, 
    captured=<optimized out>, topmost=0x0) at gtkmain.c:2619
#16 0x00007ffff768d788 in gtk_main_do_event (event=0xc24990) at gtkmain.c:1850
#17 0x00007ffff72032c2 in gdk_event_source_dispatch (base=<optimized out>, 
    callback=<optimized out>, data=<optimized out>) at gdkeventsource.c:90
#18 0x00007ffff4d29c7a in g_main_dispatch (context=0x765d50) at gmain.c:3154
#19 g_main_context_dispatch (context=context at entry=0x765d50) at gmain.c:3769
#20 0x00007ffff4d29fd8 in g_main_context_iterate
(context=context at entry=0x765d50, 
    block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at gmain.c:3840
#21 0x00007ffff4d2a07c in g_main_context_iteration (context=0x765d50, 
    context at entry=0x0, may_block=may_block at entry=1) at gmain.c:3901
#22 0x00007ffff59555ec in g_application_run (application=0x7591a0,
argc=argc at entry=1, 
    argv=argv at entry=0x7fffffffdee8) at gapplication.c:2311
#23 0x0000000000415b08 in main (argc=1, argv=0x7fffffffdee8) at main.c:1177

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151118/35061d33/attachment-0001.html>


More information about the wayland-bugs mailing list