[Bug 35374] New: unimplemented function mscoree.dll.CLRCreateInstance
http://bugs.winehq.org/show_bug.cgi?id=35374 Bug ID: 35374 Summary: unimplemented function mscoree.dll.CLRCreateInstance Product: Wine Version: 1.7.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs(a)winehq.org Reporter: denis.bonnenfant(a)diderot.org Classification: Unclassified Created attachment 47177 --> http://bugs.winehq.org/attachment.cgi?id=47177 backtrace SolidWorks 2013 32bits crashes with : Unimplemented function mscoree.dll.CLRCreateInstance called at address 0x7bc54010 vcrun2008, vcrun2010, dotnet35 and dotnet40 are installed with winetricks, as they are normal prerequisites even in windows. mscoree is configured as native -- 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.
http://bugs.winehq.org/show_bug.cgi?id=35374 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet Component|mscoree |-unknown --- Comment #1 from Vincent Povirk <madewokherd(a)gmail.com> --- Backtrace shows native mscoree is used, so component can't be mscoree. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=35374 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht(a)gmx.net Component|-unknown |msi Summary|unimplemented function |SolidWorks 2013 fails to |mscoree.dll.CLRCreateInstan |setup CLR 4.0 hosting, |ce |complains about | |unimplemented function | |mscoree.dll.CLRCreateInstan | |ce (.NET 3.x mscoree.dll | |not updated/replaced by | |.NET 4.0 installer) Ever confirmed|0 |1 --- Comment #2 from Anastasius Focht <focht(a)gmx.net> --- Hello denis, this is the result of having both .NET Frameworks, 3.5 and 4.0 installed into same WINEPREFIX. CLRCreateInstance() is only available from CLR 4.0 or higher so this error is kind of expected if the native 'mscoree.dll' is from .NET 3.x installation. The proper way for application code to determine/request the correct CLR would be: 1) load 'mscoree' dynamically 2) GetProcAddress() of 'CLRCreateInstance' -> if NULL, fall back to legacy path (CorBindToRuntimeEx) -> if non-NULL, call CLRCreateInstance() to get ICLRMetaHost -> if E_NOTIMPL, fall back to legacy path (CorBindToRuntimeEx) Apparently the app wants CLR 4.x hosting and hard-binds to CLRCreateInstance() (unsafe). You could try to reverse the .NET Framework installation order to have CLR 4.0 mscoree: -> .NET 4.0 first and then .NET 3.x There might be some dialog boxes during install, stating 'failed to load requested runtime'. You can dismiss them. 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.
http://bugs.winehq.org/show_bug.cgi?id=35374 --- Comment #3 from denis bonnenfant <denis.bonnenfant(a)diderot.org> --- OK, thanks for the explanation. I ran the installer on a fresh wineprefix, with winetricks vcrun2008 vcrun2010 dotnet40 dotnet35. Now I have a crash in regasm.exe at the end of installation : err:eventlog:ReportEventW L"Application: RegAsm.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.ArgumentException\nStack:\n at System.Threading.Thread.nativeSetThreadUILocale(System.String)\n at System.Threading.Thread.set_CurrentUICulture(Sy"... fixme:advapi:DeregisterEventSource (0xcafe4242) stub Unhandled Exception: System.ArgumentException: Exception from HRESULT: 0x80070057 (E_INVALIDARG) at System.Threading.Thread.nativeSetThreadUILocale(String locale) at System.Threading.Thread.set_CurrentUICulture(CultureInfo value) at Microsoft.Tools.RegAsm.RegAsm.SetConsoleUI() at Microsoft.Tools.RegAsm.RegAsm.Main(String[] aArgs) wine: Unhandled exception 0xe0434352 in thread c6 at address 0x7b83a8fe (thread 00c6), starting debugger... When starting Solidworks, it doesn't crash anymore, but loops infinitely on splash screen with message "loading registry..." I guess that it is related that installation doesn't complete. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=35374 --- Comment #4 from denis bonnenfant <denis.bonnenfant(a)diderot.org> --- Created attachment 47187 --> http://bugs.winehq.org/attachment.cgi?id=47187 regasm backtrace during installation -- 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.
http://bugs.winehq.org/show_bug.cgi?id=35374 --- Comment #5 from denis bonnenfant <denis.bonnenfant(a)diderot.org> --- After few secons the application crash, with this error : err:eventlog:ReportEventW L".NET Runtime version 4.0.30319.1 - There was a failure initializing profiling API attach infrastructure. This process will not allow a profiler to attach. HRESULT: 0x800706a9. Process ID (decimal): 92. Message ID: [0x2509]." The application generates its own backtrace : -- 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.
http://bugs.winehq.org/show_bug.cgi?id=35374 --- Comment #6 from denis bonnenfant <denis.bonnenfant(a)diderot.org> --- Created attachment 47188 --> http://bugs.winehq.org/attachment.cgi?id=47188 solidworks crash log -- 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.
https://bugs.winehq.org/show_bug.cgi?id=35374 --- Comment #7 from denis bonnenfant <denis.bonnenfant(a)diderot.org> --- This bug is still present in 1.7.29 with SW2014 with winetrick dotnet40, but hopefully there is a simple workaround : just set winver=winxp -- 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.
https://bugs.winehq.org/show_bug.cgi?id=35374 Sylvain Petreolle <spetreolle(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spetreolle(a)yahoo.fr -- 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.
https://bugs.winehq.org/show_bug.cgi?id=35374 Ben Shefte <shefben(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shefben(a)gmail.com -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla