https://bugs.winehq.org/show_bug.cgi?id=39456
Bug ID: 39456 Summary: DirectX 9.0c End-User Runtime Web Installer page fault / crashes Product: Wine Version: 1.7.52 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bob.mt.wya@gmail.com Distribution: ---
Created attachment 52570 --> https://bugs.winehq.org/attachment.cgi?id=52570 backtrace.txt
Download link: https://www.microsoft.com/en-gb/download/confirmation.aspx?id=35
Exact (hash match) copy of DirectX installer bundled on S.T.A.L.K.E.R.: SOC Retail DVD
Tested on a 32-bit Wineprefix using wine-1.7.52-305-g45c987d (Git). Identical behaviour under Wine Staging (Git).
Installer launches OK but crashes during the actual install process. See attached backtrace, console output and install logs (created by Microsoft installer).
https://bugs.winehq.org/show_bug.cgi?id=39456
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
--- Comment #1 from Robert Walker bob.mt.wya@gmail.com --- Created attachment 52571 --> https://bugs.winehq.org/attachment.cgi?id=52571 DirectX.log
https://bugs.winehq.org/show_bug.cgi?id=39456
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64
https://bugs.winehq.org/show_bug.cgi?id=39456
--- Comment #2 from Robert Walker bob.mt.wya@gmail.com --- Created attachment 52572 --> https://bugs.winehq.org/attachment.cgi?id=52572 DXError.log
https://bugs.winehq.org/show_bug.cgi?id=39456
--- Comment #3 from Robert Walker bob.mt.wya@gmail.com --- Created attachment 52573 --> https://bugs.winehq.org/attachment.cgi?id=52573 console output
https://bugs.winehq.org/show_bug.cgi?id=39456
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- I can see a crash too using 1.9.8-git and wine-staging 1.9.8.
https://bugs.winehq.org/show_bug.cgi?id=39456
Michael artemy.bobrov@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |artemy.bobrov@yandex.ru
https://bugs.winehq.org/show_bug.cgi?id=39456
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Status|UNCONFIRMED |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/inseng-Impleme | |ntation Ever confirmed|0 |1
https://bugs.winehq.org/show_bug.cgi?id=39456
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |43509
https://bugs.winehq.org/show_bug.cgi?id=39456
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |inseng
https://bugs.winehq.org/show_bug.cgi?id=39456
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |salemn18@gmail.com
--- Comment #5 from Anastasius Focht focht@gmx.net --- *** Bug 44972 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39456
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|DirectX 9.0c End-User |DirectX 9.0c End-User |Runtime Web Installer page |Runtime web installer |fault / crashes |bundled with many games | |crashes due to 'inseng.dll' | |insufficiencies Keywords| |download, Installer URL| |https://www.microsoft.com/e | |n-gb/download/confirmation. | |aspx?id=35 Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/inseng-Impleme |er/patches/inseng-Implement |ntation |ation
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
still present.
--- snip --- $ WINEDEBUG=+seh,+relay,+inseng wine ./dxwsetup.exe /windowsupdate >>log.txt 2>&1 ... 002e:Call ole32.CoCreateInstance(010015f8,00000000,00000005,01001608,003511b4) ret=0100bcc0 ... 002e:Call inseng.DllGetClassObject(0032cef8,7e3e7408,0032cf08) ret=7e308138 002e:trace:inseng:DllGetClassObject (CLSID_InstallEngine {00000001-0000-0000-c000-000000000046} 0x32cf08) 002e:trace:inseng:ClassFactory_QueryInterface (0x7d90967c)->(IID_IClassFactory 0x32cf08) 002e:Ret inseng.DllGetClassObject() retval=00000000 ret=7e308138 002e:Call advapi32.RegCloseKey(00000078) ret=7e30b525 002e:Ret advapi32.RegCloseKey() retval=00000000 ret=7e30b525 002e:trace:inseng:InstallEngineCF_CreateInstance ((nil) {6e449689-c509-11cf-aafa-00aa00b6015c} 0x32cf0c) 002e:Call ntdll.RtlAllocateHeap(00110000,00000000,00000008) ret=7d8ff266 002e:Ret ntdll.RtlAllocateHeap() retval=00158390 ret=7d8ff266 002e:trace:inseng:InstallEngine_QueryInterface (0x158390)->(IID_IInstallEngine2 0x32cf0c) 002e:trace:inseng:InstallEngine_AddRef (0x158390) ref=2 002e:trace:inseng:InstallEngine_Release (0x158390) ref=1 002e:Ret ole32.CoCreateInstance() retval=00000000 ret=0100bcc0 002e:fixme:inseng:InstallEngine_RegisterInstallEngineCallback (0x158390)->(0x351198) ... 002e:trace:inseng:InstallEngine_Release (0x158390) ref=0 ... 002e:fixme:inseng:InstallEngine_UnregisterInstallEngineCallback (0x15de28) ... 002e:Call KERNEL32.FormatMessageA(00001300,00000000,80004001,00000000,0032f1bc,00000000,00000000) ret=01005b40 002e:Ret KERNEL32.FormatMessageA() retval=00000000 ret=01005b40 002e:Call KERNEL32.GetLastError() ret=01005b6d 002e:Ret KERNEL32.GetLastError() retval=0000013d ret=01005b6d ... 002e:trace:inseng:InstallEngine_Release (0x15de28) ref=0 002e:Call ntdll.RtlFreeHeap(00110000,00000000,0015de28) ret=7d8ff28e 002e:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7d8ff28e 002e:trace:seh:raise_exception code=c0000005 flags=0 addr=0x2 ip=00000002 tid=002e 002e:trace:seh:raise_exception info[0]=00000008 002e:trace:seh:raise_exception info[1]=00000002 002e:trace:seh:raise_exception eax=00158390 ebx=01002854 ecx=00197a60 edx=00110064 esi=00351198 edi=010019f8 002e:trace:seh:raise_exception ebp=0032f568 esp=0032f550 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 002e:trace:seh:call_stack_handlers calling handler at 0x1010980 code=c0000005 flags=0 002e:Call KERNEL32.GetLastError() ret=010103d2 002e:Ret KERNEL32.GetLastError() retval=000000b7 ret=010103d2 002e:trace:seh:call_stack_handlers handler at 0x1010980 returned 1 002e:trace:seh:call_stack_handlers calling handler at 0x7b48fa3c code=c0000005 flags=0 wine: Unhandled page fault on execute access to 0x00000002 at address 0x2 (thread 002e), starting debugger... 002e:trace:seh:start_debugger Starting debugger "winedbg --auto 45 120" 002e:trace:seh:call_stack_handlers handler at 0x7b48fa3c returned 1 Unhandled exception: page fault on execute access to 0x00000002 in 32-bit code (0x00000002). ... Backtrace: =>0 0x00000002 (0x0032f568) 1 0x0100b752 in dxwsetup (+0xb751) (0x0032f914) 2 0x01008965 in dxwsetup (+0x8964) (0x0032fd88) 3 0x0100dc6b in dxwsetup (+0xdc6a) (0x0032feb0) 4 0x7b46d7f0 call_process_entry+0xb() in kernel32 (0x0032fec8) 5 0x7b46d931 start_process+0x132(entry=<couldn't compute location>, peb=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:1099] in kernel32 (0x0032ffd8) 6 0x7b46d7fe start_process_wrapper+0x9() in kernel32 (0x0032ffec) 0x00000002: -- no code accessible -- Modules: Module Address Debug info Name (74 modules) PE 1000000- 1085000 Export dxwsetup ELF 7b400000-7b7f3000 Dwarf kernel32<elf> -PE 7b420000-7b7f3000 \ kernel32 ELF 7bc00000-7bd0d000 Deferred ntdll<elf> -PE 7bc30000-7bd0d000 \ ntdll ELF 7c000000-7c004000 Deferred <wine-loader> ELF 7d8ed000-7d90a000 Deferred inseng<elf> -PE 7d8f0000-7d90a000 \ inseng ... Threads: process tid prio (all id:s are in hex) ... 0000002d (D) Z:\home\focht\Downloads\IXP000.TMP\dxwsetup.exe 0000002e 0 <== --- snip ---
'DirectX.log':
--- snip --- 04/14/18 11:58:51: DXWSetup: ***** DXWSETUP ***** 04/14/18 11:58:51: DXWSetup: WinMain() 04/14/18 11:58:51: DXWSetup: IsIA64(): not IA64. 04/14/18 11:58:51: DXWSetup: Target file: 'C:\windows\system32\directx\websetup\dsetup.dll' Target file is Version 4.9.0.904 Source file is Version 4.9.0.904 04/14/18 11:58:51: DXWSetup: Target file: 'C:\windows\system32\directx\websetup\dsetup32.dll' Target file is Version 4.9.0.904 Source file is Version 4.9.0.904 04/14/18 11:58:51: DXWSetup: GetDXVersion(): Unable to get RC string from registry. 04/14/18 11:58:51: DXWSetup: DirectX Version: 4.09.00.0904.00 04/14/18 11:58:51: DXWSetup: Setup Version: 4.09.00.0904.00 04/14/18 11:58:51: DXWSetup: A newer version of DirectX have been installed already. 04/14/18 11:58:51: DXWSetup: CDXWSetup::CDXWSetup() 04/14/18 11:58:51: DXWSetup: CDXWSetup::CDXWSetup(): RegisterInstallEngineCallback() failed, error = 0x80004001. 04/14/18 11:58:51: DXWSetup: DXSError(): FormatMessage() failed, system cannot find message text for error. 04/14/18 11:58:51: DXWSetup: CDXWSetup::DownloadDXUpdate() 04/14/18 11:58:51: DXWSetup: CDXWSetup::DownloadDXUpdate(): RegisterInstallEngineCallback() failed, error = 0x80004001. 04/14/18 11:58:51: DXWSetup: DXSError(): FormatMessage() failed, system cannot find message text for error. 04/14/18 11:58:51: DXWSetup: ProgressDlgProc(): CDXWSetup::DownloadDXUpdate() failed. 04/14/18 11:58:51: DXWSetup: CDXWSetup::~CDXWSetup() 04/14/18 11:58:51: DXWSetup: CDXWSetup::~CDXWSetup(): UnregisterInstallEngineCallback() failed, error = 0x80004001. 04/14/18 11:58:51: DXWSetup: DXSError(): FormatMessage() failed, system cannot find message text for error. --- snip ---
'DXError.log':
--- snip --- [04/14/18 11:58:51] module: DXWSetup(Mar 30 2011), file: dxwsetup.cpp, line: 189, function: CDXWSetup::~CDXWSetup
Failed API: UnregisterInstallEngineCallback() Error: (0x80004001) --- snip ---
The Wine-Staging patch https://github.com/wine-staging/wine-staging/blob/master/patches/inseng-Impl... makes the installer work (see 'DirectX.log' after running it).
$ du -sh dxwebsetup.exe 288K dxwebsetup.exe
$ sha1sum dxwebsetup.exe 3c8243734cf43dd7bb2332ba05b58ccacfa4377c dxwebsetup.exe
$ wine --version wine-3.6
Regards
https://bugs.winehq.org/show_bug.cgi?id=39456
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|43509 |
https://bugs.winehq.org/show_bug.cgi?id=39456
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=39456
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maiktapwagner@aol.com
--- Comment #7 from Maik Wagner maiktapwagner@aol.com --- (In reply to Anastasius Focht from comment #6)
The Wine-Staging patch https://github.com/wine-staging/wine-staging/blob/master/patches/inseng- Implementation/0001-inseng-Implement-CIF-reader-and-download-functions.patch makes the installer work (see 'DirectX.log' after running it).
wine 3.13 (staging) here. Checksum and size indicated match my download and installer works fine with 32-bit prefix.
https://bugs.winehq.org/show_bug.cgi?id=39456
Alexandre Viau alexandre@alexandreviau.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandre@alexandreviau.net
--- Comment #8 from Alexandre Viau alexandre@alexandreviau.net --- Hello,
I am experiencing crashes in Star Citzen's installer on wine 3.19.
I have applied **only** the inseng-Implementation patch from wine-staging to the wine 3.19 source tree and I can confirm that the crash is gone.
Star Citizen should be added to the apps affected by this bug.
https://bugs.winehq.org/show_bug.cgi?id=39456
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello Alexandre,
--- quote --- Star Citizen should be added to the apps affected by this bug. --- quote ---
yes, I mentioned this here: https://bugs.winehq.org/show_bug.cgi?id=44972#c1
https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.0.0.exe
Since there is a large number of game installers affected, maintaining a list in the ticket summary is not feasible. The way handle this is to use WineHQ appdb and reference this ticket in the appdb entry for the game. I see it was already done:
https://appdb.winehq.org/viewbugs.php?iBugId=39456
Regards
https://bugs.winehq.org/show_bug.cgi?id=39456
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins@gmail.com
--- Comment #10 from Linards linards.liepins@gmail.com --- Is the issue still present?
https://bugs.winehq.org/show_bug.cgi?id=39456
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.microsoft.com/e |https://web.archive.org/web |n-gb/download/confirmation. |/20110907095914/http://down |aspx?id=35 |load.microsoft.com/download | |/1/7/1/1718ccc4-6315-4d8e-9 | |543-8e28a4e18c4c/dxwebsetup | |.exe
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello Linards,
--- quote --- Is the issue still present? --- quote ---
it should be pretty obvious because the bug status is still 'staged' (see linked Wine-Staging patch). And yes, it still crashes.
$ wine --version wine-6.8-77-g0a50674c6aa
Regards
https://bugs.winehq.org/show_bug.cgi?id=39456
David Koolhoven spambox1@koolhoven-home.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spambox1@koolhoven-home.net
--- Comment #12 from David Koolhoven spambox1@koolhoven-home.net --- This issue does not effect Star Citizen anylonger.