none
Application Error 1000, w3wp.exe 오류와함께 IIS pool 종료현상문의 RRS feed

  • 질문

  • ●사용 시스템 : Windows Server 2008 Enterprise SP2 / Sql Server 2008 SP3

    ●주요내용 : w3wp.exe 오류가 발생하며 해당오류 5회 발생시 IIS Default Pool 이 중지되어 버려 Sql 연관 시스템 (Erp) 사용불가

    ●문의사항 :

     1) http://support.microsoft.com/kb/942712/ko  의 문건 - 버그 #: 50001813 (SQL 핫픽스)

    "FIX: 인터넷 정보 서비스의 W3WP.exe 프로세스가 예기치 않게 중지 SQL Server 2005, SQL Server 2008 및 SQL Server 2008 r 2에서 웹 동기화를 사용 하 여 병합 복제를 구성 하는 경우"

    -> 위의 문건과 동일한 증상인것 같은데 현재 설치되어있는 서비스팩은 3 버젼이므로 문제가 해결되었어야 하나, W3WP.exe 프로세스가중지되는 현상이 여전히 발생하여 주요 프로그램 작동 불가 상황. 해결방법이 있을까요?

    2) IIS의 Default Pool 셋팅에 오류 5회시 자동으로 중지되는 항목이 있는데 이 항목을 중지되지 않게 설정하여 버리면 오류가 발생 하더라도 응용프로그램은 계속 실행이 가능 할 것 같은데요, 이 경우 파생되는 중대 문제점이 있을까요?

    ●아래는 해당 오류의 이벤트 및 디버깅 정보입니다.

    ◆이벤트

    수준 날짜 및 시간 원본 이벤트 ID 작업 범주
     오류 2014-03-03 오전 9:06:06 Application Error 1000 (100) 오류 있는 응용 프로그램 w3wp.exe, 버전 7.0.6002.18005, 타임스탬프 0x49e023cf, 오류 있는 모듈 ntdll.dll, 버전 6.0.6002.18881, 타임스탬프 0x51da3e27, 예외 코드 0xc0000005, 오류 오프셋 0x00066609, 프로세스 ID 0x1a2c, 응용 프로그램 시작 시간 0x01cf3657cad27ac0.

     System

      - Provider

       [ Name]  Application Error
     
      - EventID 1000

       [ Qualifiers]  0
     
       Level 2
     
       Task 100
     
       Keywords 0x80000000000000
     
      - TimeCreated

       [ SystemTime]  2014-05-09T02:21:27.000Z
     
       EventRecordID 5566
     
       Channel Application
     
       Computer erp-server
     
       Security

    - EventData

       w3wp.exe
       7.0.6002.18005
       49e023cf
       Emfgen.dll
       10.0.0.533
       3fd6c3f6
       c0000005
       0000159c
       193c
       01cf6b2c6ee2e3d0

    ◆디버깅 분석자료.
     
      Analysis Summary 
      Type Description Recommendation
      Error WARNING - DebugDiag was not able to locate debug symbols for Emfgen.dll, so the information below may be incomplete.
     
     
     
    In w3wp__DefaultAppPool__PID__4276__Date__03_05_2014__Time_05_02_00PM__22__Second_Chance_Exception_C0000005.dmp the assembly instruction at Emfgen+159c in C:\Program Files\Common Files\Crystal Decisions\2.5\bin\Emfgen.dll has caused an access violation exception (0xC0000005) when trying to read from memory location 0x6d617289 on thread 38
      Please follow up with the vendor for C:\Program Files\Common Files\Crystal Decisions\2.5\bin\Emfgen.dll
     
       Warning .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.4247.dll by mscorwks search
     
    CLRDLL: Unable to find 'mscordacwks_x86_x86_2.0.50727.4247.dll' on the path
     
    CLRDLL: Unable to get version info for 'c:\symcache\mscorwks.dll\5265D1B15ab000\mscordacwks_x86_x86_2.0.50727.4247.dll', Win32 error 0n87
     
    CLRDLL: ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.4247.dll, Win32 error 0n87
     
    CLR DLL status: ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.4247.dll, Win32 error 0n87
      To fix this problem, you can copy mscordacwks.dll from the server where the dump was taken and rename it to mscordacwks_<arch>_<arch>_<version>.dll and add the path of the folder to the Symbol server path by going to Tools-> Options and Settings 
      Information DebugDiag determined that this dump file (w3wp__DefaultAppPool__PID__4276__Date__03_05_2014__Time_05_02_00PM__22__Second_Chance_Exception_C0000005.dmp) is a crash dump and did not perform any hang analysis. If you wish to enable combined crash and hang analysis for crash dumps, edit the Globals.asp script (located in the DebugDiag\Scripts\inc folder) and set the g_DoCombinedAnalysis constant to True. 


      Analysis Details 


       Your browser settings are currently prohibiting this report's scripts from running.
     
    This is preventing some features of this analysis report from displaying properly. To enable scripts to run, right-click the security warning above and choose "Allow Blocked Content..." or enable the "Allow active content to run in files on My Computer*" setting on the Advanced tab of your "Internet Options" dialog to avoid being prompted in the future

    Table Of Contents
     w3wp__DefaultAppPool__PID__4276__Date__03_05_2014__Time_05_02_00PM__22__Second_Chance_Exception_C0000005.dmp
     
       Faulting Thread
     
       Faulting Module Information
     
       Executing ASP Request
     
       .NET Analysis Report
     
     
     
     Report for w3wp__DefaultAppPool__PID__4276__Date__03_05_2014__Time_05_02_00PM__22__Second_Chance_Exception_C0000005.dmp
     
     
     
     Report for w3wp__DefaultAppPool__PID__4276__Date__03_05_2014__Time_05_02_00PM__22__Second_Chance_Exception_C0000005.dmp
     Type of Analysis Performed   Crash Analysis
    Machine Name   ERP-SERVER
    Operating System   Windows Server 2008 Service Pack 2
    Number Of Processors   16
    Process ID   4276
    Process Image   c:\Windows\System32\inetsrv\w3wp.exe
    System Up-Time   5 day(s) 00:41:43
    Process Up-Time   00:00:02


    Thread 38 - System ID 7244
     Entry point   msvcrt!_endthreadex+6f
    Create time   2014-03-05 오후 5:01:59
    Time spent in user mode   0 Days 0:0:0.15
    Time spent in kernel mode   0 Days 0:0:0.0

    Full Call Stack
     
     
     
    Function     Arg 1     Arg 2     Arg 3     Arg 4   Source
    Emfgen+159c     6d617261     72657465     65694620     2e73646c   
    0x5020726f     010c5098     00000028     00000004     0000000a   
    oleaut32!CTypeInfo2::Invoke+23a     025d0d9c     010c5098     00000000     00000001  
     oleaut32!CTypeInfo2::Invoke+611     025d0d44     010c5098     00000003     00000001  
     Emfgen!DllUnregisterServer+2e0     010c5098     00000003     6aec2f18     00000409  
     vbscript!IDispatchInvoke2+b2     010be368     010c5098     00000003     6aec2f18  
     vbscript!IDispatchInvoke+59     010be368     010c5098     00000003     6aec2f18  
     vbscript!InvokeDispatch+13a     010be368     010c5098     00000003     00000000  
     vbscript!InvokeByName+42     010be368     010c5098     00000003     00000001  
     vbscript!CScriptRuntime::RunNoEH+234c     02d7efb8     b5a77205     00000000     01093dd8  
     vbscript!CScriptRuntime::Run+62     02d7efb8     03407298     010be368     010ec268  
     vbscript!CScriptEntryPoint::Call+51     02d7efb8     00000000     0341c000     00000000  
     vbscript!CScriptRuntime::RunNoEH+1beb     00000000     b5a76fd9     00000000     01093d38  
     vbscript!CScriptRuntime::Run+62     00000000     01093d38     010be368     010ec268  
     vbscript!CScriptEntryPoint::Call+51     00000000     00000000     00000000     00000000  
     vbscript!CSession::Execute+c8     01093d38     00000000     00000000     00000000  
     vbscript!COleScript::ExecutePendingScripts+144     00000000     00000000     00000000     025bf5b8  
     vbscript!COleScript::SetScriptState+14d     025ba108     025ba108     025bf5b8     76d495e0  
     asp!CActiveScriptEngine::TryCall+19     00000000     b5a6c09c     00000000     025bf5b8  
     asp!CActiveScriptEngine::Call+e7     00000000     025cb5c0     0257b228     00000000  
     asp!CallScriptFunctionOfEngine+3e     02d7f2f4     00000000     00000000     00000000  
     asp!ExecuteRequest+148     01937178     00000000     02d7f350     02d7f2f4   
    asp!Execute+1c1     01937178     0257b228     02d7f350     00000000   
    asp!CHitObj::ViperAsyncCallback+3f9     00000000     00000000     02574c90     02d7f52c  
     asp!CViperAsyncRequest::OnCall+6a     02574c20     002b0900     00000000     00000000  
     comsvcs!CSTAActivityWork::STAActivityWorkHelper+32     02574c90     b5c8b16a     0264a1c4     00000000  
     ole32!EnterForCallback+cf     02d7f52c     0264a1c4     6a3dc0df     02574c90  
     ole32!SwitchForCallback+1a8     02d7f464     6a3dc0df     02574c90     6a397f54  
     ole32!PerformCallback+a3     0264a1c4     6a3dc0df     02574c90     6a397f54  
     ole32!CObjectContext::InternalContextCallback+15b     002b0900     6a3dc0df     02574c90     6a397f54  
     ole32!CObjectContext::DoCallback+1c     002b0900     6a3dc0df     02574c90     6a397f54  
     comsvcs!CSTAActivityWork::DoWork+12f     025c1a50     025c1a30     025cdaa4     025c1a80  
     comsvcs!CSTAThread::DoWork+18     02574c90     00000001     025c1a30     00000000  
     comsvcs!CSTAThread::ProcessQueueWork+37     00000000     00000000     010c6ce0     02d7f79c  
     comsvcs!CSTAThread::WorkerLoop+188     025c1a30     b5c8bd89     00000000     00000000  
     msvcrt!_endthreadex+44     02d7f7e8     76d4d2e9     010c6ce0     02d7f828   
    msvcrt!_endthreadex+ce     010c6ce0     02d7f828     77611603     010c6ce0   
    kernel32!BaseThreadInitThunk+e     010c6ce0     6c5b513f     00000000     00000000  
     ntdll!__RtlUserThreadStart+23     777a2670     010c6ce0     ffffffff     77677b76  
     ntdll!_RtlUserThreadStart+1b     777a2670     010c6ce0     00000000     00000000  
     
     
     
     
     
     
     
    ASP request executing on thread 38
     
    ASP request executing on thread   38
    POST request for   /uniLITE5/reports/rptserver.asp
    Request alive for   00:00:00
    QueryString   cmd=get_pg&viewer=actx&vfmt=encp&page=2&PVERSION=3
    Request mapped to   C:\uniLITE5\Home\reports\rptserver.asp
    ASP Application   /LM/W3SVC/1/ROOT/UNILITE5
    ASP Template   C:\UNILITE5\HOME\REPORTS\RPTSERVER.ASP

    Script call stack for thread 38
     
     
     
    Function Scope   Line Of Code   Source File   Line Number
    RetrieveObjects   session("oEMF").SendErrorMsg 1, sessionError   C:\UNILITE5\HOME\REPORTS\RPTSERVER.ASP   608
     Global Scope   Call RetrieveObjects   C:\UNILITE5\HOME\REPORTS\RPTSERVER.ASP   225
     
     
     
     
     
     
     
    Exception Information
     EMFGEN+159CWARNING - DebugDiag was not able to locate debug symbols for Emfgen.dll, so the information below may be incomplete.
     
     
     
    In w3wp__DefaultAppPool__PID__4276__Date__03_05_2014__Time_05_02_00PM__22__Second_Chance_Exception_C0000005.dmp the assembly instruction at Emfgen+159c in C:\Program Files\Common Files\Crystal Decisions\2.5\bin\Emfgen.dll has caused an access violation exception (0xC0000005) when trying to read from memory location 0x6d617289 on thread 38
     
     
     
     
     
    Module Information
    Image Name: C:\Program Files\Common Files\Crystal Decisions\2.5\bin\Emfgen.dll   Symbol Type:  Export
     Base address: 0x00905a4d   Time Stamp:  Wed Dec 10 15:57:58 2003 
    Checksum: 0x00000000   Comments:  
    COM DLL: True   Company Name:  
    ISAPIExtension: False   File Description:  
    ISAPIFilter: False   File Version:  
    Managed DLL: False   Internal Name:  
    VB DLL: False   Legal Copyright:  
    Loaded Image Name:  Emfgen.dll   Legal Trademarks:  
    Mapped Image Name:     Original filename:  
    Module name:  Emfgen   Private Build:  
    Single Threaded:  False   Product Name:  
    Module Size:  56.00 KBytes   Product Version:  
    Symbol File Name:  Emfgen.dll   Special Build:  &


      Script Summary 
      Script Name Status Error Code Error Source Error Description Source Line
    CrashHangAnalysis.asp Completed  


    • 편집됨 Nios333 2014년 5월 9일 금요일 오전 4:06
    2014년 5월 9일 금요일 오전 3:09

답변

  • 처음에 적어주신  http://support.microsoft.com/kb/942712/ko   hotfix를 보니, 이것은 SQ서버의 fix입니다. 

    그러나, 아래 적어주신 crash 정보를 자세히 들여다보면, C:\Program Files\Common Files\Crystal Decisions\2.5\bin\Emfgen.dll 파일이 크래쉬를 일으켰다고 설명되어 있습니다.

    즉, 지금 IIS가 응용프로그램의 오류로 인해 죽었는데 링크를 적어주신 hotfix의 내용과는 상관없이 C:\Program Files\Common Files\Crystal Decisions\2.5\bin\Emfgen.dll  파일에서 문제를 일으킨 것입니다.

    해당 파일 이름으로 찾아보니 Seagate Crystal Report 프로그램에 속한 파일이라는 결과가 나오네요. 그러므로, 현재 IIS에서 돌고있는 웹프로그램을 개발하신 개발자분에게 연락해서 해당 오류를 문의해 보시거나, seagate CR 모듈을 최신 버전으로 업데이트 해 보시기 바랍니다.

    2014년 5월 12일 월요일 오전 12:33