locked
access violation exception RRS feed

  • Question

  • User-1546588199 posted

    Hi,

    We have as Asp.net Application hosted over intranet and working on .Net4.5 Application Pool. It keeps on crashing abnormally in some time duration (not definite), It can be twice in a day or once in a day or 3 to 4 days. I have used the debugdiag tool to trap the error and seem that my w3wp.exe is crashing with access violation exception (0xC0000005) when trying to read from memory location 0x00000000 , Can anybody give some more information on this.

    Full Call Stack

    Thread 43 - System ID 5408

    Entry point   clr!DllGetClassObjectInternal+ecd0
    Create time   6/12/2020 6:20:14 AM
    Time spent in user mode   0 Days 0:0:4.875
    Time spent in kernel mode   0 Days 0:0:0.406


    Full Call Stack

    Function     Arg 1     Arg 2     Arg 3     Arg 4   Source
    System_Web_ni+1f8160     15f573b8     00000001     073b74b8     00000000   
    System_Web_ni+1f81ac     00000000     073b74b8     0e349528     1614ec98   
    System_Web_ni+1f81f4     00000000     00000000     670d6370     09e92be9   
    System_Web_ni+200c27     00000001     073b74b8     00000001     00000000   
    System_Web_ni+200815     00000001     0d4d4194     0d4d4194     073422ec   
    System_Web_ni+200749     073b74b8     1614ed30     672906db     00000000   
    System_Web_ni+2006f7     00000000     0734144c     0734a0e0     1614ed78   
    System_Web_ni+2006db     00000002     1614ec9c     1614f048     746eec90   
    System_Web_ni+20383d     0734144c     07346a84     1614edbc     1614edc8   
    System_Web_ni+1dcd81     0335a4dc     00000010     ffffffff     00000000   
    System_Web_ni+1dcdd8     1614ee74     00000000     00000000     07352424   
    System_Web_ni+1ea9cd     00000000     00000000     1614ef04     1614ef10   
    System_Web_ni+1dd760     0d509784     1614eef8     1614efb0     30f13fb6   
    System_Web_ni+1e960b     0734144c     30f13fb6     7417fb10     1614f530   
    System_Web_ni+1de5d0     00000000     0000000b     00000002     00000000   
    System_Web_ni+1de2bf     155312fc     011d70fc     0000000b     00000000   
    webengine4!MgdGetServerVariableW+273     011d79a8     6ebcb360     00000000     01eaf904   
    webengine4!MgdFlushCore+285     00000080     00000000     01eafd84     011d6160   
    webengine4!MgdGetServerVariableW+212     00000080     00000000     01eafd84     011d6158   
    webengine4!MgdWebSocketWriteFragment+b48     011d6158     011d6160     011d6158     020a09f8   
    iiscore+27ba0     01eafd84     011d6158     00000000     011d6160   
    iiscore+26dfb     00000000     00000000     00000000     00000000   
    iiscore+15ba4     00000000     00000000     00000000     00000000   
    iiscore+28885     00000000     00000000     00000000     00000000   
    iiscore+281ee     00000000     00000000     00000000     00000001   
    iiscore+1a439     00000000     00000000     6ebb93a0     00000000   
    iiscore+19440     00000000     1614f61c     6ec47e60     1614f51c   
    webengine4!STRU::Unescape+49d     00000000     01e92c80     1614f55c     672c0e31   
    webengine4!MgdIndicateCompletion+22     011d70fc     1614f61c     30f13fb6     7417fb10   
    System_Web_ni+230e31     30f13fb6     7417fb10     1614f738     670c8640   
    System_Web_ni+1de773     00000004     0000000c     01e92c80     00000000   
    System_Web_ni+1de2bf     01e92c80     1614f6f8     7429c9b1     1614f858   
    clr+ed3c     1614f858     00000010     01fcde08     15554590   
    clr!GetPrivateContextsPerfCounters+c7d1     1614f7ec     244652f5     155545a6     00000002   
    clr!GetPrivateContextsPerfCounters+c702     00000002     7429c940     1614f7ec     00000001   
    clr!GetPrivateContextsPerfCounters+c66a     00000000     011d70fc     0000000c     00000004   
    webengine4!MgdGetServerVariableW+273     747f2320     01ee3140     011d70fc     1614f8d4   
    webengine4!MgdGetServerVariableW+2d3     011d70fc     24465da9     747f2320     741fdc20   
    clr!DllGetClassObjectInternal+dd52     1614f905     1614f907     01e92c80     0001000c   
    clr!LogHelp_TerminateOnAssert+8dab     00000000     ffffffff     ffffffff     772d59e4   
    clr!DllGetClassObjectInternal+ed21     01eacab0     76fa69f0     2725ca02     1614fcc8   
    kernel32!BaseThreadInitThunk+24     01eacab0     27187561     00000000     00000000   
    ntdll!RtlInitializeExceptionChain+8f     ffffffff     772afe63     00000000     00000000   
    ntdll!RtlInitializeExceptionChain+5a     741fed40     01eacab0     00000000     00000000   
    In w3wp__.NET v4.5__PID__4444__Date__06_12_2020__Time_06_20_55AM__493__First chance exception 0XC0000005.dmp the module C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Web\f9d354613858eb511f448a21c41ecb81\System.Web.ni.dll has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 43


    Module Information

    Image Name: C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Web\f9d354613858eb511f448a21c41ecb81\System.Web.ni.dll   Symbol Type: None
    Base address: 0x00005a4d   Time Stamp: Sat Nov 23 07:49:08 2019
    Checksum: 0x00000000   Comments: Flavor=Retail
    COM DLL: False   Company Name: Microsoft Corporation
    ISAPIExtension: False   File Description: System.Web.dll
    ISAPIFilter: False   File Version: 4.7.3535.0 built by: NET472REL1LAST
    Managed DLL: True   Internal Name: System.Web.dll
    VB DLL: False   Legal Copyright: © Microsoft Corporation. All rights reserved.
    Loaded Image Name: System.Web.ni.dll   Legal Trademarks:
    Mapped Image Name:   Original filename: System.Web.dll
    Module name: System_Web_ni   Private Build: DDBLD340C
    Single Threaded: False   Product Name: Microsoft® .NET Framework
    Module Size: 13.33 MBytes   Product Version: 4.7.3535.0
    Symbol File Name: System.Web.ni.dll   Special Build: &
    Friday, June 12, 2020 8:51 AM

All replies

  • User288213138 posted

    Hi s.sharma6273,

    access violation exception (0xC0000005) when trying to read from memory location 0x00000000

    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Web\f9d354613858eb511f448a21c41ecb81\System.Web.ni.dll

    The problem seems to be with System.Web.ni.dll.

    The system.web.ni.dll is an executable file on your computer's hard drive. This file contains machine code. If you start the software Microsoft® .NET Framework on your PC, the commands contained in system.web.ni.dll will be executed on your PC. For this purpose, the file is loaded into the main memory (RAM) and runs there as a .Net Framework Module process. and you can try to reinstall this application.

    Best regards,

    Sam

    Wednesday, June 17, 2020 7:49 AM
  • User-1546588199 posted

    Hi,

    Thanks for the reply

    you can try to reinstall this application.

    By this you means to say install our application or .Net Framework again.

    Monday, June 22, 2020 3:43 AM
  • User288213138 posted

    Hi Hi s.sharma6273,

    Yes, you can have a try.

    Best regards,

    Sam

    Tuesday, June 23, 2020 9:30 AM