https://bugs.winehq.org/show_bug.cgi?id=54283
Bug ID: 54283 Summary: dinput:force_feedback - test_windows_gaming_input() sometimes crashes on Windows and Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: dinput Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
dinput:force_feedback - test_windows_gaming_input() sometimes crashes on Windows :
force_feedback.c:6324: Test failed: TryResetAsync returned 0x86854001 force_feedback.c:6324: this is the last test seen before the exception 06a0:force_feedback: unhandled exception c0000005 at 000000000041B540
And Wine:
force_feedback.c:6479: Test marked todo: Stop returned 0x8000ffff force_feedback.c:4864: iface 006C886C, async 019D8AF8, status 1 force_feedback.c:4779: iface 006C886C, async 019D8AF8, status 1 force_feedback.c:4864: iface 006C886C, async 019D8AF8, status 1 force_feedback.c:4779: iface 006C886C, async 019C09E0, status 1 force_feedback.c:4864: iface 006C886C, async 019C09E0, status 1 force_feedback.c:4779: iface 006C886C, async 019C09E0, status 1 Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x6fc81461). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:6fc81461 ESP:0389fdc0 EBP:0389fe08 EFLAGS:00010206( R- -- I - -P- ) EAX:00000000 EBX:0389fde0 ECX:006c886c EDX:00000000 ESI:019d8af8 EDI:019d9b28 Stack dump: 0x0389fdc0: 006c886c 019d8af8 00000001 00000001 0x0389fdd0: 00184f80 00000001 019d9b48 006c886c 0x0389fde0: 00000013 00000000 00000000 7bc5c97f 0x0389fdf0: 00184fc4 00000000 0389fe20 00185024 0x0389fe00: 00184f80 019d9b28 0389feb8 7bc602c6 0x0389fe10: 00000000 00000000 0389fe40 7bc602c6 Backtrace: =>0 0x6fc81461 __x_ABI_CWindows_CGaming_CInput_CCustom_CIWineAsyncOperationCompletedHandler_Release+0xb(This=<internal error>) [Z:\home\winetest\tools\testbot\var\wine-win32\dlls\windows.gaming.input\provider.h:386] in windows.gaming.input (0x0389fe08) 1 0x6fc81461 async_info_callback+0xc1(instance=<couldn't compute location>, iface=<couldn't compute location>, work=<couldn't compute location>) [Z:\home\winetest\tools\testbot\var\wine\dlls\windows.gaming.input\async.c:321] in windows.gaming.input (0x0389fe08) 2 0x7bc602c6 tp_object_execute+0x2b6(object=<register ESI not accessible in this frame>, wait_thread=0) [Z:\home\winetest\tools\testbot\var\wine\dlls\ntdll\threadpool.c:2242] in ntdll (0x0389feb8) 3 0x7bc60770 threadpool_worker_proc+0x110(param=<couldn't compute location>) [Z:\home\winetest\tools\testbot\var\wine\dlls\ntdll\threadpool.c:2356] in ntdll (0x0389ff28) 4 0x7b62a290 in kernel32 (+0x2a290) (0x0389ff48) 5 0x7bc5cfa7 in ntdll (+0x5cfa7) (0x0389ff5c) 6 0x7bc5d7d0 RtlCreateUserThread(entry=7BC60660, arg=00185018) [Z:\home\winetest\tools\testbot\var\wine\dlls\ntdll\thread.c:306] in ntdll (0x0389ffec) 0x6fc81461 async_info_callback+0xc1 [Z:\home\winetest\tools\testbot\var\wine\dlls\windows.gaming.input\async.c:321] in windows.gaming.input: call *0x8(%eax) 321 LeaveCriticalSection( &impl->cs );
See https://test.winehq.org/data/patterns.html#dinput:force_feedback
This failure was first seen on 2023-01-06 and can happen on Windows 10 (e.g. w1064-tsign-64) as well as Wine.