http://bugs.winehq.org/show_bug.cgi?id=28924
Bug #: 28924 Summary: "Unknown error" message at Visual Studio 2010 startup Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: keks9n@gmail.com Classification: Unclassified
I've got it installed, but it doesn't run.
$ wine devenv.exe fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:process:SetProcessDEPPolicy (1): stub fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:shell:SetCurrentProcessExplicitAppUserModelID L"VisualStudio.10.0": stub fixme:ole:CoInitializeSecurity (0x32f898,-1,(nil),(nil),0,0,(nil),8,(nil)) - stub! err:ole:CoGetClassObject class {0000034b-0000-0000-c000-000000000046} not registered err:ole:CoGetClassObject no class object {0000034b-0000-0000-c000-000000000046} could be created for context 0x1
Then it shows "Unknown error" message.
http://bugs.winehq.org/show_bug.cgi?id=28924
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru 2011-10-30 06:06:26 CDT --- Specify Wine version you are using in the Version field above.
http://bugs.winehq.org/show_bug.cgi?id=28924
keks9n@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.31
http://bugs.winehq.org/show_bug.cgi?id=28924
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download Status|UNCONFIRMED |NEW URL| |http://www.microsoft.com/vi | |sualstudio/en-us/products/2 | |010-editions CC| |focht@gmx.net Depends on| |29676, 18640 Summary|"Unknown error" message at |Visual Studio 2010 fails to |Visual Studio 2010 startup |start Ever Confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net 2012-03-09 18:25:57 CST --- Hello,
confirming, needs 'winetricks dotnet20 dotnet40' prerequisite.
First showstopper is bug 29676 (.NET 4.0 runtime fails to initialize MediaSystem subsystem due to rpcrt4.dll RpcMgmtIsServerListening being a stub)
--- snip --- 002b:Call rpcrt4.RpcMgmtIsServerListening(002078e8) ret=561d99db 002b:fixme:rpc:RpcMgmtIsServerListening (0x2078e8): stub 002b:Ret rpcrt4.RpcMgmtIsServerListening() retval=000006a6 ret=561d99db ... 002b:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032ea94) ret=79084c0f 002b:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b8392a7 ip=7b8392a7 tid=002b 002b:trace:seh:raise_exception info[0]=19930520 002b:trace:seh:raise_exception info[1]=0032eac0 002b:trace:seh:raise_exception info[2]=5625e764 002b:trace:seh:raise_exception eax=7b8262d1 ebx=7b8a96a8 ecx=19930520 edx=0032e9a4 esi=0032ea80 edi=0032ea00 002b:trace:seh:raise_exception ebp=0032e9e8 esp=0032e984 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 002b:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=e06d7363 flags=1 ... 002b:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b8392a7 ip=7b8392a7 tid=002b 002b:trace:seh:raise_exception info[0]=800706a6 002b:trace:seh:raise_exception info[1]=00000000 002b:trace:seh:raise_exception info[2]=00000000 002b:trace:seh:raise_exception info[3]=00000000 002b:trace:seh:raise_exception info[4]=79140000 002b:trace:seh:raise_exception eax=7b8262d1 ebx=7b8a96a8 ecx=79140000 edx=0032ec58 esi=0032ed2c edi=0032eca0 002b:trace:seh:raise_exception ebp=0032ec88 esp=0032ec24 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000287 002b:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=e0434352 flags=1 ... 002b:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0032f078) ret=791cac08 002b:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b8392a7 ip=7b8392a7 tid=002b 002b:trace:seh:raise_exception info[0]=80131604 002b:trace:seh:raise_exception info[1]=00000000 002b:trace:seh:raise_exception info[2]=00000000 002b:trace:seh:raise_exception info[3]=00000000 002b:trace:seh:raise_exception info[4]=79140000 002b:trace:seh:raise_exception eax=7b8262d1 ebx=7b8a96a8 ecx=79140000 edx=0032ef68 esi=0032f034 edi=0032efb0 002b:trace:seh:raise_exception ebp=0032ef98 esp=0032ef34 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000287 002b:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=e0434352 flags=1 ... 002b:Call oleaut32.SysAllocStringLen(016566d0 L"Exception has been thrown by the target of an invocation.",00000039) ret=793c87f2 ... --- snip ---
It runs then into bug 18640 (.NET 3.0 WPF MILCore (Media Integration Layer) requires IDirect3D9Ex for HW accelerated support)
--- snip --- fixme:win:EnumDisplayDevicesW ((null),0,0x61ce2d4,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x61ce560,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),1,0x61ce560,0x00000000), stub! fixme:d3d9:IDirect3D9ExImpl_GetAdapterDisplayModeEx iface 0x1f7360, adapter 0, mode 0x1f62fc, rotation 0x1f6314 stub! err:ntdll:vDbgPrintExWithPrefix 63: MIL FAILURE: Unexpected HRESULT 0x80004001 in caller: Could not create display set. fixme:win:EnumDisplayDevicesW ((null),0,0x61ce18c,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x61ce418,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),1,0x61ce418,0x00000000), stub! fixme:d3d9:IDirect3D9ExImpl_GetAdapterDisplayModeEx iface 0x1face0, adapter 0, mode 0x1f254c, rotation 0x1f2564 stub! err:ntdll:vDbgPrintExWithPrefix 63: MIL FAILURE: Unexpected HRESULT 0x80004001 in caller: The render thread failed unexpectedly. --- snip ---
The IDE needs a working WPF subsystem.
$ wine --version wine-1.4-78-g94953f1
Regards
http://bugs.winehq.org/show_bug.cgi?id=28924
Bug 28924 depends on bug 18640, which changed state.
Bug 18640 Summary: .NET Framework 3.x/4.x WPF Media Integration Layer requires IDirect3D9ExImpl_GetAdapterDisplayModeEx implementation http://bugs.winehq.org/show_bug.cgi?id=18640
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=28924
Adam Baxter bugs@voltagex.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs@voltagex.org
--- Comment #3 from Adam Baxter bugs@voltagex.org 2012-08-18 04:00:18 CDT --- fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:process:SetProcessDEPPolicy (1): stub fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:shell:SetCurrentProcessExplicitAppUserModelID L"VisualStudio.10.0": stub fixme:ole:CoInitializeSecurity (0x32f898,-1,(nil),(nil),0,0,(nil),8,(nil)) - stub! err:ole:CoGetClassObject class {0000034b-0000-0000-c000-000000000046} not registered err:ole:CoGetClassObject no class object {0000034b-0000-0000-c000-000000000046} could be created for context 0x1 fixme:wincodecs:PngDecoder_Block_GetCount 0x14f528,0x6de87c: stub fixme:thread:SetThreadStackGuarantee (0x32fac4): stub
version: 1.5.11
http://bugs.winehq.org/show_bug.cgi?id=28924
Bug 28924 depends on bug 29676, which changed state.
Bug 29676 Summary: .NET 4.0 runtime fails to initialize MediaSystem subsystem due to rpcrt4.dll RpcMgmtIsServerListening being a stub http://bugs.winehq.org/show_bug.cgi?id=29676
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=28924
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoft.com/vi |https://www.microsoft.com/e |sualstudio/en-us/products/2 |n-us/download/details.aspx? |010-editions |id=2890 Component|-unknown |atl Summary|Visual Studio 2010 fails to |Visual Studio 2010 fails on |start |startup, needs | |atl100.AtlAdvise impl
--- Comment #4 from Anastasius Focht focht@gmx.net 2012-12-27 09:09:45 CST --- Hello folks,
the error has most likely changed/shifted over one year, targeting specific problem as of wine-1.5.20 Refining summary.
Prerequisite: 'winetricks -q dotnet20 dotnet40'
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Microsoft Visual Studio 10.0/Common7/IDE
$ WINEDEBUG=+tid,+seh,+loaddll,+process,+atl,+relay wine ./devenv.exe >>log.txt 2>&1 ... 002c:Call atl100.AtlAdvise(0033b07c,003a9c08,36990d74,003a9c60) ret=36991419 002c:fixme:atl100:AtlAdvise 0x33b07c 0x3a9c08 0x36990d74 0x3a9c60 002c:Ret atl100.AtlAdvise() retval=80004005 ret=36991419 ... 002c:Call KERNEL32.FormatMessageW(000031ff,00000000,80004005,00000400,0032e470,00000000,0032e41c) ret=7923ae16 002c:Ret KERNEL32.FormatMessageW() retval=00000000 ret=7923ae16 ... 002c:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83aa77 ip=7b83aa77 tid=002c 002c:trace:seh:raise_exception info[0]=80004005 002c:trace:seh:raise_exception info[1]=00000000 002c:trace:seh:raise_exception info[2]=00000000 002c:trace:seh:raise_exception info[3]=00000000 002c:trace:seh:raise_exception info[4]=79140000 002c:trace:seh:raise_exception eax=7b826831 ebx=7b8b96b0 ecx=79140000 edx=0032e648 esi=0032e728 edi=0032e6a0 002c:trace:seh:raise_exception ebp=0032e678 esp=0032e614 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 ... 002c:Call oleaut32.SysAllocString(06acfae8 L"The application cannot start.") ret=7ead1604 ... --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/56c094186f7baf72310acee2194b6a13a...
--- snip --- 33 HRESULT WINAPI AtlAdvise(IUnknown *pUnkCP, IUnknown *pUnk, const IID *iid, LPDWORD pdw) 34 { 35 FIXME("%p %p %p %p\n", pUnkCP, pUnk, iid, pdw); 36 return E_FAIL; 37 } --- snip ---
If you set atl100.dll to native it runs further (into next bug).
$ WINEDLLOVERRIDES="atl100=n" wine ./devenv.exe
Regards
http://bugs.winehq.org/show_bug.cgi?id=28924
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32568
http://bugs.winehq.org/show_bug.cgi?id=28924
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #5 from Jacek Caban jacek@codeweavers.com 2013-01-03 04:51:09 CST --- This patch should fix the AtlAdvise problem:
http://source.winehq.org/patches/data/93260
http://bugs.winehq.org/show_bug.cgi?id=28924
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e57b22b960c086ed4ce789c9cd8 | |81870be24e61f Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net 2013-01-03 16:43:01 CST --- Hello folks,
fixed by commit http://source.winehq.org/git/wine.git/commitdiff/e57b22b960c086ed4ce789c9cd8...
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Microsoft Visual Studio 10.0/Common7/IDE ... $ WINEDEBUG=+tid,+seh,+relay wine ./devenv.exe >>log.txt 2>&1 ... 002b:Call atl100.AtlInternalQueryInterface(0033ac60,368dcab8,368dcb78,0032ded0) ret=368dcab1 002b:Ret atl100.AtlInternalQueryInterface() retval=00000000 ret=368dcab1 002b:Call atl100.AtlAdvise(0033ac7c,003b2658,36990d74,003b26b0) ret=36991419 002b:Call atl100.AtlInternalQueryInterface(0033ac60,368dcab8,7ec2da34,0032ddc0) ret=368dcab1 002b:Ret atl100.AtlInternalQueryInterface() retval=00000000 ret=368dcab1 002b:Call atl100.AtlInternalQueryInterface(003b2658,368dc744,0032dd74,0032dd70) ret=369b10b8 002b:Ret atl100.AtlInternalQueryInterface() retval=00000000 ret=369b10b8 002b:Call ntdll.RtlAllocateHeap(00330000,00000008,00000010) ret=78ab0b93 002b:Ret ntdll.RtlAllocateHeap() retval=003b26c8 ret=78ab0b93 002b:Ret atl100.AtlAdvise() retval=00000000 ret=36991419 ... --- snip ---
Thanks Jacek.
Regards
http://bugs.winehq.org/show_bug.cgi?id=28924
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-01-04 15:01:01 CST --- Closing bugs fixed in 1.5.21.
https://bugs.winehq.org/show_bug.cgi?id=28924
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.microsoft.com/e |https://web.archive.org/web |n-us/download/details.aspx? |/20130329153355/http://down |id=2890 |load.microsoft.com/download | |/D/B/C/DBC11267-9597-46FF-8 | |377-E194A73970D6/vs_proweb. | |exe