I had a similar problem in .Net removal quite a while ago using IPC. I donβt remember all the features, so forgive me. The problem I discovered was that my client application was making a remote call to the server application, which took a long time (minutes) to complete. After you connected both the client and server to the debugger, and catching all the thrown exceptions, I found that the remote call actually ended up selecting an exception for the timeout (my memory wants to say that the internal message is connected to COM) since no activity occurred on the IPC channel during the wait period. Apparently, when these remote connections time out, links on both sides are essentially dead people. Oddly enough, I could only see this exception through the debugger - in release mode, my application just crashed, like yours, without any indication as to why. I found the timeout settings of the remote session and simply turned off the timeout (or made it ridiculously large, again I donβt remember exactly), which fixed the problem.
source share