[Wayland-bugs] [Bug 765062] Wayland: Inspector GtkLabel drag'n'drop freezes gnome-shell session

mutter (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 25 08:07:38 UTC 2016


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

Jonas Ådahl <jadahl at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jadahl at gmail.com

--- Comment #2 from Jonas Ådahl <jadahl at gmail.com> ---
I didn't manage to reproduce this in bare mutter. There, trying to reproduce
what you describe kills the client because it sends bogus requests (it tries to
pass an object with the wrong type).

When trying on gnome-shell, it does indeed freeze the session, and the reason
it freezes is that it gets into a loop that never ends in block_source() in
gmain.c where for some reason tmp_list == tmp_list->next == tmp_list->data.

The reason for things breaking, anyhow, seems to be because when the inspector
is open, there are two connections open to the Wayland compositor, and when
selecting text and dragging, gtk creates a buffer with one connection, then
tries to attach it to a surface on another connection.

We first need to fix this on the gtk side, by not mixing objects on different
connections, but we should also look into why gnome-shell ends up messing up
the sources. I will first continue investigating where mutter can't handle
invalid input.

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


More information about the wayland-bugs mailing list