https://bugs.winehq.org/show_bug.cgi?id=54613
Bug ID: 54613 Summary: ieframe:ie times out when run without elevated privileges on Windows 8 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: ieframe Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ieframe:ie times out when run without elevated privileges on Windows 8.
ieframe:ie start dlls/ieframe/tests/ie.c ieframe:ie:0fe4 done (258) in 120s 0B
See https://test.winehq.org/data/patterns.html#ieframe:ie
When run on its own the test does not time out so it looks like something is interfering with it.
https://bugs.winehq.org/show_bug.cgi?id=54613
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase Assignee|wine-bugs@winehq.org |fgouget@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=54613
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ieframe:ie times out when |advapi32:registry causes |run without elevated |ieframe:ie to time out when |privileges on Windows 8 |run without elevated | |privileges on Windows 8
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The interference seems to be caused by advapi32:registry.
https://bugs.winehq.org/show_bug.cgi?id=54613
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Created attachment 74146 --> https://bugs.winehq.org/attachment.cgi?id=74146 UAC prompt for running Edge
So running advapi32:registry causes the following UAC prompt to pop up when running ieframe:ie later:
A website wants to open web content using this program on your computer.
This program will open outside of Protected mode. Internet Explorer's Protected mode helps protect your computer. If you do not trust this website, do not open this program.
Name: Microsoft Edge Publisher: Microsoft Corporation
This happens on the first CoCreateInstance() call in test_InternetExplorer() in ie.c:
hres = CoCreateInstance(&CLSID_InternetExplorer, NULL, CLSCTX_SERVER, &IID_IUnknown, (void**)&unk);
And this is caused by the WOW64 RegCreateKeyExA() calls in test_reg_open_key() in registry.c (either of them triggers this issue):
ret = RegCreateKeyExA(HKEY_LOCAL_MACHINE, "Software\Wine", 0, NULL, 0, KEY_WOW64_32KEY | KEY_ALL_ACCESS, NULL, &hkRoot32, NULL);
This is a bit strange as w8adm is a 32-bit Windows installation so I would expect these tests to be skipped but pIsWow64Process is not NULL. I'm not sure the if (!pIsWow64Process) really makes sense: that seems more like a Windows version check that a 32- vs. 64-bit Windows installation check (or even a 32-bit process on 64-bit Windows check).
https://bugs.winehq.org/show_bug.cgi?id=54613
--- Comment #3 from François Gouget fgouget@codeweavers.com --- Created attachment 74169 --> https://bugs.winehq.org/attachment.cgi?id=74169 Slim down advapi32:registry to reproduce ieframe:ie & mshtml:htmldoc failures.
https://bugs.winehq.org/show_bug.cgi?id=54613
--- Comment #4 from Sven Baars sven.wine@gmail.com --- The advapi32 test has been skipped on this machine since a1adaaca2768708f5158b82d7a7edaf69124783e, but ieframe:ie and mshtml:htmldoc still time out.