https://bugs.winehq.org/show_bug.cgi?id=49624
Bug ID: 49624 Summary: Protocol error: process 0020: recvmsg: Message too long on mac OS Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: stefan@codeweavers.com Distribution: ---
When running CEF (32 or 64 bit version) on Mac OS Wine crashes with the following output:
grey:Release stefan$ ~/build/wine/wine cefclient.exe -no-sandbox -disable-gpu 0078:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\wineusb": c0000142 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114 0024:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 0024:fixme:process:SetProcessDEPPolicy (3): stub 0024:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub 0024:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11ddcb30, 0x16211728, 0x16211728) stub. 0024:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31f984, 0x0 0x31f980 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31f984 0x0 0x31f980) returning a dummy value (current locale) 0024:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31f984, 0x15733c0 0x31f980 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31f984 0x15733c0 0x31f980) returning a dummy value (current locale) 0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION Protocol error: process 0020: recvmsg: Message too long
This is a regression introduced by 526522caae103a27cd36740d6eca59387a189d02. Reverting the commit or disabling the new handle = load_ntdll( argv[0] ) code in loader/main.c makes the bug go away.
On Catalina, I have additionally seen random failures to load PE DLLs introduced by the same commit. I have not investigated this yet as a 64 bit CEF build is tricky either way.
This may be a duplicate of bug 49370. The exact way Wine crashes isn't clear in 49370, but the regression is caused by the same commit and it is also mac OS specific.
The particular CEF build my log is from is the Sample Application from http://opensource.spotify.com/cefbuilds/index.html#windows32_builds , version "07/24/2020 - CEF 84.3.7+g97011bc+chromium-84.0.4147.89 / Chromium 84.0.4147.89". I first noticed it with the CEF version that is embedded inside Wargaming.net Game Center, which has some workarounds for the 64 bit problems on Mac.