[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
Thu May 10 16:16:02 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106442
--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
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;
--
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/20180510/91790a11/attachment.html>
More information about the wayland-bugs
mailing list