<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: StackWalker moved to CodePlex</title>
	<link>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/</link>
	<description>Infos about Windows development and dotNET Framework</description>
	<pubDate>Sun, 05 Feb 2012 10:58:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: jkalmbach</title>
		<link>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-1237</link>
		<dc:creator>jkalmbach</dc:creator>
		<pubDate>Wed, 15 Sep 2010 13:47:14 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-1237</guid>
		<description>Can you test with the latest version RC11?
http://blog.kalmbachnet.de/files/LeakFinder_RC11.zip

I do not see a problem with this version with x64...</description>
		<content:encoded><![CDATA[<p>Can you test with the latest version RC11?<br />
<a href="http://blog.kalmbachnet.de/files/LeakFinder_RC11.zip" rel="nofollow">http://blog.kalmbachnet.de/files/LeakFinder_RC11.zip</a></p>
<p>I do not see a problem with this version with x64&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-1236</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Wed, 15 Sep 2010 10:31:13 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-1236</guid>
		<description>Hi Jochen,

I am using your tool LeakFinder from codeproject on Win32 and Win64.
It is working perefectly fine when run on Win32 and I am getting following output (as expected) :



######## CRT-Leaks ########
--------------- Key: 63, 32 bytes ---------
d:\tempproj\leakfinder-rc5\main.cpp (44): main
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (327): __tmainCRTStartup
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (196): mainCRTStartup
7C817067 (kernel32): (filename not available): RegisterWaitForInputIdle
--------------- Key: 64, 10 bytes ---------
d:\tempproj\leakfinder-rc5\main.cpp (18): Func5
d:\tempproj\leakfinder-rc5\main.cpp (23): Func4
d:\tempproj\leakfinder-rc5\main.cpp (27): Func3
d:\tempproj\leakfinder-rc5\main.cpp (31): Func2
d:\tempproj\leakfinder-rc5\main.cpp (35): Func1
d:\tempproj\leakfinder-rc5\main.cpp (47): main
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (327): __tmainCRTStartup
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (196): mainCRTStartup
7C817067 (kernel32): (filename not available): RegisterWaitForInputIdle
######## COM-Leaks ########
--------------- Key: 00178CA8, 999 bytes ---------
775833D5 (ole32): (filename not available): CoRevokeMallocSpy
774FD073 (ole32): (filename not available): CoTaskMemAlloc
d:\tempproj\leakfinder-rc5\main.cpp (39): DoCoMalloc
d:\tempproj\leakfinder-rc5\main.cpp (46): main
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (327): __tmainCRTStartup
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (196): mainCRTStartup
7C817067 (kernel32): (filename not available): RegisterWaitForInputIdle
'LeakFinder_VC5.exe': Unloaded 'C:\WINDOWS\system32\dbghelp.dll'
The program '[5256] LeakFinder_VC5.exe: Native' has exited with code 0 (0x0).



However, when run on Win64 output is as under :

######## CRT-Leaks ########
--------------- Key: 65, 48 bytes ---------
--------------- Key: 66, 10 bytes ---------
######## COM-Leaks ########
--------------- Key: 000000000024A600, 999 bytes ---------
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\mlock.c (349): _lock
0000000140082670 (LeakFinder_VC5): (filename not available): `dynamic atexit destructor for 'zzz_LeakFinder''
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0dat.c (553): doexit
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0dat.c (399): exit
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0.c (333): __tmainCRTStartup
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0.c (196): mainCRTStartup
000000007735F56D (kernel32): (filename not available): BaseThreadInitThunk
0000000077593281 (ntdll): (filename not available): RtlUserThreadStart
'LeakFinder_VC5.exe': Unloaded 'C:\Windows\System32\dbghelp.dll'
The thread 'Win64 Thread' (0x964) has exited with code 0 (0x0).
The program '[3400] LeakFinder_VC5.exe: Native' has exited with code 0 (0x0).
 exited with code 0 (0x0).

On debugging on Win64 I found out that ShowCallstack() in StackWalker.cpp wouldn't get enogh frames. I am not able to figure out what could be the reason.
Could you please provide some clue and let me know if you any further information from me. Also, if you could tell why Rbp in context on Win64 is coming out as 0.

Thanks in advance,
Deepak.</description>
		<content:encoded><![CDATA[<p>Hi Jochen,</p>
<p>I am using your tool LeakFinder from codeproject on Win32 and Win64.<br />
It is working perefectly fine when run on Win32 and I am getting following output (as expected) :</p>
<p>######## CRT-Leaks ########<br />
&#8212;&#8212;&#8212;&#8212;&#8212; Key: 63, 32 bytes &#8212;&#8212;&#8212;<br />
d:\tempproj\leakfinder-rc5\main.cpp (44): main<br />
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (327): __tmainCRTStartup<br />
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (196): mainCRTStartup<br />
7C817067 (kernel32): (filename not available): RegisterWaitForInputIdle<br />
&#8212;&#8212;&#8212;&#8212;&#8212; Key: 64, 10 bytes &#8212;&#8212;&#8212;<br />
d:\tempproj\leakfinder-rc5\main.cpp (18): Func5<br />
d:\tempproj\leakfinder-rc5\main.cpp (23): Func4<br />
d:\tempproj\leakfinder-rc5\main.cpp (27): Func3<br />
d:\tempproj\leakfinder-rc5\main.cpp (31): Func2<br />
d:\tempproj\leakfinder-rc5\main.cpp (35): Func1<br />
d:\tempproj\leakfinder-rc5\main.cpp (47): main<br />
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (327): __tmainCRTStartup<br />
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (196): mainCRTStartup<br />
7C817067 (kernel32): (filename not available): RegisterWaitForInputIdle<br />
######## COM-Leaks ########<br />
&#8212;&#8212;&#8212;&#8212;&#8212; Key: 00178CA8, 999 bytes &#8212;&#8212;&#8212;<br />
775833D5 (ole32): (filename not available): CoRevokeMallocSpy<br />
774FD073 (ole32): (filename not available): CoTaskMemAlloc<br />
d:\tempproj\leakfinder-rc5\main.cpp (39): DoCoMalloc<br />
d:\tempproj\leakfinder-rc5\main.cpp (46): main<br />
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (327): __tmainCRTStartup<br />
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0.c (196): mainCRTStartup<br />
7C817067 (kernel32): (filename not available): RegisterWaitForInputIdle<br />
&#8216;LeakFinder_VC5.exe&#8217;: Unloaded &#8216;C:\WINDOWS\system32\dbghelp.dll&#8217;<br />
The program &#8216;[5256] LeakFinder_VC5.exe: Native&#8217; has exited with code 0 (0&#215;0).</p>
<p>However, when run on Win64 output is as under :</p>
<p>######## CRT-Leaks ########<br />
&#8212;&#8212;&#8212;&#8212;&#8212; Key: 65, 48 bytes &#8212;&#8212;&#8212;<br />
&#8212;&#8212;&#8212;&#8212;&#8212; Key: 66, 10 bytes &#8212;&#8212;&#8212;<br />
######## COM-Leaks ########<br />
&#8212;&#8212;&#8212;&#8212;&#8212; Key: 000000000024A600, 999 bytes &#8212;&#8212;&#8212;<br />
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\mlock.c (349): _lock<br />
0000000140082670 (LeakFinder_VC5): (filename not available): `dynamic atexit destructor for &#8216;zzz_LeakFinder&#8221;<br />
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0dat.c (553): doexit<br />
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0dat.c (399): exit<br />
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0.c (333): __tmainCRTStartup<br />
f:\sp\vctools\crt_bld\self_64_amd64\crt\src\crt0.c (196): mainCRTStartup<br />
000000007735F56D (kernel32): (filename not available): BaseThreadInitThunk<br />
0000000077593281 (ntdll): (filename not available): RtlUserThreadStart<br />
&#8216;LeakFinder_VC5.exe&#8217;: Unloaded &#8216;C:\Windows\System32\dbghelp.dll&#8217;<br />
The thread &#8216;Win64 Thread&#8217; (0&#215;964) has exited with code 0 (0&#215;0).<br />
The program &#8216;[3400] LeakFinder_VC5.exe: Native&#8217; has exited with code 0 (0&#215;0).<br />
 exited with code 0 (0&#215;0).</p>
<p>On debugging on Win64 I found out that ShowCallstack() in StackWalker.cpp wouldn&#8217;t get enogh frames. I am not able to figure out what could be the reason.<br />
Could you please provide some clue and let me know if you any further information from me. Also, if you could tell why Rbp in context on Win64 is coming out as 0.</p>
<p>Thanks in advance,<br />
Deepak.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-728</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Mon, 23 Nov 2009 09:33:15 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-728</guid>
		<description>Hello, I need you help

I use this code to process exception 
I found some times the result of StackWalker doesn't like vs2005's result?

	nRetCode = StackWalk64(
		IMAGE_FILE_MACHINE_I386, 
		m_hProcess, 
		m_hThread, 
		&#38;m_Stackframe, 
		&#38;m_Context, 
		ReadProcessMemory, 
		SymFunctionTableAccess64, 
		SymGetModuleBase64, 
		NULL
	);


how to explain it? 
Wish you EMail</description>
		<content:encoded><![CDATA[<p>Hello, I need you help</p>
<p>I use this code to process exception<br />
I found some times the result of StackWalker doesn&#8217;t like vs2005&#8217;s result?</p>
<p>	nRetCode = StackWalk64(<br />
		IMAGE_FILE_MACHINE_I386,<br />
		m_hProcess,<br />
		m_hThread,<br />
		&amp;m_Stackframe,<br />
		&amp;m_Context,<br />
		ReadProcessMemory,<br />
		SymFunctionTableAccess64,<br />
		SymGetModuleBase64,<br />
		NULL<br />
	);</p>
<p>how to explain it?<br />
Wish you EMail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frank28_nfls</title>
		<link>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-626</link>
		<dc:creator>frank28_nfls</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:55:38 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-626</guid>
		<description>very nice! I personally discovered your software about 1 year ago, and  was using it in my several projects, and found that it really helps! But I always wondering why you didn't use any VCS to manage the source code and release. Now finally, lol

btw, is there any update in Codeplex since RC9?

thanks again for your work, anyway~</description>
		<content:encoded><![CDATA[<p>very nice! I personally discovered your software about 1 year ago, and  was using it in my several projects, and found that it really helps! But I always wondering why you didn&#8217;t use any VCS to manage the source code and release. Now finally, lol</p>
<p>btw, is there any update in Codeplex since RC9?</p>
<p>thanks again for your work, anyway~</p>
]]></content:encoded>
	</item>
</channel>
</rss>

