https://bugs.winehq.org/show_bug.cgi?id=55413
Bug ID: 55413 Summary: ddraw:ddraw1 sometimes fails and crashes on w1064v1507 and w1046v2004 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ddraw:ddraw1 sometimes fails on w1064v1507 and w1046v2004:
ddraw1.c:2495: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:2618: Test failed: Failed to set foreground window. ddraw1.c:2626: Test failed: Failed to set foreground window. ddraw1.c:2652: Test failed: Expected window style 0x14cf0000, got 0x4cf0000. ddraw1.c:2655: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:2662: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:2671: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:2680: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:2683: Test failed: Failed to set foreground window. ddraw1.c:2690: Test failed: Expected window style 0x14cf0000, got 0x4cf0000. ddraw1.c:2693: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:2706: Test failed: Failed to set foreground window. ddraw1.c:2731: Test failed: Failed to set foreground window. ddraw1.c:2746: Test failed: Failed to set foreground window. ddraw1.c:2755: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:2775: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:2778: Test failed: Failed to set foreground window. ddraw1.c:2781: Test failed: Expected window style 0x34cf0000, got 0x14cf0000. ddraw1.c:2784: Test failed: Expected window extended style 0x108, got 0x100. ddraw1.c:3129: Test failed: Failed to set foreground window. ddraw1.c:3130: Test failed: Expected message 0x6, but didn't receive it. ddraw1.c:3135: Test failed: Got unexpected screen size 800x600. ddraw1.c:867: Test failed: Got unexpected wparam 0 for message 0x1c, expected 0x1. ddraw1.c:3141: Test failed: Expected message 0x5, but didn't receive it. ddraw1.c:3144: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31972). ddraw1.c:3148: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3161: Test failed: Expected message 0x46, but didn't receive it. [...] ddraw1.c:3609: Test failed: Expected (0,0)-(640,480), got (-8,-8)-(648,448). ddraw1.c:4338: Test failed: Expected WM_ACTIVATEAPP, but did not receive it. ddraw1.c:4350: Test failed: Expected WM_ACTIVATEAPP, but did not receive it. ddraw1.c:4362: Test failed: Expected WM_ACTIVATEAPP, but did not receive it. ddraw1.c:4384: Test failed: Expected WM_ACTIVATEAPP, but did not receive it. ddraw1.c:8051: Test failed: Failed to set foreground window. ddraw1.c:8053: Test failed: Got unexpected hr 0. ddraw1.c:8055: Test failed: Got unexpected hr 0. ddraw1.c:8057: Test failed: Got unexpected hr 0. ddraw1.c:8059: Test failed: Got unexpected hr 0. ddraw1.c:8069: Test failed: Got unexpected hr 0. ddraw1.c:8071: Test failed: Got unexpected hr 0. ddraw1.c:8073: Test failed: Got unexpected hr 0. ddraw1.c:8077: Test failed: Failed to set foreground window. ddraw1.c:8079: Test failed: Got unexpected hr 0. ddraw1.c:8081: Test failed: Got unexpected hr 0. ddraw1.c:8087: Test failed: Got unexpected hr 0. ddraw1.c:8135: Test failed: Failed to set foreground window. ddraw1.c:8147: Test failed: Failed to set foreground window. ddraw1.c:13670: Test failed: WM_KILLFOCUS was not received. ddraw1.c:13706: Test failed: Got unexpected hr 0x887600e1. ddraw1.c:13709: Test failed: Got unexpected hr 0x887600ff. 0a60:ddraw1: unhandled exception c0000005 at 00007FF6FFAE2567
See https://test.winehq.org/data/patterns.html#ddraw:ddraw1
Where 0x46 == WM_WINDOWPOSCHANGING and the test window does not seem to be visible: expected: 0x14cf0000 == WS_VISIBLE | 0x04cf0000
This failure happens irregularly and only on w1064v1507 and w1046v2004 so far: * 2022-12-14 win1507_newtb-w1064v1507-64 * 2022-12-15 win1507_newtb-w1064v1507-64 * 2023-01-31 win1507_newtb-w1064v1507-64 * 2023-02-16 win1507_newtb-w1064v1507-64 * 2023-06-07 win1507_newtb-w1064v1507-64 * 2023-06-09 win1507_newtb-w1064v1507-32 * 2023-07-13 win1507_newtb-w1064v1507-64 * 2023-07-27 win2004_newtb-w10pro64v2004-64
https://bugs.winehq.org/show_bug.cgi?id=55413
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55413
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ddraw:ddraw1 sometimes |ddraw:ddraw1 & ddraw:ddraw2 |fails and crashes on |sometimes fail and crash on |w1064v1507 and w1046v2004 |w1064v1507 and w1046v2004
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The same failures happen in ddraw:ddraw2, also on w1064v1507 and w1046v2004 but a bit more frequently.
https://bugs.winehq.org/show_bug.cgi?id=55413
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ddraw:ddraw1 & ddraw:ddraw2 |ddraw:ddraw1, ddraw:ddraw2 |sometimes fail and crash on |& ddraw:ddraw4 sometimes |w1064v1507 and w1046v2004 |fail and crash on | |w1064v1507 and w1046v2004
--- Comment #2 from François Gouget fgouget@codeweavers.com --- The failures starting with the missing WM_KILLFOCUS can also happen on their own and they seem to be the ones causing the crash. For instance on 2023-08-04 on w1064v2004:
ddraw1.c:13670: Test failed: WM_KILLFOCUS was not received. ddraw1.c:13706: Test failed: Got unexpected hr 0x887600e1. ddraw1.c:13709: Test failed: Got unexpected hr 0x887600ff. 16b8:ddraw1: unhandled exception c0000005 at 007B5801
Also the same failures happen in ddraw:ddraw4 in the same circumstances.
https://bugs.winehq.org/show_bug.cgi?id=55413
--- Comment #3 from François Gouget fgouget@codeweavers.com --- And also in ddraw:ddraw7.
https://bugs.winehq.org/show_bug.cgi?id=55413
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ddraw:ddraw1, ddraw:ddraw2 |ddraw:ddraw1, ddraw:ddraw2, |& ddraw:ddraw4 sometimes |ddraw:ddraw4 & ddraw:ddraw7 |fail and crash on |sometimes fail and crash on |w1064v1507 and w1046v2004 |w1064v1507 and w1046v2004