I searched and tried a lot of things, but can't get psscor4 to work properly.
When I invoke !threads, I'm always getting
Failed to request ThreadStore
The things I checked are as follows:
- I'm having a .NET 4 application that's compiled for X86 platform
- I'm using Windbg version 6.2.9200.16384, X86 version
- I'm using current psscor4 from Microsoft and it loads properly. I'm loading the X86 version, so that should be fine
- Symbols are loaded from MS Symbol server (command .symfix+, then .reload)
- .cordll shows the following:
CLR DLL status: Loaded DLL C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll
Does anybody have an idea?
I've found this problem to happen when either:
OR
The Symbol Search Path should be set to something like:
SRV*C:\SYMBOLS\PUBLIC*http://referencesource.microsoft.com/symbols;SRV*C:\SYMBOLS\PUBLIC*http://msdl.microsoft.com/download/symbols
You can also try the solution that is posted on John Robbins' blog here: http://wintellect.com/blogs/jrobbins/automatically-load-the-right-sos-for-the-minidump
Please note that I was able to get his solution to work only with WinDbg version 6.2+ - version 6.12 and below didn't work.
HTH