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

segfault in hlsl example in validation layer #220

Open
expipiplus1 opened this issue Nov 24, 2020 · 2 comments
Open

segfault in hlsl example in validation layer #220

expipiplus1 opened this issue Nov 24, 2020 · 2 comments

Comments

@expipiplus1
Copy link
Owner

Could be this: KhronosGroup/Vulkan-ValidationLayers#2217, this issue is a reminder for me to resolve this.

only happens when VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT is enabled

Thread 1 "hlsl" received signal SIGSEGV, Segmentation fault.
0x00007fff8a372364 in ?? ()
   from /nix/store/dkpjsm1cz1fl9zda66vhy8g9l4ixpbir-nvidia-x11-455.46.02-5.4.78/lib/libnvidia-glcore.so.455.46.02
(gdb) bt
#0  0x00007fff8a372364 in ?? ()
   from /nix/store/dkpjsm1cz1fl9zda66vhy8g9l4ixpbir-nvidia-x11-455.46.02-5.4.78/lib/libnvidia-glcore.so.455.46.02
#1  0x00007fff4f59e10b in DispatchCmdBindDescriptorSets(VkCommandBuffer_T*, VkPipelineBindPoint, VkPipelineLayout_T*, unsigned int, unsigned int, VkDescriptorSet_T* const*, unsigned int, unsigned int const*) ()
   from /nix/store/p3ss3a6mmaglyghcs82dhd4308r7fjf2-vulkan-validation-layers-1.2.141.0/lib/libVkLayer_khronos_validation.so
#2  0x00007fff4f861f28 in DebugPrintf::AllocateDebugPrintfResources(VkCommandBuffer_T*, VkPipelineBindPoint) ()
   from /nix/store/p3ss3a6mmaglyghcs82dhd4308r7fjf2-vulkan-validation-layers-1.2.141.0/lib/libVkLayer_khronos_validation.so
#3  0x00007fff4f4dcdcf in vulkan_layer_chassis::CmdDraw(VkCommandBuffer_T*, unsigned int, unsigned int, unsigned int, unsigned int) ()
   from /nix/store/p3ss3a6mmaglyghcs82dhd4308r7fjf2-vulkan-validation-layers-1.2.141.0/lib/libVkLayer_khronos_validation.so
#4  0x000000000043ac07 in ?? () at hlsl/Render.hs:125
#5  0x0000000000000000 in ?? ()

in vkCmdDraw

@expipiplus1
Copy link
Owner Author

Still happens with 1.2.162 validation layers

@expipiplus1
Copy link
Owner Author

and 1.2.182

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

No branches or pull requests

1 participant