two tests fail in swiftshader flow on macos-clang-debug
Closed this issue · 1 comments
From testing #998
Testing /Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/texture_lod.amber
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkFreeMemory-memory-00677 ] Object 0: handle = 0x7f802547d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x485c8ea2 | Cannot call vkFreeMemory on VkDeviceMemory 0x210d07000000003a[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to memory (via images or buffers) must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkFreeMemory-memory-00677)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyRenderPass-renderPass-00873 ] Object 0: handle = 0x7f802547d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x473619ad | Cannot call vkDestroyRenderPass on VkRenderPass 0xb097c90000000027[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to renderPass must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyRenderPass-renderPass-00873)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyFramebuffer-framebuffer-00892 ] Object 0: handle = 0x7f802547d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xdb308312 | Cannot call vkDestroyFramebuffer on VkFramebuffer 0xa43473000000002d[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to framebuffer must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyFramebuffer-framebuffer-00892)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyImage-image-01000 ] Object 0: handle = 0x7f802547d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf2d29b5a | Cannot call vkDestroyImage on VkImage 0x3fbcd60000000028[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to image, either directly or via a VkImageView, must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyImage-image-01000)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkFreeMemory-memory-00677 ] Object 0: handle = 0x7f802547d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x485c8ea2 | Cannot call vkFreeMemory on VkDeviceMemory 0xb12fb2000000002c[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to memory (via images or buffers) must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkFreeMemory-memory-00677)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyFence-fence-01120 ] Object 0: handle = 0xa2eb680000000026, type = VK_OBJECT_TYPE_FENCE; | MessageID = 0x5d296248 | VkFence 0xa2eb680000000026[] is in use. The Vulkan spec states: All queue submission commands that refer to fence must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyFence-fence-01120)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkFreeCommandBuffers-pCommandBuffers-00047 ] Object 0: handle = 0x6000006b4650, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x1ab902fc | Attempt to free VkCommandBuffer 0x6000006b4650[] which is in use. The Vulkan spec states: All elements of pCommandBuffers must not be in the pending state (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkFreeCommandBuffers-pCommandBuffers-00047)
/Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/texture_lod.amber: Vulkan::Calling vkWaitForFences Timeout
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x7f802547d010, type = VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0x2723ba0000000037, type = VK_OBJECT_TYPE_PIPELINE_LAYOUT; | MessageID = 0x71500fba | OBJ ERROR : For VkDevice 0x7f802547d010[], VkPipelineLayout 0x2723ba0000000037[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x7f802547d010, type = VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0x59f7450000000038, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x71500fba | OBJ ERROR : For VkDevice 0x7f802547d010[], VkPipeline 0x59f7450000000038[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)
/tmpfs/src/github/amber/third_party/swiftshader/src/Vulkan/VkImageView.cpp:375 ABORT: ASSERT(mipLevel < subresourceRange.levelCount)
Command '['/tmpfs/src/github/amber/build/amber', '-q', '/Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/texture_lod.amber']' died with <Signals.SIGABRT: 6>.
Testing /Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/draw_rect_and_draw_array_mixed.vkscript
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkFreeMemory-memory-00677 ] Object 0: handle = 0x7fbbcb47d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x485c8ea2 | Cannot call vkFreeMemory on VkDeviceMemory 0xdd3a8a0000000015[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to memory (via images or buffers) must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkFreeMemory-memory-00677)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyRenderPass-renderPass-00873 ] Object 0: handle = 0x7fbbcb47d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x473619ad | Cannot call vkDestroyRenderPass on VkRenderPass 0xf443490000000006[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to renderPass must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyRenderPass-renderPass-00873)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyFramebuffer-framebuffer-00892 ] Object 0: handle = 0x7fbbcb47d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xdb308312 | Cannot call vkDestroyFramebuffer on VkFramebuffer 0xe88693000000000c[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to framebuffer must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyFramebuffer-framebuffer-00892)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyImage-image-01000 ] Object 0: handle = 0x7fbbcb47d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf2d29b5a | Cannot call vkDestroyImage on VkImage 0xcb3ee80000000007[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to image, either directly or via a VkImageView, must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyImage-image-01000)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkFreeMemory-memory-00677 ] Object 0: handle = 0x7fbbcb47d010, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x485c8ea2 | Cannot call vkFreeMemory on VkDeviceMemory 0xec4bec000000000b[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to memory (via images or buffers) must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkFreeMemory-memory-00677)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyFence-fence-01120 ] Object 0: handle = 0xe7f79a0000000005, type = VK_OBJECT_TYPE_FENCE; | MessageID = 0x5d296248 | VkFence 0xe7f79a0000000005[] is in use. The Vulkan spec states: All queue submission commands that refer to fence must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyFence-fence-01120)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkFreeCommandBuffers-pCommandBuffers-00047 ] Object 0: handle = 0x600001069500, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x1ab902fc | Attempt to free VkCommandBuffer 0x600001069500[] which is in use. The Vulkan spec states: All elements of pCommandBuffers must not be in the pending state (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkFreeCommandBuffers-pCommandBuffers-00047)
/Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/draw_rect_and_draw_array_mixed.vkscript: Vulkan::Calling vkWaitForFences Timeout
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x7fbbcb47d010, type = VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0xdcc8fd0000000012, type = VK_OBJECT_TYPE_PIPELINE_LAYOUT; | MessageID = 0x71500fba | OBJ ERROR : For VkDevice 0x7fbbcb47d010[], VkPipelineLayout 0xdcc8fd0000000012[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x7fbbcb47d010, type = VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0xd175b40000000013, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x71500fba | OBJ ERROR : For VkDevice 0x7fbbcb47d010[], VkPipeline 0xd175b40000000013[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)
Command '['/tmpfs/src/github/amber/build/amber', '-q', '/Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/draw_rect_and_draw_array_mixed.vkscript']' died with <Signals.SIGSEGV: 11>.
Summary of Failures:
/Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/draw_rect_and_draw_array_mixed.vkscript
/Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/texture_lod.amber
texture_lod.amber fails with
/tmpfs/src/github/amber/third_party/swiftshader/src/Vulkan/VkImageView.cpp:375 ABORT: ASSERT(mipLevel < subresourceRange.levelCount)
draw_rect_and_draw_array_mixed.vkscript fails with:
/Volumes/BuildData/tmpfs/src/github/amber/./tests/cases/draw_rect_and_draw_array_mixed.vkscript: Vulkan::Calling vkWaitForFences Timeout