如何解决WPF应用程序错误事件:CLR20r3,模块:mscorlib
我在WPF中有一个应用程序该应用程序在客户端计算机中定期关闭,在开发中它永远不会发生。以下是Windows事件查看器中的错误
Fault bucket,type 0
Event Name: CLR20r3
Response: No disponible
Cab Id: 0
Problem signature:
P1: App.exe
P2: 1.0.0.0
P3: d2b32ca9
P4: mscorlib
P5: 4.7.3416.0
P6: 5cabfaa3
P7: 3ae2
P8: 0
P9: System.AccessViolationException
P10:
任何想法,这种错误并非每天都会发生 谢谢
更新 事件日志源.Net运行时的更多信息
Versión de Framework: v4.0.30319
Descripción: el proceso terminó debido a una excepción no controlada.
Información de la excepción: System.AccessViolationException
en System.Collections.Hashtable.GetHash(System.Object)
en System.Collections.Hashtable.InitHash(System.Object,Int32,UInt32 ByRef,UInt32 ByRef)
en System.Collections.Hashtable.ContainsKey(System.Object)
en System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32)
en System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
en System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
en System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
en System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
en System.Windows.ContextLayoutManager.fireAutomationEvents()
en System.Windows.ContextLayoutManager.UpdateLayout()
en System.Windows.ContextLayoutManager.UpdateLayoutCallback(System.Object)
en System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
en System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object)
en System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(System.Object)
en System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,System.Object,Int32)
en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object,System.Delegate,System.Delegate)
en System.Windows.Threading.DispatcherOperation.InvokeImpl()
en MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
en System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,Boolean)
en System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Object)
en MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext,System.Object)
en System.Windows.Threading.DispatcherOperation.Invoke()
en System.Windows.Threading.Dispatcher.ProcessQueue()
en System.Windows.Threading.Dispatcher.WndProcHook(IntPtr,IntPtr,Boolean ByRef)
en MS.Win32.HwndWrapper.WndProc(IntPtr,Boolean ByRef)
en MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
en System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,System.Delegate)
en System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority,System.TimeSpan,Int32)
en MS.Win32.HwndSubclass.SubclassWndProc(IntPtr,IntPtr)
en MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
en System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
en System.Windows.Application.RunDispatcher(System.Object)
en System.Windows.Application.RunInternal(System.Windows.Window)
en MyApp.App.Main()
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。