"Failed to request ThreadStore" - real-time WinDbg debugging process

I am debugging a live process (not a dump) of PresentationHost.exe. It worked fine, but all of a sudden a few days ago I received the above error message.! Threads ,! Pe, almost the entire SOS team does not work.

All I remember is that I installed Visual Studio 2010 and the .NET framework 4.0 before I get this error. Is this related?

UPDATE:

I myself cannot reproduce the problem that I was experiencing. I was probably debugging a 32-bit process with a 64-bit debugger or .NET 4 with .NET SOS, or vice versa, or a combination of both bit and version of the DLL.

Sorry, this question may not be valid.

0
windbg sos
source share
1 answer

When are you trying to issue a command?
This error is quite common when trying to issue SOS commands before the CLR is fully loaded.
You can try to break right after the CLR completes the initialization procedure. To break at this point, you can place a breakpoint like this: bp clr!EEStartup "gu" . This will cause the debugger to break into the EEStartup function and continue execution until the function completes.
When the debugger breaks into this breakpoint, you should be able to issue your SOS commands.

0
source share

All Articles