Skip to content

Very high memory usage in spirv-val with given test file #2837

@zoddicus

Description

@zoddicus

This originated as fuzzing case discovered by Chromium, https://bugs.chromium.org/p/chromium/issues/detail?id=997499. It reproduces when using the Vulkan Execution Env, but not when using the WebGPU one.

Even though the fuzzer is for the optimizer my investigations suggest that the memory usage issue is actually in spirv-val, since the stack trace I get on the OOM is in BuiltIn validation. If given enough memory to work with the fuzzer case will complete, so I don't think it is an infinite loop, but likely a pathological case. Given it doesn't reproduce for WebGPU @dneto0 was suggesting it might be related to decoration groups.

test-case.spv.zip

Metadata

Metadata

Assignees

Labels

api:vulkanfuzzer-found-issueA note that an issue was found using a fuzzer tool (e.g. GraphicsFuzz)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions