<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<blockquote cite="mid:4FD11431.80209@mfriebe.de" type="cite"> Maybe
the very first address is somewhere without debug info?<br>
The problem is that the stackdump permamently stops resolving,
once this happens.<br>
<br>
Since you are on 1.1<br>
please install the package LeakView - then go to tools menu and
open the leak view window<br>
load the data.<br>
<br>
there is a button "resolve". select the exe that leaked. it is a
new feature. it SHOULD resolve any address for which symbols exist<br>
</blockquote>
But it does not really <span class="moz-smiley-s7"><span> :-\ </span></span><br>
<br>
I've prepared a new virtual machine with W7-Win32<br>
Lazarus full 1.1 from 2012-06-11 + WinCE for cross-compile<br>
Made a very simple project (one form, two buttons one to create a
memory leak, one to close)<br>
Redirect heaptrc output to a file<br>
Set compiler options for compiler and linker:<br>
-g automatic debugger<br>
-gl add line numbers<br>
-gh use heaptrc<br>
-WG win32 program<br>
compile, link and run and get this:<br>
<i><b>c:\sources\compiled\TestUib.Exe <br>
Heap dump by heaptrc unit<br>
756 memory blocks allocated : 1539928/1541288<br>
755 memory blocks freed : 1539912/1541272<br>
1 unfreed memory blocks : 16</b></i> <<======== my block,
looks OK<br>
<i><b>True heap size : 655360 (96 used in System startup)<br>
True free heap : 658416<br>
Should be : 655184<br>
Call trace for block $001D62B0 size 16</b></i> <<========
my block, looks OK<br>
<i><b> $0040D628<br>
$004FAA4E TCONTROL__CLICK, line 2735 of
./include/control.inc<br>
$00512A7F TBUTTONCONTROL__CLICK, line 56 of
./include/buttoncontrol.inc<br>
$005130B6 TCUSTOMBUTTON__CLICK, line 175 of
./include/buttons.inc<br>
$00513711 TBUTTON__CLICK, line 355 of ./include/buttons.inc<br>
$005129AA TBUTTONCONTROL__WMDEFAULTCLICKED, line 26 of
./include/buttoncontrol.inc<br>
$0040AE56<br>
$004EDBEF TWINCONTROL__WNDPROC, line 5298 of
./include/wincontrol.inc<br>
</b></i>the result whether I use -gs or -g. I can easily guess
that both blank lines with only an address are the two lines of my
project<br>
I've installed leakview but the Resolve button resolves anything
with the project.exe<br>
Thea ddress <i><b>$0040D628</b></i> corresponds to the function
Reallocmem function used to get the memory block<br>
<br>
Antonio<br>
</body>
</html>