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