https://bugs.winehq.org/show_bug.cgi?id=45394
Bug ID: 45394 Summary: Reinstalling ArcGIS Desktop 10.6 calls unimplemented function msvcr120.dll._SetWinRTOutOfMemoryExceptionCallback Product: Wine Version: 3.11 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 61704 --> https://bugs.winehq.org/attachment.cgi?id=61704 console output
To reproduce, run the ArcGIS Desktop installer once, then run it again to "modify" the installation.
$ sha256sum ArcGIS_Desktop_106_161544.exe 2ebc60ebfe73ce3da64db4c16caae7da615c20bafb072b958aa7914321c7d058 ArcGIS_Desktop_106_161544.exe
https://bugs.winehq.org/show_bug.cgi?id=45394
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://ftp.unicamp.br/pub/a | |poio/img/ArcGIS_Desktop_106 | |_161544.exe
https://bugs.winehq.org/show_bug.cgi?id=45394
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
https://bugs.winehq.org/show_bug.cgi?id=45394
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/msvcr120-_SetWin | |RTOutOfMemoryExceptionCallb | |ack
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Alex,
this is from a clean WINEPREFIX with no prerequisites?
I'm surprised because even the vendor states several system requirements which don't match a default (Windows 7) WINEPREFIX:
https://enterprise.arcgis.com/en/system-requirements/latest/windows/arcgis-s...
I could only run the main installer after:
* clean 64-bit WINEPREFIX * installing Microsoft .NET Framework 4.6 ('winetricks -q dotnet46') * installing Microsoft Visual C++ 2017 Redistributable (x86/x64) -> (winetricks, doesn't install with vanilla) * setting 'WinVer' to 'Windows 8.1' (8.0 is minimum but it really wants 8.1 later)
After successful installation I run the installer again, select "modify" and then select some component to be installed locally. The installer runs again to completion. I'm not able to reproduce this.
It's also highly unlikely the app/installer itself calls this function. This is internally used by WinRT. To find the specific import in all binary files in WINEPREFIX:
--- snip --- $ grep -ralZ _SetWinRTOutOfMemoryExceptionCallback .wine/drive_c | xargs -r0i bash -c "echo "{}" && winedump -j import "{}" | grep _SetWinRTOutOfMemoryExceptionCallback"
.wine/drive_c/windows/syswow64/msvcr120.dll .wine/drive_c/windows/syswow64/vccorlib120.dll 357 _SetWinRTOutOfMemoryExceptionCallback 340e8 .wine/drive_c/windows/syswow64/msvcr120_clr0400.dll .wine/drive_c/windows/syswow64/vcruntime140.dll .wine/drive_c/windows/syswow64/ucrtbase.dll .wine/drive_c/windows/syswow64/vccorlib140.dll 8 _SetWinRTOutOfMemoryExceptionCallback 380bc .wine/drive_c/windows/syswow64/api-ms-win-crt-private-l1-1-0.dll .wine/drive_c/windows/Microsoft.NET/Framework64/v4.0.30319/SetupCache/v4.6.00081/NetFx_Full.mzz .wine/drive_c/windows/system32/msvcr120_clr0400.dll .wine/drive_c/windows/system32/vcruntime140.dll .wine/drive_c/windows/system32/ucrtbase.dll .wine/drive_c/windows/system32/vccorlib140.dll 4 _SetWinRTOutOfMemoryExceptionCallback 52eda .wine/drive_c/Program Files (x86)/Common Files/ArcGIS/bin/msvcr120.dll .wine/drive_c/Program Files (x86)/Common Files/ArcGIS/bin/vccorlib120.dll 357 _SetWinRTOutOfMemoryExceptionCallback 340e8 .wine/drive_c/Program Files (x86)/ArcGIS/Desktop10.6/java/jre/bin/msvcr120.dll .wine/drive_c/Program Files (x86)/ArcGIS/Desktop10.6/java/jre/bin/vcruntime140.dll .wine/drive_c/Program Files (x86)/ArcGIS/Desktop10.6/java/jre/bin/ucrtbase.dll .wine/drive_c/Program Files (x86)/ArcGIS/Desktop10.6/java/jre/bin/api-ms-win-crt-private-l1-1-0.dll --- snip ---
-> vccorlib120.dll -> vccorlib140.dll
$ sha1sum ArcGIS_Desktop_106_161544.exe 11cd6f83ab941ad52375dac79be9bd6344ea80f0 ArcGIS_Desktop_106_161544.exe
$ du -sh ArcGIS_Desktop_106_161544.exe 983M ArcGIS_Desktop_106_161544.exe
$ wine --version wine-3.11-74-g86864486be
Regards
https://bugs.winehq.org/show_bug.cgi?id=45394
--- Comment #2 from Alex Henrie alexhenrie24@gmail.com --- I'm using a 32-bit-only Wine prefix. Maybe that's why I didn't run into all those problems?
https://bugs.winehq.org/show_bug.cgi?id=45394
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Alex,
although a 32-bit WINEPREFIX is not supported by the vendor, my results:
'%TEMP%\esriBootStrap.log':
--- snip --- Processor type is : 32 The operating system is : Windows7 The minimum operating system requirement has been met Microsoft MSXML 6 installed on the machine: XML DOM Document 6.0 Microsoft Visual C++ 2017 Redistributable (x86) will be installed on the machine: 14.10.25017
****************************** Input file : C:\users\focht\My Documents\ArcGIS 10.6\Desktop\SetupFiles\setup.ini Installer file : C:\users\focht\My Documents\ArcGIS 10.6\Desktop\SetupFiles\Setup.msi MSXML : NULL X86VCREDIST : C:\users\focht\My Documents\ArcGIS 10.6\Desktop\SetupFiles\support\VCREDIST\vc_redist.x86.exe X64VCREDIST : NULL Operating system: 32 Product Code : {F8206086-367E-44E4-9E24-92E9E057A63D} Product Name : ArcGIS Desktop 10.6 Microsoft Sql CLR Types x86: NULL Microsoft Sql CLR Types x64: NULL Microsoft Windows Installer : NULL Install Mode : Windows Operating System : Windows7
Installing Microsoft Visual C++ 2017 Redistributable (x86) : failed. --- snip ---
Re-running the installer after 'winetricks -q vcrun2017':
--- snip --- $ pwd /home/focht/Documents/ArcGIS 10.6/Desktop
$ WINEDEBUG=+msgbox wine ./Setup.exe ... 002e:trace:msgbox:MSGBOX_OnInit L"This operating system is not supported. See http://support.esri.com for more information." 002e:err:msi:ITERATE_Actions Execution halted, action L"IncorrectOS" returned 1603 --- snip ---
Setting 'WinVer' to 'Windows 8' and re-running the installer:
--- snip --- $ WINEDEBUG=+msgbox wine ./Setup.exe
0035:trace:msgbox:MSGBOX_OnInit L"This operating system is not supported. See http://support.esri.com for more information." 0035:err:msi:ITERATE_Actions Execution halted, action L"IncorrectOS" returned 1603 --- snip ---
Logfile:
--- snip --- Processor type is : 32 The operating system is : Windows8 The minimum operating system requirement has been met Microsoft MSXML 6 installed on the machine: XML DOM Document 6.0 Microsoft Visual C++ 2017 Redistributable (x86) is installed on the machine: 14.11.25325
****************************** Input file : Z:\home\focht\Documents\ArcGIS 10.6\Desktop\SetupFiles\setup.ini Installer file : Z:\home\focht\Documents\ArcGIS 10.6\Desktop\SetupFiles\Setup.msi MSXML : NULL X86VCREDIST : NULL X64VCREDIST : NULL Operating system: 32 Product Code : {F8206086-367E-44E4-9E24-92E9E057A63D} Product Name : ArcGIS Desktop 10.6 Microsoft Sql CLR Types x86: NULL Microsoft Sql CLR Types x64: NULL Microsoft Windows Installer : NULL Install Mode : Windows Operating System : Windows8
InstallProduct returned 1603 Product was installed unsuccessfully --- snip ---
Setting 'WinVer' to 'Windows 8.1':
--- snip --- $ WINEDEBUG=+msgbox wine ./Setup.exe
002e:trace:msgbox:MSGBOX_OnInit L"ArcGIS Desktop 10.6 requires Microsoft .NET Framework 4.5 or higher. Please see the Installation Guide for more information. To download and install Microsoft .NET Framework, visit the Microsoft Web site or contact your system administrator." 002e:err:msi:ITERATE_Actions Execution halted, action L"LaunchConditions" returned 1603 --- snip ---
Logfile:
--- snip --- Processor type is : 32 The operating system is : Windows8.1 The minimum operating system requirement has been met Microsoft MSXML 6 installed on the machine: XML DOM Document 6.0 Microsoft Visual C++ 2017 Redistributable (x86) is installed on the machine: 14.11.25325
****************************** Input file : Z:\home\focht\Documents\ArcGIS 10.6\Desktop\SetupFiles\setup.ini Installer file : Z:\home\focht\Documents\ArcGIS 10.6\Desktop\SetupFiles\Setup.msi MSXML : NULL X86VCREDIST : NULL X64VCREDIST : NULL Operating system: 32 Product Code : {F8206086-367E-44E4-9E24-92E9E057A63D} Product Name : ArcGIS Desktop 10.6 Microsoft Sql CLR Types x86: NULL Microsoft Sql CLR Types x64: NULL Microsoft Windows Installer : NULL Install Mode : Windows Operating System : Windows8.1 --- snip ---
Still can't reproduce this. Anyway, I don't question the need for this stub but I wanted at least to see which installer part/component/custom action triggers it.
Regards
https://bugs.winehq.org/show_bug.cgi?id=45394
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|STAGED |RESOLVED Fixed by SHA1| |0dde2b8a2f15251cf1cd9738c6e | |30fbbc30369fe
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by: 0dde2b8a2f15251cf1cd9738c6e30fbbc30369fe
https://bugs.winehq.org/show_bug.cgi?id=45394
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.13.
https://bugs.winehq.org/show_bug.cgi?id=45394
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=45394
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #6 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.3.