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

Kristian Høgsberg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Kristian Høgsberg <[email protected]> ---
This crash is fixed on master:

commit 971165368d22b16f248e82b3d6f4f1f1eedb764e
Author: Xiong Zhang <[email protected]>
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 <[email protected]>

and 1.3 as 98562c36c116c466a20d096413319632c75e603d.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to