kernel32/tests: Convert fiber back to thread even when IsThreadAFiber is not available.

André Hentschel nerv at
Sun Aug 7 08:21:24 CDT 2016

Am 06.08.2016 um 14:40 schrieb Bernhard Übelacker:
> Testbot shows the fiber test failing for Windows 2003 recently.
> This is probably related to the last change in
> As Windows 2003 seems to have no IsThreadAFiber the test never
> calls test_ConvertFiberToThread.
> This leads probably sometimes to the crash now visible.
> By calling test_ConvertFiberToThread before return the crash disappears
> on Windows 2003.
> Signed-off-by: Bernhard Übelacker <bernhardu at>

true, test_ConvertThreadToFiber() sets fibers[0], so in FiberMainProc there is a problem calling pSwitchToFiber(fibers[0]);
Your patch fixes this.

Signed-off-by: André Hentschel <nerv at>

More information about the wine-patches mailing list