<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
Le 07/06/2012 22:50, Martin a écrit :
<blockquote cite="mid:4FD11431.80209@mfriebe.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
On 07/06/2012 09:20, Antonio Fortuny wrote:
<blockquote cite="mid:jqpknc$9bq$1@dough.gmane.org" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
1 unfreed memory blocks : 16
<<=========================== sounds OK<br>
True heap size : 786432 (160 used in System startup)<br>
True free heap : 813088<br>
Should be : 786128<br>
Call trace for block $0000000000086ED0 size 16
<<========================== this is OK<br>
$000000000040FE8E<br>
$0000000000540A19<br>
$0000000000531EF9<br>
$000000000050E44A<br>
$0000000000586FA9<br>
$000000000052DC99<br>
$000000000053B4C7<br>
$00000000005B5237<br>
</blockquote>
<br>
Maybe the very first address is somewhere without debug info?<br>
</blockquote>
Maybe. But in any case, the very last is inside the program:<br>
procedure TForm1.BtnConnectClick(Sender: TObject);<br>
var<br>
pc: PChar;<br>
begin<br>
<b><i> pc := nil;<br>
ReAllocMem(pc, 16);<br>
</i></b> ConnectDB;<br>
BtnConnect.Enabled := False;<br>
BtnDisconnect.Enabled := not BtnConnect.Enabled;<br>
BtnConnect.Enabled := False;<br>
GrQuery.Enabled := True;<br>
GrSerialTest.Enabled := True;<br>
GrSmallTests.Enabled := True;<br>
AllowQueryButtons(False);<br>
end;<br>
<br>
<blockquote cite="mid:4FD11431.80209@mfriebe.de" type="cite"> The
problem is that the stackdump permamently stops resolving, once
this happens.<br>
<br>
Since you are on 1.1<br>
</blockquote>
yes in Vista WIN32 but not in my current development platform:
Windows server 2003 x64<br>
Lararus 0.9.31. <br>
<blockquote cite="mid:4FD11431.80209@mfriebe.de" type="cite"> please
install the package LeakView - then go to tools menu and open the
leak view window<br>
load the data</blockquote>
I've installedthe package leakview but it does not help really:<br>
<img src="cid:part1.02060409.05030507@sitasoftware.lu" alt="">
<blockquote cite="mid:4FD11431.80209@mfriebe.de" type="cite">.<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
</body>
</html>