[Bug 45347] Google Chrome installer crashes on unimplemented function propsys.dll.InitPropVariantFromCLSID

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 16 05:39:49 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45347

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Google Chrome installer     |Google Chrome installer
                   |fails due to missing        |crashes on unimplemented
                   |propsys.dll.InitPropVariant |function
                   |FromCLSID                   |propsys.dll.InitPropVariant
                   |                            |FromCLSID
                 CC|                            |focht at gmx.net

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, still present.

--- snip ---
$ WINEDEBUG=+seh,+relay,+propsys wine ./ChromeStandaloneSetup.exe >>log.txt
2>&1
...
0050:Call KERNEL32.CreateProcessW(00000000,00161660 L"\"C:\\Program Files
(x86)\\GUMf228.tmp\\GoogleUpdate.exe\" /installsource taggedmi /install
\"appguid={8A69D345-D564-463C-AFF1-A69D9E530F96}&iid={C3EB1856-4FB5-6D2F-DF46-BA3BAA23BC5A}&lang=de&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=prefers&ap=x64-stable-statsdef_1&installdataindex=e"...,00000000,00000000,00000000,00000400,00000000,00000000,0033fb6c,0033fbb0)
ret=004031da
0052:Call KERNEL32.__wine_kernel_init() ret=7bc6d5de
...
0050:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=004031da 
...
0052:Call KERNEL32.CreateProcessW(00000000,0033e4ac L"\"C:\\Program Files
(x86)\\Google\\Update\\GoogleUpdate.exe\" /handoff
\"appguid={8A69D345-D564-463C-AFF1-A69D9E530F96}&iid={C3EB1856-4FB5-6D2F-DF46-BA3BAA23BC5A}&lang=de&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=prefers&ap=x64-stable-statsdef_1&installdataindex=empty\"
/installsource"...,00000000,00000000,00000000,00000410,00000000,00000000,0033df80,0033df70)
ret=7e076c44
...
00ae:Call KERNEL32.__wine_kernel_init() ret=7bc6d5de
0052:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=7e076c44
...
00c3:Call advapi32.CreateProcessAsUserW(000000bc,00000000,0019e048
L"\"C:\\Program Files
(x86)\\Google\\Update\\Install\\{BBF8BE70-64B4-4BCD-AA91-77AB55A6EA27}\\chrome_installer.exe\"
--do-not-launch-chrome --system-level
/installerdata=\"C:\\users\\focht\\Temp\\gui87b4.tmp\"",00000000,00000000,00000000,00000400,001a7fe0,00000000,00a7f970,00a7f9e0)
ret=1800f9b1
00c3:fixme:advapi:CreateProcessAsUserW 0xbc (null) L"\"C:\\Program Files
(x86)\\Google\\Update\\Install\\{BBF8BE70-64B4-4BCD-AA91-77AB55A6EA27}\\chrome_installer.exe\"
--do-not-launch-chrome --system-level
/installerdata=\"C:\\users\\focht\\Temp\\gui87b4.tmp\"" (nil) (nil) 0
0x00000400 0x1a7fe0 (null) 0xa7f970 0xa7f9e0 - semi-stub
...
00c5:Call KERNEL32.__wine_kernel_init() ret=7bc6d5de
...
00c5:Call KERNEL32.CreateProcessW(0033f5f8
L"C:\\users\\focht\\Temp\\CR_9B4CB.tmp\\setup.exe",0033edd4
L"\"C:\\users\\focht\\Temp\\CR_9B4CB.tmp\\setup.exe\"
--install-archive=\"C:\\users\\focht\\Temp\\CR_9B4CB.tmp\\CHROME.PACKED.7Z\"
--do-not-launch-chrome --system-level
/installerdata=\"C:\\users\\focht\\Temp\\gui87b4.tmp\"",00000000,00000000,00000000,08000000,00000000,00000000,0033ed58,0033ed40)
ret=00401b76 
...
00c7:Call KERNEL32.__wine_kernel_init() ret=7bc6d5de
00c5:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=00401b76
...
00c7:fixme:shell:propertystore_SetValue (0x162650)->(0x51b40c 0x33f1a0): stub
00c7:fixme:shell:propertystore_Commit (0x162650): stub
00c7:Call ole32.PropVariantClear(0033f1a0) ret=00446007
00c7:Call ntdll.RtlFreeHeap(00110000,00000000,001628b8) ret=7daa28d7
00c7:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7daa28d7
00c7:Ret  ole32.PropVariantClear() retval=00000000 ret=00446007
00c7:Call KERNEL32.RaiseException(80000100,00000001,00000002,0033f170)
ret=7d8be095
00c7:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b4473c3
ip=7b4473c3 tid=00c7
00c7:trace:seh:raise_exception  info[0]=7d8be0c0
00c7:trace:seh:raise_exception  info[1]=7d8be125
wine: Call from 0x7b4473c3 to unimplemented function
propsys.dll.InitPropVariantFromCLSID, aborting
--- snip ---

Microsoft docs:

https://docs.microsoft.com/en-us/windows/desktop/api/propvarutil/nf-propvarutil-initpropvariantfromclsid

Wine source:

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/propsys/propsys.spec#l32

--- snip ---
  32 @ stub InitPropVariantFromCLSID
--- snip ---

Providing a stub is enough to have the installer succeed.

--- snip ---
...
00c7:fixme:shell:propertystore_SetValue (0x162650)->(0x51b40c 0x33f1a0): stub
00c7:fixme:shell:propertystore_Commit (0x162650): stub
00c7:Call ole32.PropVariantClear(0033f1a0) ret=00446007
...
00c7:Ret  ole32.PropVariantClear() retval=00000000 ret=00446007
00c7:Call propsys.InitPropVariantFromCLSID(0033f4c8,0033f1a0) ret=00445f2c
00c7:fixme:propsys:InitPropVariantFromCLSID stub
00c7:Ret  propsys.InitPropVariantFromCLSID() retval=80004001 ret=00445f2c 
...
--- snip ---

Although it's not very hard to provide an actual implementation.

Also I don't see the connection to bug 30023 here. There was no "could not
connect to the internet" problem with the Chrome 69 installer. Clean 64-bit
WINEPREFIX (Win7) and small patch applied.

$ sha1sum ChromeStandaloneSetup.exe 
f0b092d7ac2cd461486837013bb343fb1a18aaa4  ChromeStandaloneSetup.exe

$ du -sh ChromeStandaloneSetup.exe 
51M    ChromeStandaloneSetup.exe

$ wine --version
wine-3.16

Regards

-- 
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.



More information about the wine-bugs mailing list