EExternalException at address 7C964ED1 in module Nt.dll in a multithreaded application
Posted on 2006-03-21
I made an application that spiders the web and indexes pages ... more like a search engine indexer.
The App uses winsock directly and threads created using BeginThread function .... everything works fine for about 5 hours of running .. after wich it rasies the EExternalException.
I use blocking sockets with select so i only read when there is to read data.
I protect any global vars using critical sections ..
I recently downloaded EurekaLog .. and i'm currently evaluating it.. using Eureka .. it sais that the exception was rased at multiple lines in my code... one wich is at the CriticalSection ( at the Enter ) and another one at the exit of the critical section.
I tried everything i know there is to try .. and no result... I hope the fact that i do not have Delphi Updates is not the reason .... I know there is an RTL update ... please someone guide me towards a solution ... i'm really stuck !
BTW.. I use Delphi 6 , WinXP Home edition with all windows updates.