[Lazarus] SIGSEGV with Debug only

José Mejuto joshyfun at gmail.com
Fri Mar 30 17:17:59 CEST 2012


Hello Lazarus-List,

Friday, March 30, 2012, 5:11:07 PM, you wrote:

DSdA> Bingo...
DSdA> Is the HeapTrace.. I just removed HeapTrace Unit from
DSdA> Linking and the problem has gone... 

Removing heaptrace hide the error not fix the bug. The heaptrace is
showing you a bug that otherwise you will not be aware of it in most
situations like:

var
 a: TSomething;
begin
 a:=TSomething.Create;
 a.Method;
 a.Free;
 a.Method; //This is a bug that will be showed by heaptrace.
end;

-- 
Best regards,
 José





More information about the Lazarus mailing list