our server have Intermittent network module problems
Dump point : WSARecv
Any help would be greatly appreciated.
Maybe using some compiler directive can help?
We build the executable in VS2017 in Release/x64
Dump Call Stack :
ntdll.dll!RtlpLowFragHeapAllocFromContext()
ntdll.dll!RtlpAllocateHeapInternal()
ws2_32.dll!WPUModifyIFSHandle()
ws2_32.dll!DCATALOG::FindIFSProviderForSocket(unsigned __int64)
ws2_32.dll!DSOCKET::FindIFSSocket(unsigned __int64)
ws2_32.dll!WSARecv()
VS says that (simple)command line is:
/Yu"PCH_server.h" /MP /GS /GL /W4 /wd"4100" /wd"4702" /wd"4996" /wd"4091" /wd"4366" /wd"4324" /Gy /Zc:wchar_t /Gm- /O2 /sdl
/Zc:inline /fp:precise /D "NDEBUG" /D "_CONSOLE" /D "_WIN64" /D "_RELEASE" /D "_UNICODE" /D "UNICODE" /errorReport:prompt
/WX /Zc:forScope /Gd /Oi /MT /FC /EHsc /nologo /diagnostics:classic
Additionally, our server is Multi Thread
I don’t know why crash WSARecv
not a make SocketError, just crash
Source: Windows Questions