[PATCH xserver v2] xwayland: avoid using freed xwl_window on unrealize

Olivier Fourdan ofourdan at redhat.com
Thu Apr 19 15:33:26 UTC 2018


Hi,

On Thu, Apr 19, 2018 at 5:05 PM, Olivier Fourdan <ofourdan at redhat.com>
wrote:

> Looks like we're not done yet :/
>
> I'll try that other patch I sent and see if that makes a difference here,
> could be related according to the backtrace I guess...
>


So yes, https://patchwork.freedesktop.org/patch/217833/ prevents the crash.

I found skypeforlinux to be a excellent test for these issues, like moving
the pointer pover the toplevel menu bar while a menu is opened to map/unmap
the menus quickly would have led to a crash previously. Not anymore, with
https://patchwork.freedesktop.org/patch/217833/ added.

But there are still oddities, like some window remaining black for like 2~3
seconds after re-mapping.

Closing the skypeforlinux toplevel and restoring it by running it again
triggers the black window for a few second issue (skype doesn't really
quit, it remains running, until it's recalled again, so this is the same
X11 client)

Cheers,
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180419/a81ca767/attachment.html>


More information about the xorg-devel mailing list