[fpc-devel]Recompile the RTL to trace bugs

Marco van de Voort marcov at stack.nl
Mon May 3 20:00:38 CEST 2004

> if you really want to do that and fix the problem, I also will be very
> happy, so maybe that will be an extra motivation for you :)
> For two years I have been trying FPC on my projects, that use dynarrays
> heavily. There were always problems, first year I was patiently reporting
> each new problem, but when I saw that they never go away, or go away and
> then return, or go away in few month to let me see next problem, I decided
> that this way the dynarrays in FPC will only work after 10 years, so I gave
> up. SetLength for dynarrays and openarrays, was always corrupting memory. It
> was fixed many times, and still does that again. And yes, you cannot often
> creat simple programs to bug report them. It probably has to do something
> with functions calling, releasing memory at the end of function, or
> something of that sort.

This could be one dangling pointer that is messing up your heap.

Please keep to the facts, and don't spread unnecessary rumours.

More information about the fpc-devel mailing list