<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - process /usr/bin/Xwayland consume 100% CPU resources and GUI stop respond"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106442#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - process /usr/bin/Xwayland consume 100% CPU resources and GUI stop respond"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106442">bug 106442</a>
from <span class="vcard"><a class="email" href="mailto:mikhail.v.gavrilov@gmail.com" title="mikhail.v.gavrilov@gmail.com">mikhail.v.gavrilov@gmail.com</a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=106442#c11">comment #11</a>)
<span class="quote">> 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;</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>