locked
W3WP.exe crashes on Windows Server 2003, IIS 6.0 RRS feed

  • Question

  • User-536771240 posted

    W3WP.exe crashes on Windows Server 2003, IIS 6.0 while accessing an ASP.NET page. The event log shows an application error "Faulting application w3wp.exe, faulting module mshtml.dll". Any help is greatly appreciated.

    Friday, July 6, 2007 4:17 PM

All replies

  • User1073881637 posted

    Hmm.  Do you see anything in the security event log?  Maybe the application pool id doesn't have permissions.  Does your application reference this DLL somewhere? Does it crash on all pages, or just a particular one?  I'd run filemon from sysinternals to see if anything is getting access denied. 

    Saturday, July 7, 2007 5:44 PM
  • User-823196590 posted

    Debug Diagnostics may be helpful:
    http://www.iisdiagnostics.com/

    Monday, July 9, 2007 9:04 AM
  • User-536771240 posted

    It only crashes on a particular page, which generates PDF dynamically using ABCPdf.NET. We did load testing on this page. Sometimes page is being displayed, but frequently we get kicked out of the application (to the login page).

    Monday, July 9, 2007 10:16 AM
  • User-823196590 posted

    Since your problem is specifically with ABCPdf.NET, did you contact their support?

    Monday, July 9, 2007 1:35 PM
  • User-536771240 posted

    Yes I contacted ABCPdf.NET, and worked on this issue together. No luck.

    The CPU usage peaks to 100% frequently, that is the reason we had to make the thread sleep in between processing. However we still have the problem. Is there a way to make CPU not hit this mark?

    Monday, July 9, 2007 2:31 PM
  • User-536771240 posted

    I'm adding the results from IIS Diagnostics Tool. If anybody can derive something from this information.

    Report for w3wp__PID__2308__Date__07_11_2007__Time_03_04_05PM__145__First chance exception 0XE0434F4D.dmp
    Type of Analysis Performed   Crash Analysis
    Machine Name   DRISKILL
    Operating System   Windows Server 2003 Service Pack 1
    Number Of Processors   2
    Process ID   2308
    Process Image   c:\WINDOWS\system32\inetsrv\w3wp.exe
    System Up-Time   39 day(s) 02:41:51
    Process Up-Time   0 day(s) 00:05:01

    Thread 15 - System ID 2236
    Entry point   mscorsvr!ThreadpoolMgr::intermediateThreadProc
    Create time   7/11/2007 2:59:05 PM
    Time spent in user mode   0 Days 0:0:2.609
    Time spent in kernel mode   0 Days 0:0:0.531

    Function     Arg 1     Arg 2     Arg 3   Source
    kernel32!RaiseException+53     e0434f4d     00000000     00000000   
    mscorsvr!ThrowControlForThread+3b     061314ac     06723e50     00000000   
    67235fc     019bf9c8     067235fc     061314ac   
    cda6902     019bfa44     067235fc     061314ac   
    cda67d3     060f0e90     06723714     01d72fd5   
    1d76458     01d72f70     019bfbdc     000ee480   
    mscorsvr!ComCallMLStubCache::CompileMLStub+1af     019bfb84     791b3d64     019bfc00   
    mscorsvr!Thread::DoADCallBack+5c     000ee480     7923c1ce     019bfb84   
    mscorsvr!ComCallMLStubCache::CompileMLStub+2ba     000cda70     019bfc00     019bffdc   
    1aba0bd     00000001     00132ef8     019bfd18   
    cda70     019bf93c     00000000     00000001   

    In w3wp__PID__2308__Date__07_11_2007__Time_03_04_05PM__145__First chance exception 0XE0434F4D.dmp the assembly instruction at kernel32!RaiseException+53 in C:\WINDOWS\system32\kernel32.dll from Microsoft Corporation has caused an unknown exception (0xe0434f4d) on thread 15

    This exception originated from mscorsvr!ThrowControlForThread+3b. Module Information
    Image Name: C:\WINDOWS\system32\kernel32.dll   Symbol Type:  PDB
    Base address: 0x77e40000   Time Stamp:  Thu Mar 24 21:30:42 2005 
    Checksum: 0x0010c135   Comments:  
    COM DLL: False   Company Name:  Microsoft Corporation
    ISAPIExtension: False   File Description:  Windows NT BASE API Client DLL
    ISAPIFilter: False   File Version:  5.2.3790.1830 (srv03_sp1_rtm.050324-1447)
    Managed DLL: False   Internal Name:  kernel32
    VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved.
    Loaded Image Name:  kernel32.dll   Legal Trademarks:  
    Mapped Image Name:     Original filename:  kernel32
    Module name:  kernel32   Private Build:  
    Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System
    Module Size:  1.01 MBytes   Product Version:  5.2.3790.1830
    Symbol File Name:  c:\symcache\kernel32.pdb\75CFE96517E5450DA600C870E95399FF2\kernel32.pdb   Special Build:  &

    Report for w3wp__PID__2308__Date__07_11_2007__Time_03_14_08PM__47__Second_Chance_Exception_C0000005.dmp
    Type of Analysis Performed   Crash Analysis
    Machine Name   DRISKILL
    Operating System   Windows Server 2003 Service Pack 1
    Number Of Processors   2
    Process ID   2308
    Process Image   c:\WINDOWS\system32\inetsrv\w3wp.exe
    System Up-Time   39 day(s) 02:52:05
    Process Up-Time   0 day(s) 00:15:07

    Thread 52 - System ID 5668
    Entry point   ABCpdfCE6!NTransform_Skew+c7ba0
    Create time   7/11/2007 3:14:01 PM
    Time spent in user mode   0 Days 0:0:3.156
    Time spent in kernel mode   0 Days 0:0:0.156

    Function     Arg 1     Arg 2     Arg 3   Source
    mshtml!PlainRelease+8b     11ac0620     00000000     11feff80   
    ABCpdfCE6!NTransform_Skew+cc165     00000000     00000000     00000000   

    MSHTML!PLAINRELEASE+8BIn w3wp__PID__2308__Date__07_11_2007__Time_03_14_08PM__47__Second_Chance_Exception_C0000005.dmp the assembly instruction at mshtml!PlainRelease+8b in C:\WINDOWS\system32\mshtml.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x11ac0624 on thread 52

    Module Information
    Image Name: C:\WINDOWS\system32\mshtml.dll   Symbol Type:  PDB
    Base address: 0x7d0e0000   Time Stamp:  Fri May 06 21:19:07 2005 
    Checksum: 0x00304d9c   Comments:  
    COM DLL: True   Company Name:  Microsoft Corporation
    ISAPIExtension: False   File Description:  Microsoft (R) HTML Viewer
    ISAPIFilter: False   File Version:  6.00.3790.2440 (srv03_sp1_gdr.050506-1520)
    Managed DLL: False   Internal Name:  MSHTML
    VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved.
    Loaded Image Name:  mshtml.dll   Legal Trademarks:  
    Mapped Image Name:     Original filename:  MSHTML.DLL
    Module name:  mshtml   Private Build:  
    Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System
    Module Size:  2.98 MBytes   Product Version:  6.00.3790.2440
    Symbol File Name:  c:\symcache\mshtml.pdb\3FCBFD7777A3457B8AB2DFE3AE6F50212\mshtml.pdb   Special Build:  &

    Wednesday, July 11, 2007 4:32 PM
  • User1072646524 posted

    eGrantsGuy,

     We are also experiencing the same problem on our production server using ABCPDF version 6.0.0.9. Attempts to upgrade to their more recent version causes event more immediate failure. Have you found a resolution to this problem? If so, we would be very interested in the solution. If so, please contact us at. orionjensen at gmail dot com

     We are currently working with Microsoft and WebSupergoo in an attempt to resolve the problem. We will post if we find a solution.

     BasDev

    Thursday, September 13, 2007 11:17 PM
  • User1072646524 posted

     After tracing through our code, the problem boiled down to passing large values into the AddText routine. In our situation a double.NaN was inadvertently being passed into the method. Make note that you must use the primitive double.IsNaN and not simple arithmetic comparisons. This is then, in our estimation, passed to their external library which evaluates the double.NaN out to a huge number. After getting the request to render huge text, the ABCPDF module ties up the processor.

    Friday, September 14, 2007 12:17 PM