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

André Hentschel nerv at dawncrow.de
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.
> https://test.winehq.org/data/tests/kernel32:fiber.html
>
> This is probably related to the last change in
> http://source.winehq.org/git/wine.git/commit/556fef3dd184e71e1f0345bd8f37259c88a6f078
>
> 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 mailbox.org>

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 dawncrow.de>





More information about the wine-patches mailing list