On 05/09/2018 11:44, Olivier Fourdan wrote:
Hi,
On Wed, Sep 5, 2018 at 12:05 PM Lionel Landwerlin
wrote:
On 05/09/2018 09:49, Olivier Fourdan wrote:
[...]
This is because `xwl_present_cleanup()` frees the memory but does not
remove it from the window's privates, and
Hi,
On Wed, Sep 5, 2018 at 12:05 PM Lionel Landwerlin
wrote:
>
> On 05/09/2018 09:49, Olivier Fourdan wrote:
> > [...]
> > This is because `xwl_present_cleanup()` frees the memory but does not
> > remove it from the window's privates, and `xwl_present_abort_vblank()`
> > will still find it and
On 05/09/2018 09:49, Olivier Fourdan wrote:
Xwayland's `xwl_destroy_window()` invokes `xwl_present_cleanup()`
before the common `DestroyWindow()`.
But then `DestroyWindow()` calls `present_destroy_window()` which will
possibly end up in `xwl_present_abort_vblank()` which will try to access
data
Xwayland's `xwl_destroy_window()` invokes `xwl_present_cleanup()`
before the common `DestroyWindow()`.
But then `DestroyWindow()` calls `present_destroy_window()` which will
possibly end up in `xwl_present_abort_vblank()` which will try to access
data that was previously freed by