0

I'm using Vulkan to create a simple program. After I resize the window, the validation layer gives me this output. The resize itself works fine. What does it say? The complete error is following:

UNASSIGNED-Threading-Info(ERROR / SPEC): msgNum: 1567320034 - Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0xee3a9100000000b4, type = VK_OBJECT_TYPE_UNKNOWN; | MessageID = 0x5d6b67e2 | Couldn't find VkNonDispatchableHandle Object 0xee3a9100000000b4. This should not happen and may indicate a bug in the application. Objects: 1 [0] 0xee3a9100000000b4, type: 0, name: NULL

What causes the problem?

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
Plugrol Huldo
  • 21
  • 1
  • 4
  • What layer version? Which other layers are running (including implicit ones)? – krOoze Apr 22 '21 at 20:58
  • Vulkan version 1.2.170.0 and this is the only layer, that is running. – Plugrol Huldo Apr 23 '21 at 07:03
  • VK_LAYER_KHRONOS_validation is the name of the layer. – Plugrol Huldo Apr 23 '21 at 07:05
  • The message means the threading layer is not aware that object (`0xee3a9100000000b4`) exists (i.e. it was not ever created, or was since destroyed). Object Lifetime layer should generally catch errors of this type though (so that's why it says it shouldn't usually happen). To get to bottom of this, would need debugging details... – krOoze Apr 23 '21 at 12:32
  • `VK_LAYER_LUNARG_api_dump` should suffice here. Put it **before** `VK_LAYER_KHRONOS_validation` and it should show what the layers see. – krOoze Apr 23 '21 at 12:37

1 Answers1

0

I fixed it up.

The reason, that caused the Problem was, that I tried to destroy a Swapchain which was set to VK_NULL_HANDLE.

Plugrol Huldo
  • 21
  • 1
  • 4