https://bugs.winehq.org/show_bug.cgi?id=45840
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Summary|Steam Desktop Authenticator |Steam Desktop Authenticator |1.0.9 (.NET 4.6 app) |1.0.9 (.NET 4.6 app) |crashes when clicking "View |crashes in CefSharp managed |Confirmations" |wrapper | |'<Module>.CefInitialize' | |when clicking "View | |Confirmations" with | |Wine-Mono
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello Ilnar,
--- quote --- Maybe it's happening because the programm cannot start default browser, IE for simple? --- quote ---
Likely not, it's using the Chromium Embedded Framework (CEF) which provides an own browser implementation. It used managed wrappers for .NET from this project:
NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
https://github.com/cefsharp/CefSharp
The callout from managed code to unmanaged:
https://github.com/cefsharp/CefSharp/blob/05b37ab61583cbc3c7aa2ce6dce42bf83b...
--- snip --- ... CefMainArgs main_args; CefRefPtr<CefSharpApp> app(new CefSharpApp(cefSettings, browserProcessHandler));
auto success = CefInitialize(main_args, *(cefSettings->_cefSettings), app.get(), NULL); ... --- snip ---
Unmanaged (pinvoke) entry declaration:
--- snip --- [SuppressUnmanagedCodeSecurity] [MethodImpl(MethodImplOptions.Unmanaged | MethodImplOptions.PreserveSig, MethodCodeType = MethodCodeType.Native)] [return: MarshalAs(UnmanagedType.U1)] internal static extern unsafe bool CefInitialize([In] CefMainArgs* obj0, [In] CefStructBase\u003CCefSettingsTraits\u003E* obj1, [In] scoped_refptr\u003CCefApp\u003E* obj2, [In] void* obj3); --- snip ---
No idea since I don't come that far. Could be some interop marshalling problem in the platform invoke for the 'libcef.dll.CefInitialize' entry point. Maybe some object reference is invalid due to earlier problems.
You could try with native (Microsoft) .NET Framework 4.6.x using 'winetricks'.
Be aware installation of MS .NET Frameworks 4.x via 'winetricks' is broken again in recent Wine versions due to MSI regressions. The frequency of MSI regressions really *** me off so I didn't bother to look anymore.
Regards