https://bugs.winehq.org/show_bug.cgi?id=43860
Bug ID: 43860 Summary: Crash when installing DirectX 9.0c from stand-alone installer Product: Wine Version: 2.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t6zm3v62fkp7fe5@yandex.ru Distribution: ---
Created attachment 59432 --> https://bugs.winehq.org/attachment.cgi?id=59432 Wine 2.18 terminal output
Wine 2.18 (devel): after installing DirectX 9.0c from stand-alone installer on Microsoft site, it crashes (). Wine 2.0.2 (stable): it doesn't crash (). OS: Lubuntu 16.04.3, Wine from official Wine repos. File link: https://www.microsoft.com/en-us/download/details.aspx?id=8109 sha256: 8746ee1a84a083a90e37899d71d50d5c7c015e69688a466aa80447f011780c0d
https://bugs.winehq.org/show_bug.cgi?id=43860
--- Comment #1 from Milo Rogers t6zm3v62fkp7fe5@yandex.ru --- Created attachment 59433 --> https://bugs.winehq.org/attachment.cgi?id=59433 Wine 2.18 program error details
https://bugs.winehq.org/show_bug.cgi?id=43860
--- Comment #2 from Milo Rogers t6zm3v62fkp7fe5@yandex.ru --- Created attachment 59434 --> https://bugs.winehq.org/attachment.cgi?id=59434 Wine 2.0.2 terminal output
https://bugs.winehq.org/show_bug.cgi?id=43860
--- Comment #3 from Milo Rogers t6zm3v62fkp7fe5@yandex.ru --- Created attachment 59435 --> https://bugs.winehq.org/attachment.cgi?id=59435 Wine 2.18 program window
https://bugs.winehq.org/show_bug.cgi?id=43860
--- Comment #4 from Milo Rogers t6zm3v62fkp7fe5@yandex.ru --- Created attachment 59436 --> https://bugs.winehq.org/attachment.cgi?id=59436 Wine 2.0.2 program window
https://bugs.winehq.org/show_bug.cgi?id=43860
Milo Rogers t6zm3v62fkp7fe5@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=43860
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Using the same installer as you, wine 2.18 and a clean wineprefix. Is there something that needs to be done so it can be installed? For me the installer terminates instantly with "The components installed are now ready for use", but it didn't seem to do much.
https://bugs.winehq.org/show_bug.cgi?id=43860
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wineserver Regression SHA1| |a557934c76c0e0bed6b73e5c8f7 | |9a0df059ff2de CC| |focht@gmx.net URL| |https://www.microsoft.com/e | |n-us/download/details.aspx? | |id=8109 Keywords| |download, Installer, | |regression Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|Crash when installing |Microsoft DirectX 9.0c |DirectX 9.0c from |Redistributable (June 2010) |stand-alone installer |installer crashes
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, seems to be a recent regression.
--- snip --- $ wine ./DXSETUP.exe ... Unhandled exception: page fault on write access to 0x7e1e502c in 32-bit code (0x7ec04a96). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7ec04a96 ESP:0033e1d4 EBP:0033e1e8 EFLAGS:00010206( R- -- I - -P- ) EAX:00d4d0c8 EBX:00200284 ECX:000001dd EDX:7e1e502c ESI:0016edd4 EDI:7e1e502c ... Backtrace: =>0 0x7ec04a96 memset_32+0x13(start=0x7e1e502c, val=0xd4d0c8, size=0x1dd) [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/dibdrv/primitives.c:247] in gdi32 (0x0033e1e8) 1 0x7ec04bc8 solid_rects_32+0xf3(dib=0x200284, num=0x1, rc=0x33e2dc, and=0, xor=0xd4d0c8) [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/dibdrv/primitives.c:283] in gdi32 (0x0033e228) 2 0x7ec026a3 fill_with_pixel+0x35(dc=0x16ecf0, dib=0x200284, pixel=0xd4d0c8, num=0x1, rects=0x33e2dc, rop=0xd) [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/dibdrv/objects.c:1766] in gdi32 (0x0033e268) 3 0x7ec026fa solid_brush+0x4c(pdev=0x200278, brush=0x2002e8, dib=0x200284, num=0x1, rects=0x33e2dc, brush_org=0x16edd4, rop=0xd) [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/dibdrv/objects.c:1781] in gdi32 (0x0033e2a8) 4 0x7ebfcb81 dibdrv_PatBlt+0x191(dev=0x200278, dst=0x33e568, rop=0xf00021) [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/dibdrv/graphics.c:1200] in gdi32 (0x0033e508) 5 0x7ebf8eb5 windrv_PatBlt+0x54(dev=0x200278, dst=0x33e568, rop=0xf00021) [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/dibdrv/dc.c:842] in gdi32 (0x0033e538) 6 0x7ebe618b PatBlt+0x177(hdc=<couldn't compute location>, left=<couldn't compute location>, top=<couldn't compute location>, width=<couldn't compute location>, height=<couldn't compute location>, rop=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/bitblt.c:554] in gdi32 (0x0033e5c8) 7 0x7ea76b9b FillRect+0x7f(hdc=<couldn't compute location>, rect=<couldn't compute location>, hbrush=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/user32/uitools.c:1444] in user32 (0x0033e628) 8 0x7ea16bdf DEFDLG_Proc+0x123(hwnd=0x1004e, msg=0x14, wParam=0x20051, lParam=0, dlgInfo=0x137500) [/home/focht/projects/wine/wine.repo/src/dlls/user32/defdlg.c:233] in user32 (0x0033e688) ... 35 0x7ea1cce9 IsDialogMessageW+0x4ea(hwndDlg=<couldn't compute location>, msg=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/user32/dialog.c:1294] in user32 (0x0033f7a8) 36 0x7e8f78f4 do_loop+0x34(psInfo=0x135b38) [/home/focht/projects/wine/wine.repo/src/dlls/comctl32/propsheet.c:2768] in comctl32 (0x0033f808) 37 0x7e8f7a80 PROPSHEET_PropertySheet+0xd8(psInfo=0x135b38, unicode=0) [/home/focht/projects/wine/wine.repo/src/dlls/comctl32/propsheet.c:2813] in comctl32 (0x0033f838) 38 0x7e8f7c45 PropertySheetA+0x1b9(lppsh=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/comctl32/propsheet.c:2863] in comctl32 (0x0033f888) 39 0x010068dc in dxsetup (+0x68db) (0x0033fadc) ... 47 0x7bc929fa call_thread_entry_point+0x11() in ntdll (0x0033ffec) 0x7ec04a96 memset_32+0x13 [/home/focht/projects/wine/wine.repo/src/dlls/gdi32/dibdrv/primitives.c:247] in gdi32: repe stosl %es:(%edi) 247 __asm__ __volatile__( "cld; rep; stosl" Modules: Module Address Debug info Name (95 modules) PE 1000000- 1082000 Export dxsetup ... ELF 4b4ac000-4b4ca000 Deferred libgcc_s.so.1 ELF 7b400000-7b7f2000 Dwarf kernel32<elf> -PE 7b420000-7b7f2000 \ kernel32 ELF 7bc00000-7bd0a000 Dwarf ntdll<elf> -PE 7bc30000-7bd0a000 \ ntdll ELF 7c000000-7c004000 Deferred <wine-loader> ... Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\home\focht\Downloads\DXSETUP.exe 00000009 0 <== --- snip ---
Bisecting reveals:
--- snip ---
$ git bisect bad a557934c76c0e0bed6b73e5c8f79a0df059ff2de is the first bad commit commit a557934c76c0e0bed6b73e5c8f79a0df059ff2de Author: Alexandre Julliard julliard@winehq.org Date: Tue Sep 26 14:11:49 2017 +0200
server: Keep track of mapped memory views.
Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 b19b776a09ebca7269d7b9d2c0cd0c1c438dd20c 377c8c8113348cd120fb2662dd4bcf5e47daaaa7 M dlls :040000 040000 1bea137edf362417494227b0e1d9fc58fda4e3d1 e9fecf57d706c051c3e84623e6c392997488f022 M include :040000 040000 907dd53ca9960aad20758f64fb06cb8bec4d7405 6b5fe49842082e28ea190da2914efbaa403c96f7 M server
--- snip ---
https://source.winehq.org/git/wine.git/commitdiff/a557934c76c0e0bed6b73e5c8f...
Resetting HEAD before that commit makes the installer work again.
$ git reset --hard d82321006de92dcd74465c905121618a76eae76a HEAD is now at d82321006d gdi32: Pick first charmap if none was selected using preferred encoding.
Regards
https://bugs.winehq.org/show_bug.cgi?id=43860
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |49d3cac9ce7cf6bed7f56b78961 | |8f870f5eef1da Status|NEW |RESOLVED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- It should be fixed by 49d3cac9ce7cf6bed7f56b789618f870f5eef1da.
https://bugs.winehq.org/show_bug.cgi?id=43860
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.19.