AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
StackTrace:
at System.Windows.Media.Animation.Timeline.get_RepeatBehavior()
at System.Windows.Media.Animation.Clock.ComputeEffectiveDuration()
at System.Windows.Media.Animation.Clock.ComputeExpirationTime(Nullable`1& expirationTime)
at System.Windows.Media.Animation.Clock.ComputeLocalStateHelper(Boolean performTickOperations, Boolean seekedAlignedToLastTick)
at System.Windows.Media.Animation.Clock.ComputeLocalState()
at System.Windows.Media.Animation.ClockGroup.ComputeTreeState()
at System.Windows.Media.Animation.TimeManager.Tick()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)