AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
StackTrace:
在 System.Windows.Media.Animation.TimeIntervalCollection.ProjectionFoldPoint(TimeIntervalCollection& projection, Nullable`1 activeDuration, Int64 periodInTicks, Boolean isAutoReversed, Boolean includeMaxPoint)
在 System.Windows.Media.Animation.TimeIntervalCollection.ProjectionFold(TimeIntervalCollection& projection, Nullable`1 activeDuration, Int64 periodInTicks, Boolean isAutoReversed, Boolean includeMaxPoint)
在 System.Windows.Media.Animation.TimeIntervalCollection.ProjectOntoPeriodicFunction(TimeIntervalCollection& projection, TimeSpan beginTime, Nullable`1 endTime, Duration fillDuration, Duration period, Double appliedSpeedRatio, Double accelRatio, Double decelRatio, Boolean isAutoReversed)
在 System.Windows.Media.Animation.ClockGroup.ComputeCurrentIntervals(TimeIntervalCollection parentIntervalCollection, TimeSpan beginTime, Nullable`1 endTime, Duration fillDuration, Duration period, Double appliedSpeedRatio, Double accelRatio, Double decelRatio, Boolean isAutoReversed)
在 System.Windows.Media.Animation.Clock.ComputeIntervalsWithParentIntersection(TimeIntervalCollection parentIntervalCollection, TimeIntervalCollection activePeriod, Nullable`1 endOfActivePeriod, Duration postFillDuration)
在 System.Windows.Media.Animation.Clock.ComputeEvents(Nullable`1 expirationTime, TimeIntervalCollection parentIntervalCollection)
在 System.Windows.Media.Animation.Clock.ComputeLocalStateHelper(Boolean performTickOperations, Boolean seekedAlignedToLastTick)
在 System.Windows.Media.Animation.Clock.ComputeLocalState()
在 System.Windows.Media.Animation.ClockGroup.ComputeTreeState()
在 System.Windows.Media.Animation.TimeManager.Tick()
在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
在 System.Windows.Interop.HwndTarget.OnResize()
在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)