Indy 9 Frozen Application

Posted on 2004-11-28
Last Modified: 2010-08-05
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
      For x:=0 to FConnectionCount -1 do
        if TConnectionThreadData(TIdPeerThread(Items[x]).Data).SendToThisThread then

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.WriteBuffer

I am at a loss on this one. HELP!!
Question by:rbohac
    LVL 2

    Accepted Solution

    Not sure if this will help in any way ...

    I had the (Indy)chat-demo program freezing up. Dropping a TIdAntiFreeze on the form got rid of that problem, maybe it'll help in your case too.
    LVL 8

    Expert Comment

    i faced a problem with madexept and Indy:
    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?

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now