Hi Olivier,

On 24 January 2018 at 16:45, Olivier Fourdan <ofour...@redhat.com> wrote:
> This is a rare occurrence of a crash in Xwayland for which I don't have
> the reproducing steps, just a core file.
>
> The backtrace looks as follow:
>   [...]
>
> The crash is caused by dereferencing “xwl_pixmap->buffer” in
> xwl_glamor_pixmap_get_wl_buffer() because “xwl_pixmap” is NULL.
>
> Reason for this is because the corresponding pixmap is from the root
> window and xwayland is rootless by default.
>
> This can happen if the window was mapped, redirected, damaged and
> unredirected immediately, before the damage is processed by Xwayland.
>
> Make sure to remove the dirty window from the damage list on unrealize
> to prevent this from happening.
>
> Credit goes to Adam Jackson <a...@nwnk.net> and Daniel Stone
> <dan...@fooishbar.org> for finding the root cause the issue.
>
> Signed-off-by: Olivier Fourdan <ofour...@redhat.com>

This is also:
Reviewed-by: Daniel Stone <dani...@collabora.com>

Cheers,
Daniel
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to