POP QUIZ: Why would you get this error from Windbg?

Problem 1

So here is the scenario.  You open a dump from when you were experiencing a problem and try to run an SOS command and you see:

0:024> !dumpheap -stat
Cannot get the ThreadStore, do you have symbols 
for the mscorwks/mscorsvr files?

What could be going on here?  Any suggestions on how to fix this?

Problem 2

Also, since we are talking about this, what about this error:

0:024> !dumpheap -stat
Failed to find runtime DLL (mscorwks.dll), 0x80004005
Extension commands need mscorwks.dll in order 
to have something to do.

As always, post your thoughts in comments and I’ll turn them on and post the solution tomorrow.

kick it on DotNetKicks.com

Published 21 April 08 10:28 by Tom

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# DotNetKicks.com said on April 21, 2008 10:29 AM:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# Steven said on April 21, 2008 1:34 PM:

Well, based on the 0x80004005 I'd say that you don't have read and execute permissions to c:\windows\microsoft.net

# Rohit said on April 21, 2008 5:01 PM:

The second error will occur if the dumheap command has been run too early before the .NET runtime DLL's have been loaded or if the dumpheap command is being run on a unmanaged process.

The same issue might apply to Scenario #1 but I am not sure.. since never seen that message before

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

Search

This Blog

Syndication

Page view tracker