IIS7 crashes with ASP ClassicRSS

0 replies

Last post Sep 29, 2015 12:00 PM by JCaravan

  • IIS7 crashes with ASP Classic

    Sep 29, 2015 12:00 PM|JCaravan|LINK

    Hi all
    Seems our web application is crashing on the last page where it tries to load a .TIF image from an encoded URL, to display in the bottom frame of the page.
    It all works just fine under IIS6
    Visual Studio 2005 with SP1 is installed as a debugger tool. Visual Studio 2010 is also installed
    The server (IIS) group installed the KB971512 hotfix along with the IIS Debug Diag tool

    From the IIS Server team:
    I have had a look at the dumps with windbg.

    The second and third dumps seem to mostly refer to a breakpoint…

    Unfortunately the error code is unknown, but windbg did identify the faulting module (asp) and probable instruction:
    (asp!CTemplate::CFileMap::RemapFile+29b).

    Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64

    Copyright (c) Microsoft Corporation. All rights reserved.

    Loading Dump File [Z:\Program Files\DebugDiag\Logs\Crash rule for IIS web application pool - WebInquireFixed\w3wp__WebInquireFixed__PID__2152__Date__09_24_2015__Time_07_47_11AM__781__First chance exception 0X8000D002.dmp]

    User Mini Dump File with Full Memory: Only application data is available

    Comment: 'Dump created by DbgHost. First chance exception 0X8000D002'

    Symbol search path is: .sympath cache*C:\Symbols\CAVTSBCRI911;srv*http://msdl.microsoft.com/download/symbols

    Executable search path is:

    Windows Server 2008/Windows Vista Version 6002 (Service Pack 2) UP Free x86 compatible

    Product: Server, suite: TerminalServer SingleUserTS

    Machine Name:

    Debug session time: Thu Sep 24 07:47:12.000 2015 (UTC - 7:00)

    System Uptime: 0 days 15:31:19.126

    Process Uptime: 0 days 15:01:59.000

    ................................................................

    ....................................

    Loading unloaded module list.

    This dump file has an exception of interest stored in it.

    The stored exception information can be accessed via .ecxr.

    (868.1104): Unknown exception - code 8000d002 (first/second chance not available)

    eax=0261e924 ebx=01d3bb60 ecx=3ae25dba edx=77625c54 esi=0191d890 edi=00000000

    eip=7692fd1e esp=0261e924 ebp=0261e974 iopl=0         nv up ei pl zr na pe nc

    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246

    kernel32!RaiseException+0x58:

    7692fd1e c9              leave

    0:023> !analyze -v

    *******************************************************************************

    *                                                                             *

    *                        Exception Analysis                                   *

    *                                                                             *

    *******************************************************************************

    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for isapi.dll -

    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for ScriptSn.20150916071000.dll -

    GetPageUrlData failed, server returned HTTP status 404

    URL requested: http://watson.microsoft.com/StageOne/w3wp_exe/7_0_6002_18005/49e023cf/kernel32_dll/6_0_6002_19381/554d42a0/8000d002/0003fd1e.htm?Retriage=1

    FAULTING_IP:

    kernel32!RaiseException+58

    7692fd1e c9 leave

    EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)

    ExceptionAddress: 7692fd1e (kernel32!RaiseException+0x00000058)

    ExceptionCode: 8000d002

    ExceptionFlags: 00000000

    NumberParameters: 0

    DEFAULT_BUCKET_ID: APPLICATION_FAULT

    PROCESS_NAME: w3wp.exe

    ERROR_CODE: (NTSTATUS) 0x8000d002 - <Unable to get error code text>

    EXCEPTION_CODE: (HRESULT) 0x8000d002 (2147536898) - <Unable to get error code text>

    MOD_LIST: <ANALYSIS/>

    NTGLOBALFLAG: 0

    APPLICATION_VERIFIER_FLAGS: 0

    LAST_CONTROL_TRANSFER: from 58fa5216 to 7692fd1e

    FAULTING_THREAD: 00001104

    PRIMARY_PROBLEM_CLASS: APPLICATION_FAULT

    BUGCHECK_STR: APPLICATION_FAULT_APPLICATION_FAULT

    STACK_TEXT: 

    0261e974 58fa5216 8000d002 00000000 00000000 kernel32!RaiseException+0x58

    0261e9c4 58fa6ce5 00000000 3888edef 00000000 asp!CTemplate::CFileMap::RemapFile+0x29b

    0261ee70 58fa71e8 0261eeec 0162d55c 0191d1b0 asp!CTemplate::CFileMap::MapFile+0x5ac

    0261ee9c 58fa9dd3 0261eeec 0191d1b0 00000000 asp!CTemplate::AppendMapFile+0xb3

    0261f10c 58fa7db4 0261f174 0261f15c 0191d1b0 asp!CTemplate::ProcessIncludeFile2+0x102

    0261f280 58fa9301 0261f2ec 0191d1b0 0162d5e8 asp!CTemplate::ProcessIncludeFile+0x1ff

    0261f2ac 58fa96df 00000004 0261f2ec 0191d1b0 asp!CTemplate::ProcessSegment+0xb3

    0261f300 58fa9c35 00f10603 00000004 00000008 asp!CTemplate::ExtractAndProcessSegment+0x1c6

    0261f39c 58faa131 0191d1b0 0162d5e8 0016d4c0 asp!CTemplate::GetSegmentsFromFile+0x133

    0261f430 58f69830 0016d4c0 0261f5f8 0016d4c0 asp!CTemplate::Compile+0x1d4

    0261f460 58f6970d 00000000 01d3be7c 00000003 asp!CTemplateCacheManager::Load+0x257

    0261f5a0 58f67d7a 01d3be7c 0016d4c0 0261f5f8 asp!LoadTemplate+0x93

    0261f5fc 58f6b9c7 00000000 00000000 0198ddf0 asp!CHitObj::ViperAsyncCallback+0x38d

    0261f618 6dc4c111 0198d8b0 0009d5c8 00000000 asp!CViperAsyncRequest::OnCall+0x6a

    0261f634 7660f919 0198ddf0 38802bc1 01d52598 comsvcs!CSTAActivityWork::STAActivityWorkHelper+0x32

    0261f6a8 7660e0e8 0261f7a8 01d52598 6dc4c0df ole32!EnterForCallback+0xcf [d:\vsp2g\com\ole32\com\dcomrem\crossctx.cxx @ 2049]

    0261f808 7660e1a6 0261f6e0 6dc4c0df 0198ddf0 ole32!SwitchForCallback+0x1a8 [d:\vsp2g\com\ole32\com\dcomrem\crossctx.cxx @ 1681]

    0261f85c 766475df 01d52598 6dc4c0df 0198ddf0 ole32!PerformCallback+0xa3 [d:\vsp2g\com\ole32\com\dcomrem\crossctx.cxx @ 1560]

    0261f8f4 766bbe01 0009d5c8 6dc4c0df 0198ddf0 ole32!CObjectContext::InternalContextCallback+0x15b [d:\vsp2g\com\ole32\com\dcomrem\context.cxx @ 4284]

    0261f914 6dc4c2b5 0009d5c8 6dc4c0df 0198ddf0 ole32!CObjectContext::DoCallback+0x1c [d:\vsp2g\com\ole32\com\dcomrem\context.cxx @ 4129]

    0261f980 6dc4c819 00113a30 00113a10 01d3fa6c comsvcs!CSTAActivityWork::DoWork+0x12f

    0261f998 6dc4d29d 0198ddf0 00000001 00113a10 comsvcs!CSTAThread::DoWork+0x18

    0261f9b8 6dc4d561 00000000 00000000 008f2e40 comsvcs!CSTAThread::ProcessQueueWork+0x37

    0261fa18 75f72599 00113a10 38802053 00000000 comsvcs!CSTAThread::WorkerLoop+0x188

    0261fa50 75f726b3 0261fa64 7693d3c9 008f2e40 msvcrt!_endthreadex+0x44

    0261fa58 7693d3c9 008f2e40 0261faa4 77601597 msvcrt!_endthreadex+0xce

    0261fa64 77601597 008f2e40 751374a0 00000000 kernel32!BaseThreadInitThunk+0xe

    0261faa4 7760156a 75f72670 008f2e40 ffffffff ntdll!__RtlUserThreadStart+0x23

    0261fabc 00000000 75f72670 008f2e40 00000000 ntdll!_RtlUserThreadStart+0x1b

    STACK_COMMAND: .cxr 0000000000000000 ; kb ; ~23s; .ecxr ; kb

    FOLLOWUP_IP:

    asp!CTemplate::CFileMap::RemapFile+29b

    58fa5216 5f pop edi

    SYMBOL_STACK_INDEX: 1

    SYMBOL_NAME: asp!CTemplate::CFileMap::RemapFile+29b

    FOLLOWUP_NAME: MachineOwner

    MODULE_NAME: asp

    IMAGE_NAME: asp.dll

    DEBUG_FLR_IMAGE_TIMESTAMP: 4c20dbbb

    FAILURE_BUCKET_ID: APPLICATION_FAULT_8000d002_asp.dll!CTemplate::CFileMap::RemapFile

    BUCKET_ID: APPLICATION_FAULT_APPLICATION_FAULT_asp!CTemplate::CFileMap::RemapFile+29b

    WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/w3wp_exe/7_0_6002_18005/49e023cf/kernel32_dll/6_0_6002_19381/554d42a0/8000d002/0003fd1e.htm?Retriage=1

    Followup: MachineOwner

    ---------

    I'm not exactly sure how to interpret the line with the instruction before the crash:
    (asp!CTemplate::CFileMap::RemapFile+29b). if you need to see the Image.asp code that is being called, I can send it to you