"For example, Let 32-bit windbg find the correct mscorwks mscordacwks SOS ?"

Source: Internet
Author: User
Tags win32 error
Administrator, please move slowly out of the homepage. Thank you.

I put it in the Q & A box, and no answer has been answered for a long time. So I will put it on the homepage. Please help me with your answers.

Bo Wen address http://home.cnblogs.com/q/23814/

 

Machine a development machine 32-bit xp. netframwork3.5 generation platform any CPU

Machine B runs machine 64-bit server2003. netframework3.5 IIS6

Machine C my machine 32-bit win7. netframework4 (No. net3.5 is installed, only 4 is installed) 32-bit windbg 6.12

 

A webapp developed by machine A is run on machine B. The w3wp (64-bit) memory is very high. processexplorer gets several dump files and obtains them for analysis on machine C using windbg. the 64-bit SOS load fails ,. the 32-bit SOS load is successful but cannot work normally.

 

This example allows 32-bit windbg to find the correct mscorwks mscordacwks SOS ??

160 of experts have all been thrown away

 

The content of windbg is as follows:

 

Microsoft (r) Windows debugger version 6.12.0002.633 x86 Copyright (c) Microsoft Corporation. All rights reserved.

Loading dump file [G: \ dumpfile \ w3wpfulla. dmp] User mini dump file with full memory: only application data is available
Symbolsearch path is: SRV * D: \ symbolcache \ microsoftpublicsymbols * http://msdl.microsoft.com/download/symbols#d:\symbolcache#microsoftpublicsymbols Executable search path is: Windows Server 2003 version 3790 (Service Pack 2) MP (4 procs) Free x64 Product: Server, Suite: Enterprise terminalserver singleuserts Machine Name: Debug session time: Thu Mar 24 14:47:43. 000 2011 (UTC + 8: 00) System uptime: 13 days 2:53:45. 725 Process uptime: 0 days 0:02:31. 000 ........................................ ........................ ........................................ ........................ ......................................... Loading unloaded module list .. Ntdll! Ntwaitforsingleobject + 0xa: 00000000 '78ee0a2a C3 RET 0: 000> lm v M mscorwks Start end module name 00000642 '7f330000 00000642 '7fce1000 mscorwks (deferred) Image path: C: \ WINDOWS \ Microsoft. NET \ framework64 \ v2.0.50727 \ mscorwks. dll Image name: mscorwks. dll Timestamp: Fri Jul 25 22:51:28 2008 (4889e870) Checksum: 0099d927 Imagesize: 009b1000 File version: 2.0.50727.3053 Product Version: 2.0.50727.3053 File flags: 0 (mask 3f) File OS: 4 unknown Win32 File Type: 2.0 DLL File date: 00000000.00000000 Translations: 0409.04b0 CompanyName: Microsoft Corporation Productname: Microsoft. NET Framework Internalname: mscorwks. dll Originalfilename: mscorwks. dll Productversion: 2.0.50727.3053 Fileversion: 2.0.50727.3053 (netfxsp.050727-3000) Filedescription: Microsoft. NET runtime Common Language Runtime-Workstation Legalcopyright: Microsoft Corporation. All rights reserved. Comments: flavor = retail 0: 000>. Load D: \ de \ 64clr2 \ SOS The call to loadlibrary (D: \ de \ 64clr2 \ SOS) failed, Win32 error 0n193 "% 1 is not a valid Win32 ApplicationProgram. " Please check your debugger configuration and/or network access. 0: 000>. Load D: \ de \ 32clr2 \ SOS 0: 000>! Clrstack Failed to load data access DLL, 0x80004005 Verify that 1) You have a recent build of the debugger (6.2.14 or newer) 2) The file mscordacwks. dll that matches your version of mscorwks. dll is In the version directory 3) or, if you are debugging a dump file, verify that file Mscordacwks _ <arch >_< version>. dll is on your symbol path. 4) You are debugging on the same architecture as the dump file. For example, an IA64 dump file must be debugged on an IA64 Machine.
You can also run the debugger command. cordll to control the debugger's Load of mscordacwks. dll .. cordll-ve-u-l will do a verbose reload. If that succeeds, the SOS command shoshould work on retry.
If you are debugging A minidump, you need to make sure that your executable PATH is pointing to mscorwks. dll as well.

 

----------------------------------------------------------------------------- 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.