[Bug 102578] [Vulkan CTS] crashes in some dEQP-VK.wsi.wayland.* tests

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 11 18:28:44 UTC 2018


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

Jason Ekstrand <jason at jlekstrand.net> changed:

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

--- Comment #3 from Jason Ekstrand <jason at jlekstrand.net> ---
This should be fixed as of the following commit:

commit 43691024982b3ea734ad001bd53cc7b563ccce5a
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Sep 26 08:30:22 2017 -0700

    vulkan/wsi/wayland: Stop caching Wayland displays

    We originally implemented caching to avoid unneeded round-trips to the
    compositor when querying surface capabilities etc. to set up the
    swapchain.  Unfortunately, this doesn't work if vkDestroyInstance is
    called after the Wayland connection has been dropped.  In this case, we
    end up trying to clean up already destroyed wl_proxy objects which leads
    to crashes.  In particular most of dEQP-VK.wsi.wayland is crashing
    thanks to this problem.

    This commit gets rid of the cache and simply embeds the wsi_wl_display
    struct in the swapchain.  While we're at it, we can get rid of the
    wl_event_queue that we were storing in the swapchain because we can just
    use the one in the embedded wsi_wl_display.

    Reviewed-by: Daniel Stone <daniels at collabora.com>
    Bugzilla: https://bugs.freedesktop.org/102578
    Cc: mesa-stable at lists.freedesktop.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180511/9059185e/attachment.html>


More information about the intel-3d-bugs mailing list