FatalExecutionEngineError Detected while unhooking an event

I am developing a client / server application as part of my thesis and decided to use it SocketAsyncEventArgs

to get the best performance in terms of network operations. This afternoon I decided to do a quick and dirty stress test of an application creating 20 threads and sending 100,000 UDP messages per thread. At the end of the application, the following exception:

enter image description here

How can I find the reason for the exception? Or does any body have an idea why it falls into a seemingly random place?

I can re-produce most of the time I believe in, and I'm happy to provide code if needed.

Update:

I ran the same code on .Net version 4.0 with no errors. As far as I can tell, this is an issue with .Net 4.5 / Compliers / Jit. Any ideas on how to narrow down the exception would be greatly appreciated.

+1


source to share


1 answer


Does this only happen when debugging? I've seen a similar case where I would only get these errors when debugging x86 (not any type) on x86.



0


source







All Articles