[Wayland-bugs] [Bug 69777] [bug] Launching application on disconnected display will segfault Weston
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 27 05:23:28 CET 2013
https://bugs.freedesktop.org/show_bug.cgi?id=69777
Kristian Høgsberg <krh at bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Kristian Høgsberg <krh at bitplanet.net> ---
This crash is fixed on master:
commit 971165368d22b16f248e82b3d6f4f1f1eedb764e
Author: Xiong Zhang <xiong.y.zhang at intel.com>
Date: Wed Oct 23 13:58:31 2013 +0800
compositor: set surface->plane from destroyed plane to NULL
In drm backend, the cursor_surface->plane point to
drm_output->cursor_plane.when this output is removed,
drm_output->cursor_plane is destroyed, butcursor_surface->plane
still point to destroyed plane. So once mouse move to this
cursor_surface and system will repaint this cursor_surface,
segment fault will generate in weston_surface_damage_below() function.
V2:
-set surface->plane to NULL whose plane point to unplugged output,
then change weston_surface_damage_below() to do nothing if
surface->plane is NULL (Kristian)
-set surface->plane to NULL in weston_surface_unmap(),
so that all surfaces that have a non-NULL plane pointer wil be
on compositor->surface_list (Kristian).
bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69777
Signed-off-by: Xiong Zhang <xiong.y.zhang at intel.com>
and 1.3 as 98562c36c116c466a20d096413319632c75e603d.
--
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/20131027/c16e71d9/attachment.html>
More information about the Wayland-bugs
mailing list