Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture example crashes on resize attempt on OS X #218

Closed
buzmeg opened this issue Jun 2, 2019 · 2 comments
Closed

Texture example crashes on resize attempt on OS X #218

buzmeg opened this issue Jun 2, 2019 · 2 comments

Comments

@buzmeg
Copy link

buzmeg commented Jun 2, 2019

If I run the texture example and try to resize it, it crashes.

$ cargo run --bin texture
    Finished dev [unoptimized + debuginfo] target(s) in 0.15s
     Running `/Users/andrewl/rust/ash/target/debug/texture`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ERROR_OUT_OF_DATE_KHR', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x1e (Type = 8) | OBJ ERROR : For device 0x7f9e63019210, DeviceMemory object 0x1e 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x1c (Type = 8) | OBJ ERROR : For device 0x7f9e63019210, DeviceMemory object 0x1c 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x1a (Type = 8) | OBJ ERROR : For device 0x7f9e63019210, DeviceMemory object 0x1a 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x18 (Type = 8) | OBJ ERROR : For device 0x7f9e63019210, DeviceMemory object 0x18 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x16 (Type = 8) | OBJ ERROR : For device 0x7f9e63019210, DeviceMemory object 0x16 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x1b (Type = 9) | OBJ ERROR : For device 0x7f9e63019210, Buffer object 0x1b 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x19 (Type = 9) | OBJ ERROR : For device 0x7f9e63019210, Buffer object 0x19 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x17 (Type = 9) | OBJ ERROR : For device 0x7f9e63019210, Buffer object 0x17 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x15 (Type = 9) | OBJ ERROR : For device 0x7f9e63019210, Buffer object 0x15 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x1d (Type = 10) | OBJ ERROR : For device 0x7f9e63019210, Image object 0x1d 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x21 (Type = 14) | OBJ ERROR : For device 0x7f9e63019210, ImageView object 0x21 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x26 (Type = 15) | OBJ ERROR : For device 0x7f9e63019210, ShaderModule object 0x26 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x25 (Type = 15) | OBJ ERROR : For device 0x7f9e63019210, ShaderModule object 0x25 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x27 (Type = 17) | OBJ ERROR : For device 0x7f9e63019210, PipelineLayout object 0x27 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x11 (Type = 18) | OBJ ERROR : For device 0x7f9e63019210, RenderPass object 0x11 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x28 (Type = 19) | OBJ ERROR : For device 0x7f9e63019210, Pipeline object 0x28 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x23 (Type = 20) | OBJ ERROR : For device 0x7f9e63019210, DescriptorSetLayout object 0x23 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x20 (Type = 21) | OBJ ERROR : For device 0x7f9e63019210, Sampler object 0x20 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x22 (Type = 22) | OBJ ERROR : For device 0x7f9e63019210, DescriptorPool object 0x22 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x24 (Type = 23) | OBJ ERROR : For device 0x7f9e63019210, DescriptorSet object 0x24 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x14 (Type = 24) | OBJ ERROR : For device 0x7f9e63019210, Framebuffer object 0x14 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x13 (Type = 24) | OBJ ERROR : For device 0x7f9e63019210, Framebuffer object 0x13 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
" [ VUID-vkDestroyDevice-device-00378 ] Object: 0x12 (Type = 24) | OBJ ERROR : For device 0x7f9e63019210, Framebuffer object 0x12 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.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)"
Segmentation fault: 11

@MaikKlein
Copy link
Member

This is expected because the examples don't implement swapchain resizing. #190

@buzmeg
Copy link
Author

buzmeg commented Mar 7, 2023

Close as won't fix and I no longer am tracking this.

@buzmeg buzmeg closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants