“該如讓32位windbg找到正確的mscorwks mscordacwks sos?”

來源:互聯網
上載者:User
管理員達人,請慢些移出首頁,謝謝

放到博問裡面,很久都沒有人回覆,所以放到首頁,請各位幫忙解答一下。

 博問地址  http://home.cnblogs.com/q/23814/ 

 

機器A  開發機器  32位 xp  .netframwork3.5 產生平台 any cpu

機器B  運行機器  64位 server2003 .netframework3.5  IIS6

機器C  我的機器  32位  win7 .netframework4(沒有安裝.net3.5,僅僅裝了4) 32位windbg 6.12

 

機器A開發的一個WebApp,放到機器B上運行,w3wp(64位)記憶體非常高,ProcessExplorer搞到幾個dump檔案,拿到機器C上用Windbg分析,但是指定.load 64位的sos不成功,.load 32位的sos成功但是不能正常work。

 

該如讓32位windbg找到正確的mscorwks mscordacwks sos??

160的專家分全拋了

 

下面是windbg的內容

 

Microsoft (R) Windows Debugger Version 6.12.0002.633 X86Copyright (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
Symbol search path is: srv*d:\SymbolCache\MicrosoftPublicSymbols*http://msdl.microsoft.com/download/symbols;D:\SymbolCache\MicrosoftPublicSymbolsExecutable search path is: Windows Server 2003 Version 3790 (Service Pack 2) MP (4 procs) Free x64Product: Server, suite: Enterprise TerminalServer SingleUserTSMachine Name:Debug session time: Thu Mar 24 14:47:43.000 2011 (UTC + 8:00)System Uptime: 13 days 2:53:45.725Process Uptime: 0 days 0:02:31.000.........................................................................................................................................................................Loading unloaded module list..ntdll!NtWaitForSingleObject+0xa:00000000`78ee0a2a c3              ret0:000> lm v m mscorwksstart             end                 module name00000642`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=Retail0:000> .load d:\de\64clr2\sosThe call to LoadLibrary(d:\de\64clr2\sos) failed, Win32 error 0n193    "%1 不是有效 Win32 應用程式。"Please check your debugger configuration and/or network access.0:000> .load d:\de\32clr2\sos0:000> !clrstackFailed to load data access DLL, 0x80004005Verify 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 the file                 mscordacwks_<arch>_<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'sload of mscordacwks.dll.  .cordll -ve -u -l will do a verbose reload.If that succeeds, the SOS command should work on retry.
If you are debugging a minidump, you need to make sure that your executablepath is pointing to mscorwks.dll as well.

 

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.