rbohac
asked on
Indy 9 Frozen Application
I am using Madshi's MadExcept to troubleshoot an application of mine. I have been having trouble with an error stating that the application is frozen. This is happening when I am calling writebuffer on an Indy 9.0 TIDTCPServer
Here is what I am doing:
with FServer.Threads.LockList do
try
For x:=0 to FConnectionCount -1 do
if TConnectionThreadData(TIdP eerThread( Items[x]). Data).Send ToThisThre ad then
TIdPeerThread(Items[x]).Co nnection.W riteBuffer (FSendBuff erStream.M emory^,FSe ndBufferSt ream.Size, True);
Finally
FServer.Threads.UnLockList ;
end;
exception message : The application seems to be frozen.
main thread ($3b8):
77f82870 ntdll.dll NtWaitForSingleObject
75031c5f WS2_32.DLL send
00481952 ScreenCapAgent.exe IdStackWindows 316 TIdStackWindows.WSSend
00484e52 ScreenCapAgent.exe IdSocketHandle 153 TIdSocketHandle.Send
00489b21 ScreenCapAgent.exe IdIOHandlerSocket 233 TIdIOHandlerSocket.Send
004885d5 ScreenCapAgent.exe IdTCPConnection 786 TIdTCPConnection.WriteBuff er
I am at a loss on this one. HELP!!
Here is what I am doing:
with FServer.Threads.LockList do
try
For x:=0 to FConnectionCount -1 do
if TConnectionThreadData(TIdP
TIdPeerThread(Items[x]).Co
Finally
FServer.Threads.UnLockList
end;
exception message : The application seems to be frozen.
main thread ($3b8):
77f82870 ntdll.dll NtWaitForSingleObject
75031c5f WS2_32.DLL send
00481952 ScreenCapAgent.exe IdStackWindows 316 TIdStackWindows.WSSend
00484e52 ScreenCapAgent.exe IdSocketHandle 153 TIdSocketHandle.Send
00489b21 ScreenCapAgent.exe IdIOHandlerSocket 233 TIdIOHandlerSocket.Send
004885d5 ScreenCapAgent.exe IdTCPConnection 786 TIdTCPConnection.WriteBuff
I am at a loss on this one. HELP!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
madexept is reporting frozen application if no data is received within the monitoring time. Just disable madexept "check for frozen apps" and the time limit is gone.
does it help?