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.
https://bugs.winehq.org/show_bug.cgi?id=51894
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |51b9f4cd2b7faa04d5bfd50dfe9 | |a4382e0b76fc6 Keywords| |regression, source, | |testcase
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Actually the original patch was not tested on 1607 and 1709 either so maybe it had failures there too.
https://bugs.winehq.org/show_bug.cgi?id=51894
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Oh, and the usual pattern link: https://test.winehq.org/data/patterns.html#ucrtbase:misc
https://bugs.winehq.org/show_bug.cgi?id=51894
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #3 from winetest@luukku.com --- is this fixed now because of this patch? https://source.winehq.org/patches/data/217631
https://bugs.winehq.org/show_bug.cgi?id=51894
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=51894
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED CC| |piotr.caban@gmail.com Fixed by SHA1| |658473332756991b2db05dd3fa7 | |0ea6dcc520750
--- Comment #4 from Piotr Caban piotr.caban@gmail.com --- Marking as fixed (the failures are no longer showing on https://test.winehq.org/data/patterns.html#ucrtbase:misc).
https://bugs.winehq.org/show_bug.cgi?id=51894
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.20.
https://bugs.winehq.org/show_bug.cgi?id=51894
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51894
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #6 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.3.