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

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 Windows 7. 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

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

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 Windows 7, 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

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 Windows 7, 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

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 for2: Windbg: How to debug 32 bit dump file on 64bit Win7
Thread Forum
How to install windbg for win7 BSOD Help and Support
How to debug full memory dump with respect csrss.exe related BSOD BSOD Help and Support
Crash Dump File Won't Open? [WINDBG.EXE] BSOD Help and Support
File Visibility in 32bit vs. 64bit Win7 General Discussion
Windbg, how to open/read minidump file? Software
Solved Explorer crashing constantly, dump file from WinDBG included 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 05:18 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33