My Winform application run on machine A. After sometime when i took remote control of machine A from machine B. I saw my application execute my script but application UI is in hung state.
So I used WinDbg(x64) for debug i saw application main thread is stuck with this log
Any ideas on what is causing this problem.
Thanks
So I used WinDbg(x64) for debug i saw application main thread is stuck with this log
Code:
ntdll.dll!NtWaitForSingleObject+0xa mswsock.dll!WSPStartup+0x8cd5 mswsock.dll!WSPStartup+0xad4e ws2_32.dll!recv+0x13c [Native Frame: IL Method without Metadata] [Managed to Unmanaged Transition] System.dll!System.Net.Sockets.Socket.Receive+0xfa System.dll!System.Net.Sockets.Socket.Receive+0x28 System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.SocketStream.Read+0x34 System.dll!System.Net.StreamFramer.ReadMessage+0x4d System.dll!System.Net.Security.NegoState.StartReceiveBlob+0x1e System.dll!System.Net.Security.NegoState.StartSendBlob+0x4bb System.dll!System.Net.Security.NegoState.ProcessAuthentication+0xc4 System.dll!System.Net.Security.NegotiateStream.AuthenticateAsClient+0x22 System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateAuthenticatedStream+0xca System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateSocketHandler+0x47 System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket+0xd0 System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.SocketCache.GetSocket+0x1bc System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry+0x162 System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.AsyncProcessRequest+0x27 System.Runtime.Remoting.dll!System.Runtime.Remoting.Channels.BinaryClientFormatterSink.AsyncProcessMessage+0xa8 mscorlib.dll!System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.AsyncProcessMessageCallback+0x79 [Unmanaged to Managed Transition] clr.dll+0xa7f3 clr.dll+0xa6de clr.dll!CopyPDBs+0x288b clr.dll!CopyPDBs+0x2aa2 clr.dll!CreateApplicationContext+0x1b3e [Managed to Unmanaged Transition] mscorlib.dll!System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.AsyncProcessMessage+0x29c mscorlib.dll!System.Runtime.Remoting.Messaging.EnvoyTerminatorSink.AsyncProcessMessage+0xdc mscorlib.dll!System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvokeAsync+0xf6 mscorlib.dll!System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke+0x5f2 mscorlib.dll!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke+0x1f4 [Unmanaged to Managed Transition] clr.dll+0x17292 clr.dll!CreateApplicationContext+0x137a8 clr.dll!CreateApplicationContext+0x2456 clr.dll+0x17194 [Managed to Unmanaged Transition] Microsoft.VisualBasic.dll!Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run+0x648 ExecutionAgent.exe!Cres.Execution.Agent.My.MyApplication.Main+0x5e [Unmanaged to Managed Transition] clr.dll+0xa7f3 clr.dll+0xa6de clr.dll+0xae76 clr.dll!CorExeMain+0x35e9 clr.dll!CorExeMain+0x392e clr.dll!CorExeMain+0x3827 clr.dll!CorExeMain+0x37aa clr.dll!CorExeMain+0x3702 clr.dll!CorExeMain+0x14 mscoreei.dll!CorExeMain+0x5d MSCOREE.DLL!CorExeMain+0x69 KERNEL32.dll!BaseThreadInitThunk+0xd ntdll.dll!RtlUserThreadStart+0x21
Thanks
Comment