Skip to content

seg fault went called vkCmdPushDescriptorSet with validation layer. #11249

@SSSS-VIII

Description

@SSSS-VIII

Environment:

  • OS: fedora 43
  • GPU and driver version: NV | NVIDIA-SMI 580.105.08
  • SDK or header version if building from repo: 1.4.312
  • Options enabled (synchronization, best practices, etc.): no

enable validation layers and use vkCmdPushDescriptorSet to push a Set in to hlsl shader, app crash. when disable validation layer it will be fine. I was using vertex buffer and cleaned all validation errs before , after I switch to using structure buffer in hlsl and use this API to push buffer the validation layer crash.

and I can't debug this problem , I got a gdb full stack below: I have build a debug ver validation layer from this repo and enable the layer I built, but the gdb sitll can't give a call stack, the command gdb provied cannot download that debuginfo, I think the nv driver dose not have a debuginfo at all ?I dont know what wrong, maybe someone can help me to get a gdb stack?

Thread 1 "linncube" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
Missing rpms, try: dnf --enablerepo='debug' install xorg-x11-drv-nvidia-libs-debuginfo-580.105.08-1.fc43.x86_64
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x0000000000404058 in main (argc=4, argv=0x7fffffffdcd8) at /home/linn/linncube/linncube.c:1007

1007 : vkCmdPushDescriptorSet(cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout, 0, ARRAY_SIZE(vkWriteDescSets), vkWriteDescSets);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions