sos2.dll v1.2 update
Ilya Ryzhenkov has reported that the command to dump gc handles by type (!gcht) hangs his visual studio. He has provided the call stack for all the threads when it hangs.
If any of you run into same issue, please do let me know and even better if you can provide a hang dump :-). I will continue to use this command in post mortem debugging and at customer sites to fix any issue I encounter.
Tags: WinDbg Extension
May 14th, 2009 at 11:07 am
Tried using sos2 with the latest windbg and a memory dump (via adplus) of a .NET 2 app (VS 2005). WinDbg just crashed.
Downloaded latest VC++ (2008) redistributable and windbg survived a little longer.
I can provide a repeatable (for me anyways) memory dump file that causes this crash if it helps you.
I have managed to remove the pinned and strong references to some objects (just weaksh and weakln ones left) but the things still won’t go away. Hoping to use sos2.dll to try an alternative tack.
Shaun
[Reply]
May 14th, 2009 at 1:27 pm
Okay my bad - it would appear that it only dies when using the memory dump. It’s better behaved when attached to the process
Shaun
[Reply]
May 17th, 2009 at 6:47 am
Thank you very much for providing the dump, I will look into it when I have some free time. Thanks again
[Reply]