none
Need Help with troubleshooting System.ExecutionEngineException RRS feed

  • Question

  • Hi,

    My application often crashes w/ System.ExecutionEngineException which I see in crash dump. Mainly it happens on Windows Server 2003.

    Most of the time I see the same !clrstack 

    0:007> !clrstack

    OS Thread Id: 0xba4 (7)

    ESP       EIP     

    0586e6c8 7d61d6e4 [HelperMethodFrame_PROTECTOBJ: 0586e6c8] System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, Int32, Boolean, System.Object[] ByRef)

    0586e80c 792795b3 System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(System.RuntimeMethodHandle, System.Object[], System.Object, Int32, Boolean, System.Object[] ByRef)

    0586e830 7927038b System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, Int32, Boolean)

    0586e88c 7927023c System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)

    0586e894 792701f5 System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)

    0586e8a8 792700e1 System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)

    0586e8dc 7926fe5f System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(System.Object[])

    0586e918 7929a728 System.Threading.Thread.CompleteCrossContextCallback(System.Threading.InternalCrossContextDelegate, System.Object[])

    0586eadc 79e71b4c [HelperMethodFrame_PROTECTOBJ: 0586eadc] System.Threading.Thread.InternalCrossContextCallback(System.Runtime.Remoting.Contexts.Context, IntPtr, Int32, System.Threading.InternalCrossContextDelegate, System.Object[])

    0586ebe4 79269134 System.Threading.Thread.InternalCrossContextCallback(System.Runtime.Remoting.Contexts.Context, System.Threading.InternalCrossContextDelegate, System.Object[])

    0586ec00 7926fd14 System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)

    0586ec38 7926f913 System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage(System.Runtime.Remoting.Messaging.IMessage)

    0586ec7c 7926f1ab System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[], System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage, System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage ByRef)

    0586ec98 7926f0bb System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatchCallback(System.Object[])

    0586eccc 7929a728 System.Threading.Thread.CompleteCrossContextCallback(System.Threading.InternalCrossContextDelegate, System.Object[])

    0586eec8 79e71b4c [ContextTransitionFrame: 0586eec8] 

    0586ee90 79e71b4c [HelperMethodFrame_PROTECTOBJ: 0586ee90] System.Threading.Thread.InternalCrossContextCallback(System.Runtime.Remoting.Contexts.Context, IntPtr, Int32, System.Threading.InternalCrossContextDelegate, System.Object[])

    0586ef98 7926efde System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch(Byte[], System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage, System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage ByRef)

    0586efb4 7926ec93 System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)

    0586effc 7926eb8d System.Runtime.Remoting.Proxies.RemotingProxy.CallProcessMessage(System.Runtime.Remoting.Messaging.IMessageSink, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Contexts.ArrayWithSize, System.Threading.Thread, System.Runtime.Remoting.Contexts.Context, Boolean)

    0586f020 7926eabb System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke(System.Runtime.Remoting.Messaging.IMethodCallMessage, Boolean, Int32)

    0586f078 7926e950 System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)

    0586f08c 792c12dd System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)

    0586f32c 79e71e04 ...........

     

    Does someone have experience in how to troubleshoot this kind of crashes?

     

    Thanks

     

    Thursday, November 4, 2010 4:04 AM

Answers

  • Hi,

    What kind of application is this? Windows forms application, WCF, etc? System.ExecutionEngineException is a special exception thrown when the managed runtime has an AV and needs to halt ASAP.

    One of the ways is to get a crash dumps and use SOS.dll to see the callstack and check where its crashing. To start of, make sure you have the latest runtime and see if you get any clue from callstack.

     

    You might want to consider a support incident to check out the types of support available.

    My suggestion is to see about what options to check out first, here is some info for more in depth level into the problems through support.

    There are various support options such as advisory and per issue. Please visit the below link to see the various paid

    support options that are available to better meet your needs.

    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone


    bill boyce
    • Marked as answer by eryang Friday, November 26, 2010 3:40 AM
    Wednesday, November 17, 2010 3:10 PM
    Moderator