Skip to content

Fix test_vulkan_interop_image validation errors for early release of VkDeviceMemory#2613

Open
shajder wants to merge 2 commits intoKhronosGroup:mainfrom
shajder:vulkan_VL_interop_image_freeMemory
Open

Fix test_vulkan_interop_image validation errors for early release of VkDeviceMemory#2613
shajder wants to merge 2 commits intoKhronosGroup:mainfrom
shajder:vulkan_VL_interop_image_freeMemory

Conversation

@shajder
Copy link
Contributor

@shajder shajder commented Feb 10, 2026

Related to #2489

@nikhiljnv @karolherbst similar to #2612, I wasn’t able to fully validate this test due to the lack of support for simultaneous import/export semaphores. I’d appreciate your review of this PR, thanks!

@karolherbst
Copy link
Contributor

Still seeing it here. Attached a backtrace breaking on the validation inside the VVL:

149	            skip |= LogError("VUID-vkFreeCommandBuffers-pCommandBuffers-00047", objlist,

(gdb) bt
#0  CoreChecks::PreCallValidateFreeCommandBuffers (this=0x58dd9c0, device=0x5a50310, commandPool=0x6f000000006f, commandBufferCount=1, pCommandBuffers=0x7fffffffbe88, error_obj=...) at /home/kherbst/git/Vulkan-ValidationLayers/layers/core_checks/cc_cmd_buffer.cpp:149
#1  0x00007fffdebe5232 in vulkan_layer_chassis::FreeCommandBuffers (device=0x5a50310, commandPool=0x6f000000006f, commandBufferCount=1, pCommandBuffers=0x7fffffffbe88) at /home/kherbst/git/Vulkan-ValidationLayers/layers/vulkan/generated/chassis.cpp:2248
#2  0x000000000026c48a in VulkanCommandBuffer::~VulkanCommandBuffer() ()
#3  0x000000000022af12 in (anonymous namespace)::run_test_with_one_queue(_cl_context*, _cl_command_queue*, wrapper_details::Wrapper<_cl_kernel*, &clRetainKernel, &clReleaseKernel>*, _cl_kernel*, VulkanDevice&, unsigned int, unsigned int, VulkanExternalSemaphoreHandleType, bool) ()
#4  0x000000000022c3a7 in (anonymous namespace)::BufferTestBase::test_buffer_common(bool) ()
#5  0x000000000022f8bb in int MakeAndRunTest<(anonymous namespace)::BufferCommonBufferTest<false> >(_cl_device_id*, _cl_context*, _cl_command_queue*, int) [clone .isra.0] ()
#6  0x0000000000266d44 in callSingleTestFunction(test_definition, _cl_device_id*, test_harness_config const&) ()
#7  0x00000000002697d9 in callTestFunctions(test_definition*, unsigned char*, test_status*, int, _cl_device_id*, test_harness_config const&) ()
#8  0x0000000000269aec in parseAndCallCommandLineTests(int, char const**, _cl_device_id*, int, test_definition*, test_harness_config const&) ()
#9  0x000000000026ab70 in runTestHarnessWithCheck(int, char const**, int, test_definition*, int, unsigned long, test_status (*)(_cl_device_id*)) ()
#10 0x000000000026abeb in runTestHarness(int, char const**, int, test_definition*, int, unsigned long) ()
#11 0x000000000022631b in main ()

@shajder
Copy link
Contributor Author

shajder commented Feb 20, 2026

Still seeing it here. Attached a backtrace breaking on the validation inside the VVL...

Fixed in separate PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants