[fpc-devel] crash in heaptrc

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Sep 17 20:15:58 CEST 2011


On 17 Sep 2011, at 16:41, Martin <lazarus at mfriebe.de> wrote:

> It happens when the lazarus IDE is compiled with both -gh and -gc

-gc is a fairly flaky option and it can only be used if your entire application only consists of FPC code.

In general, I would strongly recommend against ever using it, because you'll mist likely spend more time debugging issues caused by it than it will save you.

For debugging memory issues that aren't caught by heaptrc, use Valgrind (Unix) or Dr. Memory (Linux, Windows)


Jonas


More information about the fpc-devel mailing list