<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.advancedwindowsdebugging.com/forums/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General Book Discussion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/5/ShowForum.aspx</link><description>General discussion about the Advanced Windows Debugging book.</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/257.aspx</link><pubDate>Wed, 18 Jun 2008 16:58:56 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:257</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/257.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=257</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.advancedwindowsdebugging.com/forums/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;kirants:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;I&amp;#39;ve been playing around with LeakDiag and am left all confused. I have been reading the book, looking at LeakDiag help and still not able to understand how one is supposed to interpret those log files. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Some of my questions:&lt;/p&gt;&lt;p&gt;1. What version of LeakDiag is the latest. The download I have is 1.25 and is dated 2002. However, somewhere here the one of the posts at the end allude to a 1.31.xx.yyy version. &lt;a href="http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2"&gt;http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2. I tried a simple application like below:&lt;/p&gt;&lt;p&gt;#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;#include &amp;lt;memory&amp;gt;&lt;/p&gt;&lt;p&gt;int _tmain(int argc, _TCHAR* argv[])&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;char* p = (char*)malloc(30);&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;return 0;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;using VS2005 IDE. I run this app, it stops at first getch at which point I run leakdiag, select this app, select C Runtime Allocator, hit Start. &lt;/p&gt;&lt;p&gt;I now, switch back to the target application console , punch in a key to let it go past the malloc&amp;nbsp;, and switch back to LeakDiag and hit Log. I would&amp;#39;ve thought this should dump the malloced entry in the log file, but I see that the log file is not generated at all. &lt;/p&gt;&lt;p&gt;&amp;nbsp;What is going on ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;P.S. I have tried an MFC application also, putting in a memory leak like above and then generating logs. I do see the logs, but there is no stack trace whatsoever which can be deciphered although I am pointing to the folder containing the exe. &lt;/p&gt;&lt;p&gt;BTW, I am running WinXP SP2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;</description></item><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/239.aspx</link><pubDate>Wed, 11 Jun 2008 17:37:34 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:239</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/239.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=239</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.advancedwindowsdebugging.com/forums/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;kirants:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;I&amp;#39;ve been playing around with LeakDiag and am left all confused. I have been reading the book, looking at LeakDiag help and still not able to understand how one is supposed to interpret those log files. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Some of my questions:&lt;/p&gt;&lt;p&gt;1. What version of LeakDiag is the latest. The download I have is 1.25 and is dated 2002. However, somewhere here the one of the posts at the end allude to a 1.31.xx.yyy version. &lt;a href="http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2"&gt;http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2. I tried a simple application like below:&lt;/p&gt;&lt;p&gt;#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;#include &amp;lt;memory&amp;gt;&lt;/p&gt;&lt;p&gt;int _tmain(int argc, _TCHAR* argv[])&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;char* p = (char*)malloc(30);&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;return 0;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;using VS2005 IDE. I run this app, it stops at first getch at which point I run leakdiag, select this app, select C Runtime Allocator, hit Start. &lt;/p&gt;&lt;p&gt;I now, switch back to the target application console , punch in a key to let it go past the malloc&amp;nbsp;, and switch back to LeakDiag and hit Log. I would&amp;#39;ve thought this should dump the malloced entry in the log file, but I see that the log file is not generated at all. &lt;/p&gt;&lt;p&gt;&amp;nbsp;What is going on ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;P.S. I have tried an MFC application also, putting in a memory leak like above and then generating logs. I do see the logs, but there is no stack trace whatsoever which can be deciphered although I am pointing to the folder containing the exe. &lt;/p&gt;&lt;p&gt;BTW, I am running WinXP SP2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;</description></item><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/227.aspx</link><pubDate>Fri, 06 Jun 2008 19:09:56 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:227</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/227.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=227</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.advancedwindowsdebugging.com/forums/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;kirants:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;I&amp;#39;ve been playing around with LeakDiag and am left all confused. I have been reading the book, looking at LeakDiag help and still not able to understand how one is supposed to interpret those log files. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Some of my questions:&lt;/p&gt;&lt;p&gt;1. What version of LeakDiag is the latest. The download I have is 1.25 and is dated 2002. However, somewhere here the one of the posts at the end allude to a 1.31.xx.yyy version. &lt;a href="http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2"&gt;http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2. I tried a simple application like below:&lt;/p&gt;&lt;p&gt;#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;#include &amp;lt;memory&amp;gt;&lt;/p&gt;&lt;p&gt;int _tmain(int argc, _TCHAR* argv[])&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;char* p = (char*)malloc(30);&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;return 0;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;using VS2005 IDE. I run this app, it stops at first getch at which point I run leakdiag, select this app, select C Runtime Allocator, hit Start. &lt;/p&gt;&lt;p&gt;I now, switch back to the target application console , punch in a key to let it go past the malloc&amp;nbsp;, and switch back to LeakDiag and hit Log. I would&amp;#39;ve thought this should dump the malloced entry in the log file, but I see that the log file is not generated at all. &lt;/p&gt;&lt;p&gt;&amp;nbsp;What is going on ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;P.S. I have tried an MFC application also, putting in a memory leak like above and then generating logs. I do see the logs, but there is no stack trace whatsoever which can be deciphered although I am pointing to the folder containing the exe. &lt;/p&gt;&lt;p&gt;BTW, I am running WinXP SP2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;</description></item><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/195.aspx</link><pubDate>Tue, 03 Jun 2008 07:27:31 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:195</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/195.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=195</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.advancedwindowsdebugging.com/forums/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;kirants:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;I&amp;#39;ve been playing around with LeakDiag and am left all confused. I have been reading the book, looking at LeakDiag help and still not able to understand how one is supposed to interpret those log files. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Some of my questions:&lt;/p&gt;&lt;p&gt;1. What version of LeakDiag is the latest. The download I have is 1.25 and is dated 2002. However, somewhere here the one of the posts at the end allude to a 1.31.xx.yyy version. &lt;a href="http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2"&gt;http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2. I tried a simple application like below:&lt;/p&gt;&lt;p&gt;#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;#include &amp;lt;memory&amp;gt;&lt;/p&gt;&lt;p&gt;int _tmain(int argc, _TCHAR* argv[])&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;char* p = (char*)malloc(30);&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;return 0;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;using VS2005 IDE. I run this app, it stops at first getch at which point I run leakdiag, select this app, select C Runtime Allocator, hit Start. &lt;/p&gt;&lt;p&gt;I now, switch back to the target application console , punch in a key to let it go past the malloc&amp;nbsp;, and switch back to LeakDiag and hit Log. I would&amp;#39;ve thought this should dump the malloced entry in the log file, but I see that the log file is not generated at all. &lt;/p&gt;&lt;p&gt;&amp;nbsp;What is going on ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;P.S. I have tried an MFC application also, putting in a memory leak like above and then generating logs. I do see the logs, but there is no stack trace whatsoever which can be deciphered although I am pointing to the folder containing the exe. &lt;/p&gt;&lt;p&gt;BTW, I am running WinXP SP2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;</description></item><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/47.aspx</link><pubDate>Tue, 29 Jan 2008 10:16:52 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:47</guid><dc:creator>Hans De Smaele</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/47.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=47</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;together with the LeadDiag tool, there come two packages LDGrapher and LDParser, giving a nice view of the leak. The latest version of LeakDiag I got is 1.31 (obtained it via Microsoft Premier Support). I explained the usage of it in my article about production debugging (&lt;a href="http://www.microsoft.com/belux/msdn/nl/community/articles/feb05_applicationdebugging.mspx"&gt;http://www.microsoft.com/belux/msdn/nl/community/articles/feb05_applicationdebugging.mspx&lt;/a&gt;). Hope this helps.&lt;/p&gt;</description></item><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/40.aspx</link><pubDate>Thu, 27 Dec 2007 20:32:29 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:40</guid><dc:creator>kirants</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/40.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=40</wfw:commentRss><description>&lt;p&gt;Hi Mario,&lt;/p&gt;&lt;p&gt;I think I might have nailed the reason at least for Visual Studio 6.0 compiled exe. All along, my Visual Studio 6.0&amp;nbsp;project settings were using static linking with CRT. When I did switch to multi-threaded dll option to use the crt dlls, I am able to see the C runtime allocator working fine. &lt;/p&gt;&lt;p&gt;However, &amp;nbsp;&lt;/p&gt;&lt;p&gt;I still see that with VS2005 compiled executable, this doesn&amp;#39;t happen. Using dependencywalker I see that malloc is infact being imported from MSVCR80.dll. &lt;/p&gt;&lt;p&gt;Does&amp;nbsp;LeakDiag take care of CRT dlls other than MSVCRT.dll ?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Kiran&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/38.aspx</link><pubDate>Thu, 27 Dec 2007 16:36:22 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:38</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/38.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=38</wfw:commentRss><description>&lt;p&gt;Hi Mario,&lt;/p&gt;&lt;p&gt;Thanks for the reply. First off, kudos on the book. It is well written and I think you have succeeded in revealing a lot of hidden gems for debugging. LeakDiag is one such discovery for me :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;As for the issue, this is what I found today. All the while I was choosing the wrong allocator. I would&amp;#39;ve though using C runtime allocator would trap calls to malloc, but alas, it does not. With C Runtime allocator, this is the log I got:&lt;/p&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;LEAKS&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;ver&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;1.25.28.2201&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div class="c" style="margin-left:1em;text-indent:-2em;"&gt;&lt;a class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;-&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;SUMMARY_INFO&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;FILENAME&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;strong&gt;C:\tmp\AALeak\Debug\AALeak.exe&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;FILENAME&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;PID&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;strong&gt;2460&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;PID&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;OS&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;ver&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;5.1.2600&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; sp&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;2.0&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; name&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;Windows XP Professional Service Pack 2&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div class="c" style="margin-left:1em;text-indent:-2em;"&gt;&lt;a class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;-&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;LEAKDIAG_SETTINGS&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;ALLOCATOR&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;num&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;6&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; state&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;LEAKDIAG_SETTINGS&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div class="c" style="margin-left:1em;text-indent:-2em;"&gt;&lt;a class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;-&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;MEMORY_INFO&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;LEAKDIAG&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;memusage&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;1157792&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;GLOBALMEM&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;MemoryLoad&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;64&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; TotalPhys&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;1072930816&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; AvailPhys&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; TotalPageFile&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;382177280&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; AvailPageFile&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; TotalVirtual&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;2581164032&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; AvailVirtual&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; AvailExtendedVirtual&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;1812205568&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;PROCESSMEM&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;PeakVirtualSize&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;22179840&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; VirtualSize&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;19386368&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; PageFaultCount&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;2084&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; PeakWorkingSetSize&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;8343552&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; WorkingSetSize&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;8183808&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; QuotaPeakPagedPoolUsage&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;15668&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; QuotaPagedPoolUsage&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;11576&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; QuotaPeakNonPagedPoolUsage&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;2480&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; PagefileUsage&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;7819264&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; PeakPagefileUsage&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;7970816&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;MEMORY_INFO&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;MODULES&lt;/font&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;SUMMARY_INFO&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;Note that the Leaks section is empty. &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;Subsequently, I did the same test using the Windows Heap allocator, and I do see the stack trace now. This is what I see:&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="m"&gt;&lt;div class="e"&gt;&lt;div class="c" style="margin-left:1em;text-indent:-2em;"&gt;&lt;a class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;-&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#990000"&gt;&lt;span class="t"&gt;LEAKS&lt;/span&gt;&lt;span class="t"&gt; ver&lt;/span&gt;&lt;/font&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;1.25.28.2201&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="e"&gt;&lt;div class="c" style="margin-left:1em;text-indent:-2em;"&gt;&lt;a class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;-&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#990000"&gt;&lt;span class="t"&gt;STACK&lt;/span&gt;&lt;span class="t"&gt; numallocs&lt;/span&gt;&lt;/font&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;01&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; size&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;066&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; totalsize&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;066&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="e"&gt;&lt;div class="c" style="margin-left:1em;text-indent:-2em;"&gt;&lt;a class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;-&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;STACKSTATS&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;SIZESTAT&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;size&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;066&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; numallocs&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;01&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;HEAPSTAT&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;handle&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;350000&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; numallocs&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;01&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;STACKSTATS&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;FRAME&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;num&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; dll&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;MSVCR80D.dll&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; function&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;malloc_base&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; offset&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0xEC&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; filename&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; line&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; addr&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x10212F4C&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;FRAME&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;num&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; dll&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;MSVCR80D.dll&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; function&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;malloc_dbg&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; offset&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x2D5&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; filename&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; line&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; addr&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x1021AE15&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;FRAME&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;num&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; dll&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;MSVCR80D.dll&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; function&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;malloc_dbg&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; offset&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x69&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; filename&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; line&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; addr&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x1021ABA9&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;FRAME&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;num&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;3&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; dll&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;MSVCR80D.dll&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; function&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;malloc&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; offset&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x19&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; filename&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; line&lt;/font&gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; addr&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x1021AB29&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;FRAME&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;num&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;4&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; dll&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;AALeak.exe&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; function&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;wmain&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; offset&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x37&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; filename&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;c:\tmp\aaleak\aaleak.cpp&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; line&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;11&lt;/strong&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; addr&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;strong&gt;0x4113E7&lt;/strong&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="e"&gt;&lt;div style="margin-left:1em;text-indent:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;STACKID&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;strong&gt;004E4008&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;STACKID&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;STACK&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;LEAKS&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;Question. Why this behavior? Per documentation on LeakDiag C runtime allocator should trap malloc, new, callocs etc. &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Re: LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/37.aspx</link><pubDate>Thu, 27 Dec 2007 04:24:56 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:37</guid><dc:creator>marioh</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/37.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=37</wfw:commentRss><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Did you set the correct symbol path in LeakDiag? Also, can you share parts of the log file that was generated?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Mario&lt;/p&gt;</description></item><item><title>LeakDiag confusion</title><link>http://www.advancedwindowsdebugging.com/forums/forums/thread/36.aspx</link><pubDate>Thu, 27 Dec 2007 01:34:10 GMT</pubDate><guid isPermaLink="false">8fe6c8b0-35bd-46d7-a742-2d438749dbe0:36</guid><dc:creator>kirants</dc:creator><slash:comments>0</slash:comments><comments>http://www.advancedwindowsdebugging.com/forums/forums/thread/36.aspx</comments><wfw:commentRss>http://www.advancedwindowsdebugging.com/forums/forums/commentrss.aspx?SectionID=5&amp;PostID=36</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been playing around with LeakDiag and am left all confused. I have been reading the book, looking at LeakDiag help and still not able to understand how one is supposed to interpret those log files. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Some of my questions:&lt;/p&gt;&lt;p&gt;1. What version of LeakDiag is the latest. The download I have is 1.25 and is dated 2002. However, somewhere here the one of the posts at the end allude to a 1.31.xx.yyy version. &lt;a href="http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2"&gt;http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/f7be3ad0aef62120/657ccfeb114b7bd2?hl=en&amp;amp;lnk=st&amp;amp;q=LeakDiag#657ccfeb114b7bd2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2. I tried a simple application like below:&lt;/p&gt;&lt;p&gt;#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;#include &amp;lt;memory&amp;gt;&lt;/p&gt;&lt;p&gt;int _tmain(int argc, _TCHAR* argv[])&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;char* p = (char*)malloc(30);&lt;br /&gt;&amp;nbsp;getch();&lt;br /&gt;&amp;nbsp;return 0;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;using VS2005 IDE. I run this app, it stops at first getch at which point I run leakdiag, select this app, select C Runtime Allocator, hit Start. &lt;/p&gt;&lt;p&gt;I now, switch back to the target application console , punch in a key to let it go past the malloc&amp;nbsp;, and switch back to LeakDiag and hit Log. I would&amp;#39;ve thought this should dump the malloced entry in the log file, but I see that the log file is not generated at all. &lt;/p&gt;&lt;p&gt;&amp;nbsp;What is going on ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;P.S. I have tried an MFC application also, putting in a memory leak like above and then generating logs. I do see the logs, but there is no stack trace whatsoever which can be deciphered although I am pointing to the folder containing the exe. &lt;/p&gt;&lt;p&gt;BTW, I am running WinXP SP2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>