Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27184

VS 2005 Application gets hanged with multiple instances of a thread in VB.NET 2005

$
0
0
Hello.

We are developing an application which requires multi-threading. The thread has to run as long as the application is running. The application runs properly as long as there is only one instance of the thread. In case we start 2 instances of the same thread the application gets hanged after 15-20 minutes. We have used SyncLock for shared resources and delegates for updating GUI from thread. Still the application gets hanged.

We get the following exceptions when the application gets hanged:

1) An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll

2) .NET Runtime version 2.0.50727.3643 - Fatal Execution Engine Error (7A0BCA72) (80131506). ==> This gets recorded in the "My Computer-Manage-Event Viewer-Application"

In case the application is hanged, sometimes the "Memory Usage" for the ongoing processes seen in the Task Manager goes on increasing for our application.

Please guide us to solve the issue ASAP.

Thanks in advance.

Viewing all articles
Browse latest Browse all 27184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>