https://bugs.winehq.org/show_bug.cgi?id=48256
Bug ID: 48256 Summary: pwsh.exe (powershell) crashes after 20~50 sec: System.EntryPointNotFoundException: Unable to find an entry point named 'FreeAddrInfoEx' in DLL 'ws2_32.dll'. Product: Wine Version: 4.21 Hardware: x86 URL: https://github.com/PowerShell/PowerShell/releases/down load/v6.1.6/PowerShell-6.1.6-win-x64.zip OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
See below. Just start pswh.exe and wait a while (or type anything)
I don`t know if FreeAddrInfoEx is exactly same as FreeAddrInfoExW so if it can just be forwarded, so if anyone who knows more about winsock could fix this bug that would be nice (note: FreeAddrInfoEx entry is present in win7 ws2_32)
Error in console:
An error has occurred that was not properly handled. Additional information is shown below. The PowerShell process will exit.
Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named 'FreeAddrInfoEx' in DLL 'ws2_32.dll'. at Interop.Winsock.FreeAddrInfoEx(AddressInfoEx* pAddrInfo) at System.Net.NameResolutionPal.GetAddrInfoExContext.FreeContext(GetAddrInfoExContext* context) at System.Net.NameResolutionPal.ProcessResult(SocketError errorCode, GetAddrInfoExContext* context) at System.Net.NameResolutionPal.GetAddressInfoExCallback(Int32 error, Int32 bytes, NativeOverlapped* overlapped) 003c:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub 003c:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x1ba0d600,(nil)): stub 003c:err:eventlog:ReportEventW L"Application: pwsh.exe\nCoreCLR Version: 4.6.28008.1\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.EntryPointNotFoundException: Unable to find an entry point named 'FreeAddrInfoEx' in DLL 'ws2_32.dll'.\r\n at Interop.Winsock.FreeAddrInfoE"...