https://bugs.winehq.org/show_bug.cgi?id=48054
Bug ID: 48054 Summary: gdi32:bitmap fails on Windows XP and 2003 Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
gdi32:bitmap started failing on Windows XP and 2003 right after the winehq.org upgrade:
bitmap.c:1015: Test failed: StretchDIBits failed for 32/62/0/0 bitmap.c:1023: Test failed: GetDIBits failed for 32/62/0/0 bitmap.c:1052: Test failed: StretchDIBits failed for 32/62/0/0 (repeated 12 times)
See http://winetest.dolphin/data/tests/gdi32:bitmap.html See also the attached screenshot showing the failures did start on Sept 09.
And this wine-devel thread: https://www.winehq.org/pipermail/wine-devel/2019-October/152082.html
The failures are systematic and happen on all machines running one of these two Windows versions. What's strange is that the TestBot's wxppro and w2003std VMs have not been modified in this timeframe and neither has the gdi32:bitmap test.
In fact this appears related to the compiler which would explain why the failure started when winehq.org (which builds the official WineTest binaries) was upgraded to Debian 10.
Specifically, letting wtbbuild, which still runs Debian 9.9 (i686-w64-mingw32-gcc 6.3.0 20170516), compile the test binaries results in no failure: https://testbot.winehq.org/JobDetails.pl?Key=59354
But using a binary compiled with i686-w64-mingw32-gcc 8.3-win32 20190406 (in this case on my development machine) produces the 36 failures: https://testbot.winehq.org/JobDetails.pl?Key=59355
Either that or it's quite possibly a result of the new everything-as-PE vs. the old cross-compilation approach still used by wtbbuild.
https://bugs.winehq.org/show_bug.cgi?id=48054
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=48054
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Running the same command that wtbbuild uses to compile binaries on my Debian 10 development machine yields a binary that has the same 36 failures:
https://testbot.winehq.org/JobDetails.pl?Key=59488
The build command was:
mkdir native && cd native && ../src/configure --enable-win64 --without-x --without-freetype --disable-winetest && time make __tooldeps__ cd .. mkdir exe32 && cd exe32 && time ../src/configure --host=i686-w64-mingw32 --with-wine-tools=../native --without-x --without-freetype --disable-winetest && time make buildtests
So it does not seem be related to the way we do the build (simple ./configure && make vs the above), but to the compiler version.
https://bugs.winehq.org/show_bug.cgi?id=48054
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Created attachment 65600 --> https://bugs.winehq.org/attachment.cgi?id=65600 gdi32:bitmap started failing on XP&2003 when winehq.org was upgraded
https://bugs.winehq.org/show_bug.cgi?id=48054
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Looks like this was fixed by https://source.winehq.org/git/wine.git/commit/22a4b3fc7e6f48c99934a49643a87031250592ed
https://bugs.winehq.org/show_bug.cgi?id=48054
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |22a4b3fc7e6f48c99934a49643a | |87031250592ed
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- These VMs have been retired now, but I remember seeing that this was fixed by the commit mentioned above, marking FIXED.
https://bugs.winehq.org/show_bug.cgi?id=48054
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.9.