webgpu-cpp: TestComputeFrustumCulling flaky with mesa-vulkan-drivers
VTK::RenderingWebGPUCxx-TestComputeFrustumCulling
crashes at random on a system with mesa-vulkan-drivers
. Sometimes, it prints the error free(): corrupted unsorted chunks
log:
190/2153 Test #200: VTK::RenderingWebGPUCxx-TestComputeFrustumCulling ............................................Subprocess aborted***Exception: 1.27 sec
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Warning: GetProperties is deprecated, use GetInfo instead.
( 0.193s) [main thread ] vtkWGPUContext.cxx:167 INFO| (vtkWGPUContext): Selected adapter llvmpipe (LLVM 17.0.6, 256 bits) (device=0x0 vendor=0x10005 type=CPU/Vulkan)
Warning: DeviceDescriptor.deviceLostCallback and DeviceDescriptor.deviceLostUserdata are deprecated. Use DeviceDescriptor.deviceLostCallbackInfo instead.
Warning: SetUncapturedErrorCallback is deprecated. Pass the callback in the device descriptor instead.
( 0.254s) [main thread ] vtkWGPUContext.cxx:211 INFO| (vtkWGPUContext): Available adapters:
llvmpipe (LLVM 17.0.6, 256 bits)(llvmpipe: Mesa 23.3.6 (LLVM 17.0.6) 0.0.1)
deviceID=0, vendorID=0x10005, BackendType::Vulkan, AdapterType::CPU
( 0.255s) [main thread ] vtkWGPUContext.cxx:167 INFO| (vtkWGPUContext): Selected adapter llvmpipe (LLVM 17.0.6, 256 bits) (device=0x0 vendor=0x10005 type=CPU/Vulkan)
Warning: DeviceDescriptor.deviceLostCallback and DeviceDescriptor.deviceLostUserdata are deprecated. Use DeviceDescriptor.deviceLostCallbackInfo instead.
Warning: The explicit creation of a SwapChain object is deprecated and should be replaced by Surface configuration.
Warning: Old MapAsync APIs are deprecated. If using C please pass a CallbackInfo struct that has two userdatas. Otherwise, if using C++, please use templated helpers.
Warning: Old OnSubmittedWorkDone APIs are deprecated. If using C please pass a CallbackInfo struct that has two userdatas. Otherwise, if using C++, please use templated helpers.
free(): corrupted unsorted chunks
To reproduce locally with mesa, try ctest -R TestComputeFrustumCulling --repeat-until-fail=100
, it will either hang or segfault