| Summary: | Weston infinite loop, 100% CPU when client preview activated during fullscreen | ||
|---|---|---|---|
| Product: | Wayland | Reporter: | U. Artie Eoff <ullysses.a.eoff> |
| Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | medium | CC: | anasuyax.r.nannuri, pochu27 |
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
U. Artie Eoff
2013-12-06 16:36:18 UTC
This can be reproduced on desktop-shell running on x11 and drm backends. Weston actually ends up hogging 100% CPU and starts allocating huge amounts of memory until it runs out. *** Bug 72856 has been marked as a duplicate of this bug. *** I've sent a patch to the ml. commit e6bbe5a90d1ea91624ebdbdb7abdc7a1bbe9829d Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> Date: Tue Jan 7 16:41:39 2014 +0100 exposay: fix infinite loop with fullscreen surfaces We were calling exposay_highlight_surface() inside a wl_list_for_each loop for a layer, but exposay_highlight_surface() calls activate() which calls shell_surface_update_layer(), which removes the surface from its layer and reinserts it, causing an infinite loop. Call exposay_highlight_surface() outside the for_each to avoid this. https://bugs.freedesktop.org/show_bug.cgi?id=72404 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.