https://bugs.winehq.org/show_bug.cgi?id=51894
Bug ID: 51894 Summary: ucrtbase:misc fails on some Windows 10 1607 and 1709 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: ucrtbase Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ucrtbase:misc fails on some Windows 10 1607 and 1709 machines:
misc.c:372: Test failed: unexpected call global_invalid_parameter_handler misc.c:1559: Test failed: creating file with mode wx failed misc.c:372: Test failed: unexpected call global_invalid_parameter_handler misc.c:372: Test failed: unexpected call global_invalid_parameter_handler misc.c:372: Test failed: unexpected call global_invalid_parameter_handler misc.c:1567: Test failed: creating file with mode w+x failed misc.c:372: Test failed: unexpected call global_invalid_parameter_handler misc.c:372: Test failed: unexpected call global_invalid_parameter_handler misc.c:372: Test failed: unexpected call global_invalid_parameter_handler misc.c:1585: Test failed: creating file with mode wx failed misc.c:372: Test failed: unexpected call global_invalid_parameter_handler
It looks like these versions of Windows 10 have a ucrtbase.dll that does not like some exclusive mode combinations.
cw-gtx560-1507 10.0.10240.16384 success cw-rx460-1507 10.0.10240.16384 success w1064v1507 10.0.10240.16384 success w1064v1607 10.0.14393.0 fail w1064v1709 10.0.16299.15 fail cw-gtx560-1709 10.0.16299.248 success cw-rx460-1709 10.0.16299.248 success
The failing tests were introduced in this commit:
commit 51b9f4cd2b7faa04d5bfd50dfe9a4382e0b76fc6 Author: Ted Lyngmo ted@lyncon.se Date: Mon Oct 11 16:15:39 2021 +0200
ucrtbase: Add support for x mode in fopen.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51846 Signed-off-by: Ted Lyngmo ted@lyncon.se Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Note that Ted Lyngmo's initial patch only failed on Windows 10 1507 while Piotr Caban's revision only has the 1607 & 1709 failures shown above. Unfortunately those two platforms are not part of the base TestBot test configurations.
https://testbot.winehq.org/JobDetails.pl?Key=99844 https://testbot.winehq.org/JobDetails.pl?Key=99684
Still, hopefully that means there's a reasonable way to tweak the patch so it does not fail at all.