Microsoft MVP성태의 닷넷 이야기
디버깅 기술: 44. windbg의 mscordacwks DLL 로드 문제 [링크 복사], [링크+제목 복사],
조회: 27792
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 5개 있습니다.)

windbg의 mscordacwks DLL 로드 문제


예전에 mscordacwks.dll의 로드 문제에 대해서 한번 이야기를 한 적이 있었는데요.

Windbg - ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.4200.dll, Win32 error 0n2
; https://www.sysnet.pe.kr/2/0/994

최근에, 다시 한번 그 문제를 보게 되었습니다. 특이한 점은, dmp 파일을 받은 바로 그 컴퓨터에서 "Debug Diagnostics Tool"을 실행했는데도 발생했다는 점입니다.

반면, 공통점이 있다면 이번에도 예전의 그 컴퓨터와 동일하게 "Windows Server 2008 SP2"였다는 것.

참고로, Debug Diag 도구로 돌렸을 때 다음과 같이 설명이 나왔습니다.

========================== Description 

.NET runtime was loaded in the process but managed analysis was not done on this dump file because the managed debugger extension commands failed to execute with the below error 

CLRDLL: CLR DLL load disabled

CLR Debugger Extension Load Attempt

CLRDLL: Unable to find mscordacwks_x86_x86_2.0.50727.5681.dll by mscorwks search

CLRDLL: Unable to find 'mscordacwks_x86_x86_2.0.50727.5681.dll' on the path

CLRDLL: Unable to get version info for '\\localhost\d$\symbols\mscorwks.dll\4E150B975ab000\mscordacwks_x86_x86_2.0.50727.5681.dll', Win32 error 0n87

CLRDLL: ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.5681.dll, Win32 error 0n87

CLR DLL status: ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.5681.dll, Win32 error 0n87

문제 해결 방법은 이전 글에서 봤던 것과 동일합니다. 단지, 이번에는 같은 컴퓨터에서 발생했기 때문에, 그대로 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscordacwks.dll" 파일을 복사해서 "D:\symbols\mscorwks.dll\4E150B975ab000" 폴더에 "mscordacwks_x86_x86_2.0.50727.5681.dll" 파일명으로 바꿔서 넣어주면 됩니다. (물론, .NET 버전 및 x86/x64에 따라 상황에 맞게 복사해 주어야 합니다.)

해결은 했지만... 어쨌든 이 문제는 "Windows Server 2008 SP2" 상황에서만 발생하는 현상인 것 같습니다. (더 이상은, 판단할 만한 깜냥이 안되는 군요. ^^)




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 6/1/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 46  47  48  49  [50]  51  52  53  54  55  56  57  58  59  60  ...
NoWriterDateCnt.TitleFile(s)
12690정성태6/28/202116670Java: 23. Azure - 자바(Java)로 만드는 Web App Service - Tomcat 호스팅
12689정성태6/25/202118360오류 유형: 730. Windows Forms 디자이너 - The class Form1 can be designed, but is not the first class in the file. [1]
12688정성태6/24/202117687.NET Framework: 1073. C# - JSON 역/직렬화 시 리플렉션 손실을 없애는 JsonSrcGen [2]파일 다운로드1
12687정성태6/22/202115016오류 유형: 729. Invalid data: Invalid artifact, java se app service only supports .jar artifact
12686정성태6/21/202116978Java: 22. Azure - 자바(Java)로 만드는 Web App Service - Java SE (Embedded Web Server) 호스팅
12685정성태6/21/202118198Java: 21. Azure Web App Service에 배포된 Java 프로세스의 메모리 및 힙(Heap) 덤프 뜨는 방법
12684정성태6/19/202116540오류 유형: 728. Visual Studio 2022부터 DTE.get_Properties 속성 접근 시 System.MissingMethodException 예외 발생
12683정성태6/18/202117863VS.NET IDE: 166. Visual Studio 2022 - Windows Forms 프로젝트의 x86 DLL 컨트롤이 Designer에서 오류가 발생하는 문제 [1]파일 다운로드1
12682정성태6/18/202114397VS.NET IDE: 165. Visual Studio 2022를 위한 Extension 마이그레이션
12681정성태6/18/202114688오류 유형: 727. .NET 2.0 ~ 3.5 + x64 환경에서 System.EnterpriseServices 참조 시 CS8012 경고
12680정성태6/18/202116748오류 유형: 726. python2.7.exe 실행 시 0xc000007b 오류
12679정성태6/18/202116875COM 개체 관련: 23. CoInitializeSecurity의 전역 설정을 재정의하는 CoSetProxyBlanket 함수 사용법파일 다운로드1
12678정성태6/17/202115380.NET Framework: 1072. C# - CoCreateInstance 관련 Inteop 오류 정리파일 다운로드1
12677정성태6/17/202118172VC++: 144. 역공학을 통한 lxssmanager.dll의 ILxssSession 사용법 분석파일 다운로드1
12676정성태6/16/202117330VC++: 143. ionescu007/lxss github repo에 공개된 lxssmanager.dll의 CLSID_LxssUserSession/IID_ILxssSession 사용법파일 다운로드1
12675정성태6/16/202115231Java: 20. maven package 명령어 결과물로 (war가 아닌) jar 생성 방법
12674정성태6/15/202116460VC++: 142. DEFINE_GUID 사용법
12673정성태6/15/202117094Java: 19. IntelliJ - 자바(Java)로 만드는 Web App을 Tomcat에서 실행하는 방법
12672정성태6/15/202118696오류 유형: 725. IntelliJ에서 Java webapp 실행 시 "Address localhost:1099 is already in use" 오류
12671정성태6/15/202127391오류 유형: 724. Tomcat 실행 시 Failed to initialize connector [Connector[HTTP/1.1-8080]] 오류
12670정성태6/13/202117376.NET Framework: 1071. DLL Surrogate를 이용한 Out-of-process COM 개체에서의 CoInitializeSecurity 문제파일 다운로드1
12669정성태6/11/202117539.NET Framework: 1070. 사용자 정의 GetHashCode 메서드 구현은 C# 9.0의 record 또는 리팩터링에 맡기세요.
12668정성태6/11/202120044.NET Framework: 1069. C# - DLL Surrogate를 이용한 Out-of-process COM 개체 제작파일 다운로드2
12667정성태6/10/202117862.NET Framework: 1068. COM+ 서버 응용 프로그램을 이용해 CoInitializeSecurity 제약 해결파일 다운로드1
12666정성태6/10/202115489.NET Framework: 1067. 별도 DLL에 포함된 타입을 STAThread Main 메서드에서 사용하는 경우 CoInitializeSecurity 자동 호출파일 다운로드1
12665정성태6/9/202117548.NET Framework: 1066. Wslhub.Sdk 사용으로 알아보는 CoInitializeSecurity 사용 제약파일 다운로드1
... 46  47  48  49  [50]  51  52  53  54  55  56  57  58  59  60  ...