On 30/03/2012 16:11, Daniel Simoes de Ameida wrote:
Bingo...

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

No it has not gone.

It is only hidden. That means you lowered the likelihood of it happening.

The code still accesses an object that does not exist. That means random memory. Without heaptrc, you simple got better likelihood, that this random memory contains data, that does not cause a crash.
But the bug is still there. It may still crash...

Since it happens at form close, maybe you freed some component in your code?
Changed owner of a component (moving to other form)?
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to