https://bugs.winehq.org/show_bug.cgi?id=40186
Bug ID: 40186 Summary: mscoree:mscoree test regression Product: Wine Version: 1.9.3 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The commit below causes the mscoree:mscoree test to crash on several Windows VMs: * wxppro-sp4v3.1a (Windows XP SP3, latest installed .net runtime v2.0.50727) * win7u64: All the versions with .Net 2.0.50727, which is all of them except the one with no service pack (-0sp).
The crash happens after these traces: mscoree.c:108: latest installed .net runtime: L"v2.0.50727" mscoree.c:129: latest installed .net installed in directory: L"C:\Windows\Microsoft.NET\Framework\v2.0.50727\" mscoree.c:137: installed in directory L"C:\Windows\Microsoft.NET\Framework\" is .net version L"v2.0.50727" mscoree.c:431: Tests skipped: .NET 4 not installed. mscoree.c:453: Test failed: CLRCreateInstance failed, hr=0x80004001 mscoree.c:453: this is the last test seen before the exception mscoree: unhandled exception c0000005 at 0040414A test failed: crash
So most likely when the tests tries to use metahost after the failed CLRCreateInstance(&CLSID_CLRMetaHost...) call.
ole32:compobj results on test.winehq.org: https://test.winehq.org/data/tests/ole32:compobj.html
commit fdeaf812e2d0d5bd26146325272892f1b3d8d1ce Author: Charles Davis cdavis5x@gmail.com Date: Tue Feb 16 18:14:19 2016 -0700
mscoree: Implement ICorRuntimeHost::CreateDomain{, Ex}().
Signed-off-by: Charles Davis cdavis5x@gmail.com Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Obviously the test should (win_)skip these tests if there is no suitable .Net runtime so as not to cause failures or a crash.