[Bug 53231] New: d2d1:d2d1 - test_shared_bitmap() crashes on the TestBot VMs
https://bugs.winehq.org/show_bug.cgi?id=53231 Bug ID: 53231 Summary: d2d1:d2d1 - test_shared_bitmap() crashes on the TestBot VMs Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com Distribution: --- d2d1:d2d1 - test_shared_bitmap() crashes on the TestBot VMs: d2d1.c:5179: Test marked todo: 6: Got unexpected hr 0. Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x6ac0f8ef). [...] Backtrace: =>0 0x6ac0f8ef d2d_device_context_Clear+0x7f(iface=<internal error>, colour=<internal error>) [Z:\home\winetest\tools\testbot\var\wine\dlls\d2d1\device.c:1647] in d2d1 (0x0066fc78) 1 0x00414d75 in d2d1_test (+0x14d75) (0x0066fd68) 2 0x00434613 in d2d1_test (+0x34613) (0x0066fdd8) 3 0x00434983 in d2d1_test (+0x34983) (0x0066fe38) 4 0x0043618d in d2d1_test (+0x3618d) (0x0066fee8) 5 0x00435fbf in d2d1_test (+0x35fbf) (0x0066ff30) 6 0x7b62a170 in kernel32 (+0x2a170) (0x0066ff48) 7 0x7bc5a937 in ntdll (+0x5a937) (0x0066ff5c) 8 0x7bc5aff0 RtlCreateUserThread(entry=00435F40, arg=7FFD1000) [Z:\home\winetest\tools\testbot\var\wine\dlls\ntdll\thread.c:261] in ntdll (0x0066ffec) 0x6ac0f8ef d2d_device_context_Clear+0x7f [Z:\home\winetest\tools\testbot\var\wine\dlls\d2d1\device.c:1647] in d2d1: fsts 0x0(%eax) 1647 vs_cb_data->transform_geometry._11 = 1.0f; https://test.winehq.org/data/patterns.html#d2d1:d2d1 The crash still happens even if all the tests are commented out except test_shared_bitmap(). Furthermore adding traces shows that it happens in either of the two locations below: https://gitlab.winehq.org/wine/wine/-/blob/f6f66661b3fabdcd6cf2f4999b3029e72... /* DXGI surface render target and WIC bitmap render target, same factory. */ hr = ID2D1Factory_CreateWicBitmapRenderTarget(factory1, wic_bitmap2, &desc, &rt2); // crashed here or https://gitlab.winehq.org/wine/wine/-/blob/f6f66661b3fabdcd6cf2f4999b3029e72... ID2D1GdiInteropRenderTarget_Release(interop); hr = ID2D1Factory_CreateWicBitmapRenderTarget(factory2, wic_bitmap2, &desc, &rt2); // crashed here The crashes only happen with 32-bit code. d2d1:d2d1 also crashes on my box with an Intel GPU and the crash happens in the same two locations but the backtrace is different. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53231 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53231 --- Comment #1 from François Gouget <fgouget(a)codeweavers.com> --- Some crashes show up as a EXCEPTION_WINE_ASSERTION instead: d2d1.c:5179: Test marked todo: 6: Got unexpected hr 0. Unhandled exception: assertion failed in 32-bit code (0xf7f5e559). [...] Backtrace: =>0 0xf7f5e559 __kernel_vsyscall+0x9() in [vdso].so (0x0066e43c) 1 0xf7d2ee02 in libc.so.6 (+0x34e02) (0x0066e43c) 2 0xf7d17306 in libc.so.6 (+0x1d306) (0xf7edf000) 3 0x764b43d8 in libllvm-11.so.1 (+0x75f3d8) (0x0066e738) 4 0x764b41b0 in libllvm-11.so.1 (+0x75f1b0) (0x78f38762) 5 0x7420656c (0x62616e55) 0xf7f5e559 __kernel_vsyscall+0x9 in [vdso].so: popl %ebp Also on my box the test sometimes times out which I suspect is the same issue: d2d1.c:5179: Test marked todo: 6: Got unexpected hr 0. d2d1:d2d1:07a4 done (258) in 120s Test failed: timed out -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53231 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53231 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |zzhang(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53231 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|zzhang(a)codeweavers.com |wine-bugs(a)winehq.org Status|NEW |RESOLVED Fixed by SHA1| |00eff14f33233a7aa2330d9242e | |1f3584cc3b4e2 Resolution|--- |FIXED --- Comment #2 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Fixed by 00eff14f33233a7aa2330d9242e1f3584cc3b4e2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53231 --- Comment #3 from François Gouget <fgouget(a)codeweavers.com> --- A few similar NULL dereferences happened after this patch but none in WineTest. So the crashes were probably caused by the patches being tested. https://testbot.winehq.org/FailureDetails.pl?Key=177 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53231 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.13. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla