Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windbg: How to debug 32 bit dump file on 64bit Win7

30 Oct 2009   #1
G33kKahuna

Windows 7 Ultimate
 
 
Windbg: How to debug 32 bit dump file on 64bit Win7

I'm struggling to get WinDBG to work with a 32 bit dump file on 64 bit Win7. I have both WinDBG 32 bit and 64 bit installed. Both launch but cannot execute any SOS or .NET framework commands. I keep getting a generic message Failed to load data access DLL, 0x80004005

I've tried the recommended suggestion to run .cordll -ve -u -l, which returned CLR DLL status: No load attempts

Recently, I dowloaded sosex.dll to check deadlocks. It gave much more specific error;
CLRDLL: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscordacwks.dll:2.0.50727.4927 f:0
doesn't match desired version 2.0.50727.3082

So, looks like I need 3082 build of SOS and not 4927. Where can I get this file from?

Any other suggestions?

Thanks!


My System SpecsSystem Spec
.
31 Oct 2009   #2
H2SO4

Win7x64
 
 

Use the debugger which matches the "bitness" of the dump you're trying to analyse. SOS actually has to use the CLR on the machine doing the debugging, so you won't be able to get very far with a 32-bit SOS attempting to load into a 64-bit debugger process (WinDBG) to analyse a 32-bit dump.

The mscorDACwks.dll (data access components) should (must) match the machine from which the dump was generated, not the one doing the debugging. Hence, either get mscordacwks.dll from the dump-generating machine, or hope to bob that they're uploaded that build to the symbol server and try this:

.symfix c:\SymCache
.reload
.cordll -ve -u -l

If that still fails...

!sym noisy
.reload

... and watch the output from the attempt to find mscordacwks.dll on the symbol server.

===============================================
EDIT: and then help yourself to a few of the "why is my machine BSODding?" questions, thanks
My System SpecsSystem Spec
02 Nov 2009   #3
G33kKahuna

Windows 7 Ultimate
 
 

Sulphuric, I am trying to open with 32 bit WinDBG and its complaining about the .NET framework build versions when I use SOS commands. I am linking to the 32 bit SOS.DLL. I have *.4927 and the machine has *.3053. The machines where commands worked, have *.3053 version but running WinXP. I tried symfix as well, no luck. I cannot believe the latest version of the framework cannot parse the dump file. With Win7, I don't think i had the choice with the framework build numbers though; any help is much appreciated.

As next steps, I copied over the working SOS.dll (version *.3053) and loaded up 32 bit WinDBG. I still get the same error, Failed to load data access DLL, 0x80004005, for any SOS commands.
My System SpecsSystem Spec
.

02 Nov 2009   #4
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by G33kKahuna View Post
Sulphuric, I am trying to open with 32 bit WinDBG and its complaining about the .NET framework build versions when I use SOS commands. I am linking to the 32 bit SOS.DLL. I have *.4927 and the machine has *.3053. The machines where commands worked, have *.3053 version but running WinXP. I tried symfix as well, no luck. I cannot believe the latest version of the framework cannot parse the dump file. With Win7, I don't think i had the choice with the framework build numbers though; any help is much appreciated.

As next steps, I copied over the working SOS.dll (version *.3053) and loaded up 32 bit WinDBG. I still get the same error, Failed to load data access DLL, 0x80004005, for any SOS commands.
Can you do me a debug log which records your steps and the output? (Use .logopen and .logclose to generate the log, and then just upload it here as a TXT file.)
My System SpecsSystem Spec
05 Nov 2009   #5
G33kKahuna

Windows 7 Ultimate
 
 

Thanks. File's attached

I copied over the SOS.dll from C:\Windows\Microsoft.NET\Framework\v2.0.50727 to X86 WinDBG location
My System SpecsSystem Spec
Reply

 Windbg: How to debug 32 bit dump file on 64bit Win7




Thread Tools




Similar help and support threads
Thread Forum
How do I use WinDBG to properly analyze a kernal memory dump?
I've started getting in to analyzing my own memory dumps with WinDBG but the problem is I don't know which commands to use to properly utilize its features. For instance, (forgive me if I sound noobish about this I'm new to analyzing them) how do I view the call stacks for seeing if the probable...
BSOD Help and Support
Crash Dump files: Associate with WINDBG
This instructions are for associating crash dump files with windbg, debugging tool for windows; so that double clicking on the crash dump files will directly open it with windbg only. It is suggested that you install windbg in the default location. Installing it in any other location is not really...
Crash and lockup debug 'How To'
How to debug full memory dump with respect csrss.exe related BSOD
I tried to look but I could not find anything really useful. Maybe someone on that forum could write small tutorial on how to debug full memory dump when the csrss.exe BSOD occurs after computer returns from sleep or ot least point out some good web with such a howto. Standard "!analyze -v"...
BSOD Help and Support
Crash Dump File Won't Open? [WINDBG.EXE]
In short, I use Windows 7 Ultimate 32-bit and everytime I try to open Dump Files from either my computer or other computers with Microsoft's WinDbg.exe, it mainly gives these two errors at the end and WONT let me use any commands or examine the files: "ERROR: Reload failure, partially...
BSOD Help and Support
File Visibility in 32bit vs. 64bit Win7
I have four PCs all running Win7 Ultimate. Three of the PCs have 32bit Win7 and the fourth has 64bit. When I use Windows Explorer to view the following folder on any of my PCs I see all of the files and sub-folders in it: c:\windows\system32\tasks I use the WinZip program to backup a number...
General Discussion
Explorer crashing constantly, dump file from WinDBG included
Explorer.exe has started crashing recently (not randomly, it's always when doing certain things, fully reproduceable). It's the infamous one with exception code 0xc000041d. I followed the steps in this thread and now have the dump file at hand (down there ;) ). If someone could tell me what causes...
BSOD Help and Support


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App