[Wayland-bugs] [Bug 85475] Copy and paste not working properly + crash
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 25 07:40:56 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=85475
--- Comment #5 from Artem Chudinov <arzeth0 at gmail.com> ---
In Weston 1.9.0 the steps to reproduce are:
(Optional step) 0. Run in another tty:
sleep 60 && killall -9 Xwayland
(-9 is necessary). It helps to get rid of the lockup.
1. Run `weston` in any X11 environment or run `weston-launch` in a tty.
2. Open any X11 app (firefox, for example).
(Optional step) 3. Close it.
4. Open gnome-terminal (also you can this step before step 2).
5. Select something.
6. Copy the selection using Ctrl+Shift+C or using a context menu.
(Optional step 7). Deselect the selection.
(Optional step 8). Click in the terminal with the right mouse button, select
"Profile" -> "Profile Preferences". Close the popup window, nothing bad should
happen.
9. Either repeat step 6 or just close gnome-terminal.
10. Now keyboard and mouse don't work. Switching to another tty doesn't work.
Process `weston` (or `weston-launch`) slowly increases its CPU usage to 100%
(only 1 thread).
After the recent commit
http://cgit.freedesktop.org/wayland/weston/commit/?id=a1f3f3c9f209be52d19793d36bbda68ca24a714e
the steps to reproduce now are:
1-8 steps are the same.
9. Now you can safely copy & paste a text, and you can safely close
gnome-terminal.
10. Run an X11 app. The same lockup happens immediately.
My weston's log's last messages are the same as for Jonas Heinrich.
The infinite loop is `weston_wm_handle_event`'s `while`:
http://cgit.freedesktop.org/wayland/weston/tree/xwayland/window-manager.c#n1913
The message `xfixes selection notify event: owner 0` is output by
`weston_wm_handle_selection_event` which is called in the loop.
By the way, there is no such issue in sway (i3-compatible window manager for
Wayland, it uses wlc).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150925/22fb52f4/attachment.html>
More information about the wayland-bugs
mailing list