-
Notifications
You must be signed in to change notification settings - Fork 664
Very high memory usage in spirv-val with given test file #2837
Copy link
Copy link
Closed
Labels
api:vulkanfuzzer-found-issueA note that an issue was found using a fuzzer tool (e.g. GraphicsFuzz)A note that an issue was found using a fuzzer tool (e.g. GraphicsFuzz)
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api:vulkanfuzzer-found-issueA note that an issue was found using a fuzzer tool (e.g. GraphicsFuzz)A note that an issue was found using a fuzzer tool (e.g. GraphicsFuzz)