[Lazarus] zeos and heaptrc (interfaces?)

Boguslaw Brandys brandys at o2.pl
Mon Jul 7 12:28:13 CEST 2008


Yes.I saw that too.Try to turn on range check and other and you will see 
memory overrun errors detected.I don't know if they are really memory leaks 
or just incompatipility with heaptrace

Regards
Boguslaw


----- Original Message ----- 
From: "Luca Olivetti" <luca at wetron.es>
To: <lazarus at lazarus.freepascal.org>
Sent: Monday, July 07, 2008 9:18 AM
Subject: [Lazarus] zeos and heaptrc (interfaces?)


I was trying to detect memory leaks, so I activated the -gh (use
heaptrc) option in compiler options.
I left it activated and I added a zeos component (an sql query).
As soon as I activate the query, the program exits (with no exceptions
but a lot of heaptrc errors).
If I remove heaptrc the program works fine (and it doesn't appear to be
leaking memory, btw).
I see that zeos extensively uses interfaces, maybe is there some problem
using heaptrc with interfaces?

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007
_______________________________________________
Lazarus mailing list
Lazarus at lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus




Wiadomooæ e-mail sprawdzona przez Internet Security (5.5.0.212)
Wersja bazy danych: 5.10170
http://www.pctools.com/pl/internet-security/ 





WiadomoϾ e-mail sprawdzona przez Internet Security (5.5.0.212)
Wersja bazy danych: 5.10170
http://www.pctools.com/pl/internet-security/



More information about the Lazarus mailing list