http://bugs.winehq.org/show_bug.cgi?id=29585
--- Comment #32 from Andrew Eikum aeikum@codeweavers.com 2012-02-14 11:12:20 CST --- I wonder if this is another timer skew problem, caused by CreateTimerQueueTimer not being as accurate as we need.
I ran the tests with WINETEST_INTERACTIVE=1 and found I got two different behaviors. About 75% of the time, all tests would pass without fail, although I didn't hear any audio. The other 25% of the time, I'd get similar results to comment 30, where the Wait() call fails continually. Eventually it would crash.
I changed the OSS timer interval to be:
if(!CreateTimerQueueTimer(&This->timer, g_timer_q, - oss_period_callback, This, 0, This->period_us / 1000, + oss_period_callback, This, 0, This->period_us / 1000 * 0.75, WT_EXECUTEINTIMERTHREAD))
and it stopped failing entirely.
Mateusz, could you try this little hack and see if Anomaly's behavior improves, or if that test failure goes away?