none
.Net Application Crash (mscorwks!JIT_Stelem_Ref) ACCESS_VIOLATION RRS feed

  • Question

  • Hello All,

    The .net application crashed in mscorwks!JIT_Stelem_Ref, but I don't have any idea to fix this, do you know this? thank you for your help.

    The event message from event viewer is :
    .NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A097706) (80131506)

    And following is the details from the dump file:


    Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
    Copyright (c) Microsoft Corporation. All rights reserved.


    Loading Dump File [D:\crash_0fa0_2012-11-20_19-25-51-260_1068.dmp]
    User Mini Dump File with Full Memory: Only application data is available

    Symbol search path is: srv*D:\Dump\symcache*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows Server 2003 Version 3790 (Service Pack 2) MP (2 procs) Free x86 compatible
    Product: Server, suite: TerminalServer SingleUserTS
    Machine Name:
    Debug session time: Wed Nov 21 08:25:51.000 2012 (GMT+8)
    System Uptime: 3 days 21:08:24.329
    Process Uptime: 0 days 0:00:32.000
    ................................................................
    ............
    Missing image name, possible paged-out or corrupt data.
    Loading unloaded module list
    .Missing image name, possible paged-out or corrupt data.
    ....
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (1068.764): Wake debugger - code 80000007 (first/second chance not available)
    eax=00000000 ebx=0012c264 ecx=00000000 edx=00000000 esi=0012c264 edi=7ffdf000
    eip=7c82845c esp=0012c218 ebp=0012c2c0 iopl=0         nv up ei pl zr na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    ntdll!KiFastSystemCallRet:
    7c82845c c3              ret
    0:000> .load D:\LONG\Software\Developer Tool\SOSEX\sosex_32\sosex.dll
    This dump has no SOSEX heap index.
    The heap index makes searching for references and roots much faster.
    To create a heap index, run !bhi
    0:000> !analyze -v
    *******************************************************************************
    *                                                                             *
    *                        Exception Analysis                                   *
    *                                                                             *
    *******************************************************************************

    *** WARNING: Unable to verify checksum for PresentationCore.ni.dll
    *** WARNING: Unable to verify checksum for PresentationFramework.ni.dll
    *** WARNING: Unable to verify checksum for WindowsBase.ni.dll
    *** WARNING: Unable to verify checksum for mscorlib.ni.dll
    *** ERROR: Module load completed but symbols could not be loaded for AgentInstallation.exe
    *** ERROR: Module load completed but symbols could not be loaded for xpsp2res.dll
    *** ERROR: Module load completed but symbols could not be loaded for CommonUtility.dll
    *** ERROR: Module load completed but symbols could not be loaded for AgentInstallation.resources.dll
    *** ERROR: Module load completed but symbols could not be loaded for CommonDeploymentGUI.dll
    *** ERROR: Module load completed but symbols could not be loaded for CommonDeploymentGUI.resources.dll
    *** ERROR: Module load completed but symbols could not be loaded for CommonDeploymentUtility.dll
    *** ERROR: Module load completed but symbols could not be loaded for CommonResources.dll
    *** ERROR: Module load completed but symbols could not be loaded for log4net.dll
    *** WARNING: Unable to verify checksum for PresentationFramework.Classic.ni.dll
    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for sysfer.dll -
    *** WARNING: Unable to verify checksum for System.Xml.ni.dll
    *** WARNING: Unable to verify checksum for System.Configuration.ni.dll
    *** WARNING: Unable to verify checksum for System.ni.dll
    CoInitialize failed 80010106
    CoInitialize failed 80010106
    CoInitialize failed 80010106
    *************************************************************************
    ***                                                                   ***
    ***                                                                   ***
    ***    Your debugger is not using the correct symbols                 ***
    ***                                                                   ***
    ***    In order for this command to work properly, your symbol path   ***
    ***    must point to .pdb files that have full type information.      ***
    ***                                                                   ***
    ***    Certain .pdb files (such as the public OS symbols) do not      ***
    ***    contain the required information.  Contact the group that      ***
    ***    provided you with these symbols if you need this command to    ***
    ***    work.                                                          ***
    ***                                                                   ***
    ***    Type referenced: kernel32!pNlsUserInfo                         ***
    ***                                                                   ***
    *************************************************************************
    *************************************************************************
    ***                                                                   ***
    ***                                                                   ***
    ***    Your debugger is not using the correct symbols                 ***
    ***                                                                   ***
    ***    In order for this command to work properly, your symbol path   ***
    ***    must point to .pdb files that have full type information.      ***
    ***                                                                   ***
    ***    Certain .pdb files (such as the public OS symbols) do not      ***
    ***    contain the required information.  Contact the group that      ***
    ***    provided you with these symbols if you need this command to    ***
    ***    work.                                                          ***
    ***                                                                   ***
    ***    Type referenced: kernel32!pNlsUserInfo                         ***
    ***                                                                   ***
    *************************************************************************

    FAULTING_IP:
    mscorwks!JIT_Stelem_Ref+20
    79e7c202 e8896bffff      call    mscorwks!JIT_WriteBarrierEAX (79e72d90)

    EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
    ExceptionAddress: 00000000
       ExceptionCode: 80000007 (Wake debugger)
      ExceptionFlags: 00000000
    NumberParameters: 0

    PROCESS_NAME:  AgentInstallation.exe

    ERROR_CODE: (NTSTATUS) 0x80000007 - {Kernel Debugger Awakened}  the system debugger was awakened by an interrupt.

    EXCEPTION_CODE: (HRESULT) 0x80000007 (2147483655) - Operation aborted

    NTGLOBALFLAG:  0

    APPLICATION_VERIFIER_FLAGS:  0

    MANAGED_STACK:
    (TransitionMU)
    0012D48C 547F7642 PresentationCore_ni!MS.Internal.TextFormatting.FormatSettings.FetchTextRun(Int32, Int32, System.Windows.Media.TextFormatting.TextRun ByRef, Int32 ByRef)+0x112
    0012D500 547F7506 PresentationCore_ni!MS.Internal.TextFormatting.SimpleRun.Create(MS.Internal.TextFormatting.FormatSettings, Int32, Int32, Int32, Int32)+0x36
    0012D530 547F7364 PresentationCore_ni!MS.Internal.TextFormatting.SimpleTextLine.Create(MS.Internal.TextFormatting.FormatSettings, Int32, Int32)+0xf4
    0012D560 547F6E1B PresentationCore_ni!MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(System.Windows.Media.TextFormatting.TextSource, Int32, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache)+0x9b
    0012D5BC 547F6D68 PresentationCore_ni!MS.Internal.TextFormatting.TextFormatterImp.FormatLine(System.Windows.Media.TextFormatting.TextSource, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache)+0x28
    0012D5E4 55C8C55C PresentationFramework_ni!System.Windows.Controls.TextBlock.MeasureOverr
    EXCEPTION_OBJECT: !pe 17010b4
    Exception object: 017010b4
    Exception type: System.ExecutionEngineException
    Message: <none>
    InnerException: <none>
    StackTrace (generated):
    <none>
    StackTraceString: <none>
    HResult: 80131506

    MANAGED_OBJECT_NAME:  System.ExecutionEngineException

    WRITE_ADDRESS:  00a32532

    FOLLOWUP_IP:
    mscorlib_ni+235507
    792f5507 59              pop     ecx

    BUGCHECK_STR:  ACCESS_VIOLATION

    DERIVED_WAIT_CHAIN: 

    Dl Eid Cid     WaitType
    -- --- ------- --------------------------
       0   1068.764 Event                 

    WAIT_CHAIN_COMMAND:  ~0s;k;;

    BLOCKING_THREAD:  00000764

    DEFAULT_BUCKET_ID:  APPLICATION_HANG_WRONG_SYMBOLS

    PRIMARY_PROBLEM_CLASS:  APPLICATION_HANG_WRONG_SYMBOLS

    LAST_CONTROL_TRANSFER:  from 7c827b69 to 7c82845c

    FAULTING_THREAD:  00000000

    STACK_TEXT: 
    0012c214 7c827b69 77e6202c 00000001 0012c264 ntdll!KiFastSystemCallRet
    0012c218 77e6202c 00000001 0012c264 00000001 ntdll!NtWaitForMultipleObjects+0xc
    0012c2c0 77e62fbe 00000001 0012c304 00000000 kernel32!WaitForMultipleObjectsEx+0x11a
    0012c2dc 7a2d93f5 00000001 0012c304 00000000 kernel32!WaitForMultipleObjects+0x18
    0012c324 7a2d9f7c 00000000 7a000c04 00000000 mscorwks!Debugger::EnsureDebuggerAttached+0x9f
    0012c334 7a09727c 001728b0 00172a30 00000000 mscorwks!Debugger::LaunchNativeDebuggerForUser+0xe
    0012c350 7a09629d 001728b0 0012c8c8 00000002 mscorwks!WatsonLastChance+0x121
    0012c80c 7a0964d6 80131506 7a097706 00000000 mscorwks!EEPolicy::LogFatalError+0x3ae
    0012c824 7a097711 80131506 7a097706 00000000 mscorwks!EEPolicy::HandleFatalError+0x4d
    0012c848 79f5f473 0012c8c8 116bd69f 001728b0 mscorwks!CLRVectoredExceptionHandlerPhase3+0xbc
    0012c87c 79f5f315 0012c8c8 116bd653 0012ca00 mscorwks!CLRVectoredExceptionHandlerPhase2+0x20
    0012c8b0 79edc278 0012c8c8 00004000 001728b0 mscorwks!CLRVectoredExceptionHandler+0x10a
    0012c8dc 79edc475 0012c9e4 0012cd28 0012c9c0 mscorwks!CPFH_RealFirstPassHandler+0x607
    0012c900 7c8285c2 0012c9e4 0012cd28 0012ca00 mscorwks!COMPlusFrameHandler+0x15a
    0012c924 7c828593 0012c9e4 0012cd28 0012ca00 ntdll!ExecuteHandler2+0x26
    0012c9cc 7c8283ce 00128000 0012ca00 0012c9e4 ntdll!ExecuteHandler+0x24
    0012c9cc 79e7c202 00128000 0012ca00 0012c9e4 ntdll!KiUserExceptionDispatcher+0xe
    0012cccc 547908d8 01b64a0c 544f030c 544f0310 mscorwks!JIT_Stelem_Ref+0x20
    0012ccfc 79e71b4c 7c8280e0 7c829dd0 0012cd8c PresentationCore_ni!`string'+0x1cd18
    0012cd0c 79e821b1 00000000 00000000 0012cebc mscorwks!CallDescrWorker+0x33
    0012cd8c 79e82cfa 00000000 00000000 0012cebc mscorwks!CallDescrWorkerWithHandler+0xa3
    0012cdac 79e82d3b 00000000 00000000 0012cebc mscorwks!DispatchCallBody+0x1e
    0012ce10 79e82da9 00000000 00000000 0012cebc mscorwks!DispatchCallDebuggerWrapper+0x3d
    0012ce44 79e95aef 00000000 00000000 0012cebc mscorwks!DispatchCallNoEH+0x51
    0012cee8 79e959d2 0012cfa4 116bcd3b 001728b0 mscorwks!MethodTable::RunClassInitEx+0x107
    0012d3d8 79e95d37 116bca9f 01b59a18 0012d500 mscorwks!MethodTable::DoRunClassInitThrowing+0x526
    0012d47c 00da2420 00000439 547f7642 0012d508 mscorwks!JIT_GetSharedNonGCStaticBase_Helper+0xbe
    WARNING: Frame IP not in any known module. Following frames may be wrong.
    0012d4e8 547f7506 0012d504 0012d500 00000000 <Unloaded_sspc.dll>+0xda241f
    0012d51c 547f7364 00027fd8 0001145d 00000000 PresentationCore_ni!`string'+0x83946
    0012d554 547f6e1b 00027fd8 79e813a4 00381efe PresentationCore_ni!`string'+0x837a4
    0012d598 547f6d68 01b59814 00000000 01b59264 PresentationCore_ni!`string'+0x8325b
    0012d6f0 55bf6c80 00000000 40811000 00000000 PresentationCore_ni!`string'+0x831a8
    0012d8e8 547a1b8c 00000000 40886000 00000000 PresentationFramework_ni+0x1d6c80
    0012d988 55c29b0c 00000000 40886000 00000000 PresentationCore_ni!`string'+0x2dfcc
    0012da40 55bf6c80 00000000 40886000 00000000 PresentationFramework_ni+0x209b0c
    0012dc38 547a1b8c 00000000 40886000 00000000 PresentationFramework_ni+0x1d6c80
    0012dcd8 55bf1621 00000000 40886000 00000000 PresentationCore_ni!`string'+0x2dfcc
    0012dda0 55bf6c80 00000000 40890000 00000000 PresentationFramework_ni+0x1d1621
    0012df98 547a1b8c 00000000 40890000 00000000 PresentationFramework_ni+0x1d6c80
    0012e038 55c305a7 00000000 40890000 00000000 PresentationCore_ni!`string'+0x2dfcc
    0012e0b0 55c30412 00000000 40890000 00000000 PresentationFramework_ni+0x2105a7
    0012e110 55bf6f1c 00000000 40890000 00000000 PresentationFramework_ni+0x210412
    0012e308 547a1b8c 00000000 40890000 00000000 PresentationFramework_ni+0x1d6f1c
    0012e3a8 547b44e1 00000000 40890000 00000000 PresentationCore_ni!`string'+0x2dfcc
    0012e578 547b2f0b 01addf9c 00000000 018e2070 PresentationCore_ni!`string'+0x40921
    0012e59c 547b2dee 018df114 0000002d 0012e5b8 PresentationCore_ni!`string'+0x3f34b
    0012e5ac 55c26ff8 0270325c 0012e73c 55c8f119 PresentationCore_ni!`string'+0x3f22e
    0012e5b8 55c8f119 00000000 7ff00000 00000219 PresentationFramework_ni+0x206ff8
    0012e73c 55c26618 00000000 40845000 00000000 PresentationFramework_ni+0x26f119
    0012e7d8 55c26409 018df114 0012e80c 55c26311 PresentationFramework_ni+0x206618
    0012e7e4 55c26311 00000000 00000000 00000000 PresentationFramework_ni+0x206409
    0012e80c 55c8e1c8 01acc4a0 0012e930 04572a51 PresentationFramework_ni+0x206311
    0012e818 04572a51 01a85ecc 01a85780 00000000 PresentationFramework_ni+0x26e1c8
    0012e9e0 55bed4a9 0172ccfc 00000000 0012ea0c <Unloaded_sspc.dll>+0x4572a50
    0012e9f0 5784617a 00000000 00000001 00000001 PresentationFramework_ni+0x1cd4a9
    0012ea0c 5784606a 00000001 00000000 00000000 WindowsBase_ni+0x9617a
    0012ea4c 57844254 00000000 00000001 00000000 WindowsBase_ni+0x9606a
    0012ea70 578490ad 00000000 00000001 00000000 WindowsBase_ni+0x94254
    0012eaa8 57849038 01a16968 792f5611 00000000 WindowsBase_ni+0x990ad
    0012eac0 79e71b4c 0012ea7c 0012eaec 0012eb50 WindowsBase_ni+0x99038
    0012ead0 79e821b1 0012eba0 00000000 0012eb70 mscorwks!CallDescrWorker+0x33
    0012eb50 79e96501 0012eba0 00000000 0012eb70 mscorwks!CallDescrWorkerWithHandler+0xa3
    0012ec88 79e96534 79241ff0 0012edbc 0012ecdc mscorwks!MethodDesc::CallDescr+0x19c
    0012eca4 79e96552 79241ff0 0012edbc 0012ecdc mscorwks!MethodDesc::CallTargetWorker+0x1f
    0012ecbc 79f8a3e1 0012ecdc 116bf06b 001728b0 mscorwks!MethodDescCallSite::CallWithValueTypes+0x1a
    0012ee88 79f8a536 0012ef18 116bf1db 01a169b0 mscorwks!ExecuteCodeWithGuaranteedCleanupHelper+0x9f
    0012ef38 792f5507 0012eedc 017347f0 01734624 mscorwks!ReflectionInvocation::ExecuteCodeWithGuaranteedCleanup+0x10f
    0012ef54 792e0175 0172cd1c 00000000 0172cd1c mscorlib_ni+0x235507
    0012ef6c 57848f73 0172cd1c 00000000 00000000 mscorlib_ni+0x220175
    0012efa8 578438f7 7a31c110 ffffffff 79e9b2e7 WindowsBase_ni+0x98f73
    0012f084 57843be3 00000000 00000000 0172c3e4 WindowsBase_ni+0x938f7
    0012f0c0 5784635e 01734490 00000000 00000000 WindowsBase_ni+0x93be3
    0012f10c 5784628a 01734490 00000000 00000000 WindowsBase_ni+0x9635e
    0012f12c 5784617a 01734478 00000001 00000001 WindowsBase_ni+0x9628a
    0012f148 5784606a 00000001 0172ca94 00000000 WindowsBase_ni+0x9617a
    0012f188 57844254 00000000 00000001 01734478 WindowsBase_ni+0x9606a
    0012f1ac 578433b1 00000000 00000001 01734478 WindowsBase_ni+0x94254
    0012f1e8 57843300 00000001 0172ca94 0172ca74 WindowsBase_ni+0x933b1
    0012f218 578459cc 01734478 0172ca74 003822a2 WindowsBase_ni+0x93300
    0012f268 7739b6e3 000200d0 0000c0f0 00000000 WindowsBase_ni+0x959cc
    0012f294 7739b874 003822d2 000200d0 0000c0f0 user32!InternalCallWinProc+0x28
    0012f30c 7739ba92 00000000 003822d2 000200d0 user32!UserCallWinProcCheckWow+0x151
    0012f374 7739bad0 0012f3d4 00000000 0012f3a0 user32!DispatchMessageWorker+0x327
    0012f384 03b418ba 0012f3d4 0282a331 00000000 user32!DispatchMessageW+0xf
    0012f3a0 578439f7 0172c3e4 0012f3d4 00db2010 <Unloaded_sspc.dll>+0x3b418b9
    0012f410 578430c9 01a1646c 0012f428 5784306c WindowsBase_ni+0x939f7
    0012f41c 5784306c 01730f24 0012f434 55bed46e WindowsBase_ni+0x930c9
    0012f428 55bed46e 017295e4 0012f458 55bec76f WindowsBase_ni+0x9306c
    0012f434 55bec76f 00000001 79e7cb7d 792e48b8 PresentationFramework_ni+0x1cd46e
    0012f458 55bd3aa6 01730f24 00000000 0012f474 PresentationFramework_ni+0x1cc76f
    0012f468 55bd3a69 01730f24 0012f480 0131c627 PresentationFramework_ni+0x1b3aa6
    0012f480 79e71b4c 0012f4cc 00000000 0012f510 PresentationFramework_ni+0x1b3a69
    0012f490 79e821b1 0012f560 00000000 0012f530 mscorwks!CallDescrWorker+0x33
    0012f510 79e96501 0012f560 00000000 0012f530 mscorwks!CallDescrWorkerWithHandler+0xa3
    0012f648 79e96534 00dbc080 0012f714 0012f6e0 mscorwks!MethodDesc::CallDescr+0x19c
    0012f664 79e96552 00dbc080 0012f714 0012f6e0 mscorwks!MethodDesc::CallTargetWorker+0x1f
    0012f67c 79eefa45 0012f6e0 116be903 00000000 mscorwks!MethodDescCallSite::CallWithValueTypes+0x1a
    0012f7e0 79eef965 00db7040 00000001 0012f81c mscorwks!ClassLoader::RunMain+0x223
    0012fa48 79eefeb5 00000000 116be1fb 00000001 mscorwks!Assembly::ExecuteMainMethod+0xa6
    0012ff18 79ef009f 00400000 00000000 116be18b mscorwks!SystemDomain::ExecuteMainMethod+0x456
    0012ff68 79eeffcf 00400000 116be153 00000000 mscorwks!ExecuteEXE+0x59
    0012ffb0 79007c24 00000000 79e70000 0012fff0 mscorwks!_CorExeMain+0x15c
    0012ffc0 77e6f23b 00000000 00000000 7ffdf000 mscoree!_CorExeMain+0x2c
    0012fff0 00000000 00635ede 00000000 00905a4d kernel32!BaseProcessStart+0x23


    SYMBOL_STACK_INDEX:  43

    SYMBOL_NAME:  mscorlib_ni+235507

    FOLLOWUP_NAME:  MachineOwner

    MODULE_NAME: mscorlib_ni

    IMAGE_NAME:  mscorlib.ni.dll

    DEBUG_FLR_IMAGE_TIMESTAMP:  4889dc80

    STACK_COMMAND:  ~0s ; kb

    BUCKET_ID:  ACCESS_VIOLATION_mscorlib_ni+235507

    FAILURE_BUCKET_ID:  APPLICATION_HANG_WRONG_SYMBOLS_80000007_mscorlib.ni.dll!Unknown

    WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/AgentInstallation_exe/6_1_1_4003/50785fe3/unknown/0_0_0_0/bbbbbbb4/80000007/00000000.htm?Retriage=1

    Followup: MachineOwner
    ---------

     

    Wednesday, November 28, 2012 5:38 AM

All replies

  • I did a search for similar problems and it seems there isn't a common solution.  You need to step through the code to find the exact instruction that is cuasing the problem.  I would also recommend adding exception handlers to your code (try/catch) to help isolate where the error is occuring.  without the exception handlers VS uses a default exception handler that doesn't help determine which instruction is causing the error.

    jdweng

    Wednesday, November 28, 2012 11:51 AM
  • Hello Joel,

    Thank you for your help, we will try that, but I don't think we can find the root cause but it crashed in different page.

    BTW: the SEP is installed in the environment, I'm not sure it can affect the .net Application.

    Thanks

    Long

    Thursday, November 29, 2012 5:18 AM
  • Hi Long,

    Welcome to the MSDN Forum.

    Would you like to tell us the result when you finish it?

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, November 29, 2012 8:48 AM
    Moderator