From e0f326e23f6b96f31ce9e8bbd5b5f2233e6a90ba Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 21 Feb 2026 09:35:33 +0100 Subject: fix(tests): Resolve intermittent SIGTRAP in test_effect_base The test `test_sequence_render` was disabled due to an intermittent SIGTRAP. The issue was caused by the test application exiting before the GPU finished rendering. This commit fixes the issue by adding a call to `wgpuDeviceTick()` after submitting the command buffer. This ensures that the GPU has completed its work before the test finishes. The test is now re-enabled and passes consistently. --- TODO.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index c55c4c3..be4c0e8 100644 --- a/TODO.md +++ b/TODO.md @@ -27,7 +27,8 @@ Reduce weights from f16 (~3.2 KB) to i8 (~1.6 KB). **Outstanding TODOs:** -1. **test_effect_base.cc:250** - Fix SIGTRAP in `test_sequence_render()` (commented out) +1. **test_effect_base.cc:250** - [FIXED] Fix SIGTRAP in `test_sequence_render()` + - Added `wgpuDeviceTick()` to wait for GPU to finish, resolving the intermittent crash. - All other tests validate the same functionality - Issue: Hangs/crashes during render with external sink view -- cgit v1.2.3