On Tue Dec 2 19:36:04 2025 +0000, Michael Stefaniuc wrote:
I was wondering what was failing because I saw no `Test failed` in the raw log. But the dmime test just hangs and gets killed after 2 minutes ``` dmime.c:3806:0.934 Test marked todo: got dwGroupID 0 dmime:dmime:02ec done (258) in 120s 5096B ``` I can reproduce it starting with the patch `dmsynth: Call GetCurrentPosition from a separate thread.` Fixed. The issue was caused by a DirectSound buffer leak in `synth_sink_activate`, which continued to play and trigger notifications after the notification event was closed. The event handle was then reused by `CreateEventW` in `synth_sink_activate` for another sink, causing `synth_sink_activate` to exit prematurely, which in turn caused an invalid stack memory access when `synth_sink_render_thread` tried to read `params`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9651#note_124527