Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/319.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 共享内存密钥溢出 我使用第三方库,使用C语言的DLL访问资源,然后使用内存映射到C++运行时。第三方是SkypeKit,它已不再处于开发阶段_C# - Fatal编程技术网

C# 共享内存密钥溢出 我使用第三方库,使用C语言的DLL访问资源,然后使用内存映射到C++运行时。第三方是SkypeKit,它已不再处于开发阶段

C# 共享内存密钥溢出 我使用第三方库,使用C语言的DLL访问资源,然后使用内存映射到C++运行时。第三方是SkypeKit,它已不再处于开发阶段,c#,C#,突然,我收到了一个异常(应用程序运行了几天)“共享内存密钥溢出”。堆栈跟踪不提供我的任何例程,因此我可以在发生的地方捕获并动态修复它,而我目前正在将它作为一种最终方法隐藏在应用程序代码中,以捕获异常并优雅地恢复应用程序 当这个内存问题是在我的代码之外引起的时,有没有办法处理它,或者有没有办法对它进行更多的分析以找出它发生的原因? 干杯 堆栈跟踪 2014年6月12日-6:47:54下午:调试:堆栈跟踪系统。异常:共享 内存键溢出。内存不希望被共享。在 SkypeKit.SharedMemoryC

突然,我收到了一个异常(应用程序运行了几天)
“共享内存密钥溢出”
。堆栈跟踪不提供我的任何例程,因此我可以在发生的地方捕获并动态修复它,而我目前正在将它作为一种最终方法隐藏在应用程序代码中,以捕获异常并优雅地恢复应用程序

当这个内存问题是在我的代码之外引起的时,有没有办法处理它,或者有没有办法对它进行更多的分析以找出它发生的原因?

干杯

堆栈跟踪

2014年6月12日-6:47:54下午:调试:堆栈跟踪系统。异常:共享 内存键溢出。内存不希望被共享。在 SkypeKit.SharedMemoryChannel.CreateMapping(UInt32大小)位于 SkypeKit.SktVideoRenderer.Start()上的SkypeKit.FrameTransport..ctor() 在SkypeKit.SktVideoRenderer.TimerTick(对象发送方,事件参数e)
在System.Windows.Threading.Dispatchermer.FireTick(未使用的对象)
位于System.Windows.Threading.ExceptionWrapper.InternalRealCall(委托 回调,对象args,Int32 numArgs)位于 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象 源,委托方法,对象参数,Int32 numArgs,委托 捕手)在 System.Windows.Threading.Dispatcher.WrappedInvoke(委托回调, 对象args、Int32 numArgs、委托catchHandler)位于 System.Windows.Threading.DispatcherOperation.InvokeImpl()位于 位于的System.Threading.ExecutionContext.runTryCode(对象用户数据) System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode 代码,清除代码backoutCode,对象userData)位于 System.Threading.ExecutionContext.Run(ExecutionContext executionContext、ContextCallback回调、对象状态、布尔值 ignoreSyncCtx)在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext、ContextCallback回调、对象状态)位于 System.Windows.Threading.DispatcherOperation.Invoke()位于 位于的System.Windows.Threading.Dispatcher.ProcessQueue() System.Windows.Threading.Dispatcher.WndProcHook(IntPtr-hwnd,Int32 msg、IntPtr wParam、IntPtr lParam、Boolean和handled)位于 MS.Win32.hwndwapper.WndProc(IntPtr-hwnd、Int32-msg、IntPtr-wParam、, 在 位于的MS.Win32.HwndSubclass.DispatcherCallbackOperation(对象o) System.Windows.Threading.ExceptionWrapper.InternalRealCall(委托 回调,对象args,Int32 numArgs)位于 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象 源,委托方法,对象参数,Int32 numArgs,委托 捕手)在 System.Windows.Threading.Dispatcher.WrappedInvoke(委托回调, 对象args、Int32 numArgs、委托catchHandler)位于 System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority 优先级、TimeSpan超时、委托方法、对象参数、Int32 在MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd,Int32 msg、IntPtr wParam、IntPtr lParam)位于 MS.Win32.unsafentivemethods.DispatchMessage(MSG&MSG)位于 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame 位于System.Windows.Window.ShowHelper(对象布尔框)的 System.Windows.Window.ShowDialog()位于 A.c8b9966635edfd27b3cf3481492785b16.配置器单击(对象发送器, 路线(东)在 System.Windows.EventRoute.InvokeHandlerSimp(对象源、, RoutedEventArgs参数,布尔值重新分级)位于 System.Windows.UIElement.RaiseEventImpl(DependencyObject发送方, 在System.Windows.Controls.Button.OnClick()中的RoutedEventArgs参数 在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在System.Windows.RoutedEventArgs.InvokeHandler(委托处理程序, 对象(目标)在 System.Windows.EventRoute.InvokeHandlerSimp(对象源、, RoutedEventArgs参数,布尔值重新分级)位于 System.Windows.UIElement.ReRaiseEventAs(DependencyObject发送方, RoutedEventArgs,RoutedEvent newEvent)位于 System.Windows.RoutedEventArgs.InvokeHandler(委托处理程序,对象 在System.Windows.EventRoute.InvokeHandlerSimp(对象 源,RoutedEventArgs参数,布尔值重新分级)位于 System.Windows.UIElement.RaiseEventImpl(DependencyObject发送方, RoutedEventArgs args)位于 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs参数)位于 System.Windows.Input.InputManager.ProcessStaginArea()位于 System.Windows.Input.InputProviderSite.ReportInput(InputReport) 输入报告)在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode模式、Int32时间戳、RawMouseActions操作、Int32 x、, Int32 y,Int32车轮)在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd、WindowMessage消息、IntPtr wParam、IntPtr lParam、布尔值& 处理)在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg、IntPtr wParam、IntPtr lParam、Boolean和handled)位于 MS.Win32.hwndwapper.WndProc(IntPtr-hwnd、Int32-msg、IntPtr-wParam、, 在 位于的MS.Win32.HwndSubclass.DispatcherCallbackOperation(对象o) System.Windows.Threading.ExceptionWrapper.InternalRealCall(委托 回调,对象args,Int32 numArgs)位于 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象 源,委托方法,对象参数,Int32 numArgs,委托 捕手)在 System.Windows.Threading.Dispatcher.WrappedInvoke(委托回调, 对象args、Int32 numArgs、委托catchHandler)位于 System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority 优先级、TimeSpan超时、委托方法、对象参数、Int32 在MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd,Int32 msg,Int