I face this issue for a while and don't have a good idea how to resolve it.
The application is actually a DLL coded in VB.NET 2013 compiled with .NET framework 4.6.1 in used to do message exchange via TCP port.
The DLL is loaded and running in Win2012R2 with .NET framework 4.5 . DLL is running well without issue when TCP port is connecting.
However, the DLL gets crashed after retrying to open TCP port for a while (in the log file I logged, the retry count reached 1000+ times).
I try to look for the root cause and I found the clr.dll
is the main reason causing crash. In other articles I found some information but seems not quite similar to mine...
Below is the windows event log for your reference. I wonder if anyone has faced this issue and resolved it please kind let me know.
Log Name: Application
Source: Application Error
Date: 4/5/2018 2:23:48 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: Server11
Description:
Faulting application name: MyProgram.exe, version: 7.8.0.30, time stamp: 0x5984af0d
Faulting module name: clr.dll, version: 4.7.2053.0, time stamp: 0x58fa6bb3
Exception code: 0xc00000fd
Fault offset: 0x0045138d
Faulting process id: 0x1e04
Faulting application start time: 0x01d3cc2fb84774be
Faulting application path: MyProgram.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: ef43e05d-382c-11e8-80bf-000c291e7679
Faulting package full name:
Faulting package-relative application ID: