[Wayland-bugs] [Bug 106442] process /usr/bin/Xwayland consume 100% CPU resources and GUI stop respond

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 12 14:02:06 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106442

--- Comment #14 from mikhail.v.gavrilov at gmail.com ---
(In reply to Chris Wilson from comment #11)
> glamor_fds_from_pixmap is returning -1 on error,
> proc_dri3_buffers_from_pixmap expects 0 on error.
> 
> diff --git a/dri3/dri3_request.c b/dri3/dri3_request.c
> index e34bebedb..79e3c8e2c 100644
> --- a/dri3/dri3_request.c
> +++ b/dri3/dri3_request.c
> @@ -520,7 +520,7 @@ proc_dri3_buffers_from_pixmap(ClientPtr client)
>      }
>  
>      num_fds = dri3_fds_from_pixmap(pixmap, fds, strides, offsets,
> &modifier);
> -    if (num_fds == 0)
> +    if (num_fds <= 0)
>          return BadPixmap;
>  
>      rep.nfd = num_fds;

Today this problem happened on patched system.
But case was different:
1. launch Firefox
2. switch firefox in fullscrenn mode by F11
-- here GUI hung and gnome-shell process begin consume 100%
I got backtrace from gnome-shell process and after it Xwayland begins consume
100%

All backtraces attached below.

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


More information about the wayland-bugs mailing list