Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134758

QVulkanWindow sometimes crashes and vulkan validation layer may say that surface is destroyed before the swapchain

    XMLWordPrintable

Details

    • Linux/Wayland

    Description

      It is rare crash, but could sometimes be reproduced with attached example by clicking the show/hide button.

      It might output something like this also:

      vkDebug: Validation Error: [ VUID-vkDestroySurfaceKHR-surface-01266 ] Object 0: handle = 0x6111e0b48680, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xbed408e4 | vkDestroySurfaceKHR(): called before its associated VkSwapchainKHR was destroyed.
      The Vulkan spec states: All VkSwapchainKHR objects created for surface must have been destroyed prior to destroying surface (https://vulkan.lunarg.com/doc/view/1.3.296.0/linux/1.3-extensions/vkspec.html#VUID-vkDestroySurfaceKHR-surface-01266)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes