Access Violation Exception in BlobToAttributeSet instruction in clr.dll - by dmarklein

Status : 

 


4
0
Sign in
to vote
ID 3111237 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 11/10/2016 6:45:11 AM
Access Restriction Public

Description

We have a couple of web applications that we develop that become completely bricked if one updates his/her development machine to Windows 10 Anniversary Update (1607).

I have stepped through one of the applications in the debugger in Visual Studio 2015; it looks like the site makes it all the way through the Application_Start method, and then immediately crashes after that method returns. We have another web application that does not exhibit these symptoms, but we have not yet nailed down what is different about the app that still works.

I have captured and analyzed one of these crashes using DebugDiag -- I will attach a crash report to this report.

You can see more details here: https://forums.asp.net/t/2104259.aspx?FatalExecutionEngineError+after+Windows+10+Anniversary+Update.

I am probably missing some key info, so please ask if you need more. Thanks!
Sign in to post a comment.
Posted by AlekJ on 8/4/2017 at 2:41 AM
I have the same problem. In my case it looks like it is caused by the same library (AxCMS) that Groman123 has in his call stack.
For me the simplest way to reproduce this error is to create a new web app, reference one of the AxCMS dlls and install Microsoft.Owin.Host.SystemWeb nuGet package.
Posted by Groman123 on 1/19/2017 at 4:25 AM
I'm observing the same issue in my application.
By using DebugDiag I was able to get a stack trace for this issue.

Full Call Stack
clr!BlobToAttributeSet+45
clr! ?? ::FNODOBFM::`string'+6e109
[[HelperMethodFrame_2OBJ] (System.Reflection.PseudoCustomAttribute._GetSecurityAttributes)] System.Reflection.PseudoCustomAttribute._GetSecurityAttributes(System.Reflection.RuntimeModule, Int32, Boolean, System.Object[]ByRef)
mscorlib_ni!System.Reflection.PseudoCustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly, System.RuntimeType, Boolean, Int32 ByRef)+dc141b
mscorlib_ni!System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly, System.RuntimeType)+35
System_Web_Extensions_ni!System.Web.UI.AssemblyCache.SafeGetAjaxFrameworkAssemblyAttribute(System.Reflection.ICustomAttributeProvider)+20
System_Web_Extensions_ni!System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(System.Reflection.Assembly)+55
System_Web_Extensions_ni!System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly()+1d8
System_Web_Extensions_ni!System.Web.UI.ScriptManager..ctor()+22
Axinom.AECMS.Backend.BaseHtmlPage.LoadControls()+18a
Axinom.AECMS.Backend.BaseHtmlPage.InitializeComponent()+7a
AxCMS.AxCMSweb.admin.default_axcms.OnInit(System.EventArgs)+27
System_Web_ni!System.Web.UI.Control.InitRecursive(System.Web.UI.Control)+a6
System_Web_ni!System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)+1d0
System_Web_ni!System.Web.UI.Page.ProcessRequest(Boolean, Boolean)+9d
System_Web_ni!System.Web.UI.Page.ProcessRequest()+4c
System_Web_ni!System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)+46
ASP.admin_default_axcms_aspx.ProcessRequest(System.Web.HttpContext)+34
System_Web_ni!System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+1fc
System_Web_ni!System.Web.HttpApplication.ExecuteStep(IExecutionStep, Boolean ByRef)+5c
System_Web_ni!System.Web.HttpApplication+PipelineStepManager.ResumeSteps(System.Exception)+5dc
System_Web_ni!System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, System.AsyncCallback)+79
System_Web_ni!System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)+e0
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)+407
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)+14
System_Web_ni!DomainNeutralILStubClass.IL_STUB_ReversePInvoke(Int64, Int64, Int64, Int32)+5b
clr!UMThunkStub+6e
webengine4!W3_MGD_HANDLER::ProcessNotification+8e
webengine4!W3_MGD_HANDLER::DoWork+3a5
webengine4!RequestDoWork+3fc
webengine4!CMgdEngHttpModule::OnExecuteRequestHandler+21
iiscore!NOTIFICATION_CONTEXT::RequestDoWork+b9
iiscore!NOTIFICATION_CONTEXT::CallModulesInternal+19c
iiscore!NOTIFICATION_CONTEXT::CallModules+36
iiscore!NOTIFICATION_MAIN::DoWork+3d8
iiscore!W3_CONTEXT_BASE::IndicateCompletion+d6
webengine4!W3_MGD_HANDLER::IndicateCompletion+5d
webengine4!MgdIndicateCompletion+22
System_Web_ni!DomainNeutralILStubClass.IL_STUB_PInvoke(IntPtr, System.Web.RequestNotificationStatus ByRef)+7e
[[InlinedCallFrame] (System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion)] System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, System.Web.RequestNotificationStatusByRef)
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)+5e6
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)+14
System_Web_ni!DomainNeutralILStubClass.IL_STUB_ReversePInvoke(Int64, Int64, Int64, Int32)+5b
clr!UM2MThunk_WrapperHelper+43
clr!UM2MThunk_Wrapper+60
clr!Thread::DoADCallBack+13d
[[ContextTransitionFrame]]
clr!UM2MDoADCallBack+b3
clr!UMThunkStub+26d
webengine4!W3_MGD_HANDLER::ProcessNotification+8e
webengine4!ProcessNotificationCallback+42
clr!UnManagedPerAppDomainTPCount::DispatchWorkItem+1b6
clr!ThreadpoolMgr::ExecuteWorkRequest+64
clr!ThreadpoolMgr::WorkerThreadStart+f5
clr!Thread::intermediateThreadProc+86
kernel32!BaseThreadInitThunk+14
ntdll!RtlUserThreadStart+21

Posted by Microsoft on 11/10/2016 at 9:08 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted.

Microsoft Visual Studio Connect Support Team