Jonas Maebe suggested that I try Dr Memory to track down a possible heap corruption in one of my test programs.
This has led to what I think deserves it own discussion thread.
I ran a lazarus 1.2.4/fpc 2.6.4 compiled programs on Windows 8.1 x64 compilied with Dwarf2 (-dw2)
and HeapTrc On, Range Check ON (-Cr), Verify Method On (-CR)
The minimal example is just creating a simple lazarus application with a single unpopulated form. Compile. Run.
Attached is the results file and the sample minimal app for verification.
Command line for Dr Memory: C:\pdev\rpztestminimum>drmemory.exe -- rpztestminimum.exe <enter>
Heaptrc when turned on with CMEM commented out reports no heap errors.
What I find suprising is the number of ERRORS that Dr Memory discovered on a raw, naked, simple lazarus application.
Anybody have greater experience with Dr Memory to know what errors are actually real and which errors are valid in the latests releases of lazarus/fpc.
Cheers,
marco
