Delphi 7 Indy Multi Threaded Access Violation in TlsLast

Posted on 2009-02-19
Last Modified: 2013-11-23
Hi all and good luck with this question.

We have written a client server application using Indy to communicate via TCP/IP.  On the multi-threaded server application (which is a service) we occasionally get an access violation.  When we use AvFinder we find that the access violation is occurring inside something called TlsLast.  

And that is all the information we get - we have no idea what is causing this access violation.

It happens extremely rarely (once every few months) and we can't ever reproduce it in house.  

Below is the output from AvFinder.exe.
Offset is equal to Linker / Memory Sizes / Image Base value + $1000


Line found:

Line found:

 0002:FF9E2010       TlsLast

Line found:



Open in new window

Question by:enigmasolutions
    LVL 36

    Accepted Solution

    have you tried adding a component like Eurekalog or Madshi to get a stack trace report ?

    LVL 1

    Author Comment

    Thanks for the reply + sorry for being slow to respond.

    I will try these out (they look good).
    LVL 1

    Author Closing Comment

    I haven't had a chance to research these.  But you answer is a good one.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    745 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

    14 Experts available now in Live!

    Get 1:1 Help Now