[Managed to Native Transition] SciChart.Charting3D.dll!SciChart.Charting3D.Interop.SCRTFreeSurfaceSceneEntity.UpdateMeshes(float[] _paXCoords, float[] _paYCoords, float[] _paZCoords, float[] _paDisplacementCoords, uint[] _paCellColors, int _iGridWidth, int _iGridHeight) SciChart.Charting3D.dll!SciChart.Charting3D.RenderableSeries.FreeSurfaceSceneEntity.CreateNativeMeshes(SciChart.Charting3D.Primitives.IRenderPassInfo3D rpi, SciChart.Charting3D.Model.IPointSeries3D pointSeries, SciChart.Charting3D.RenderableSeries.Point3DXyzDisplacementData data) SciChart.Charting3D.dll!SciChart.Charting3D.RenderableSeries.BaseRenderableSeriesSceneEntity3D.UpdateScene(SciChart.Charting3D.Primitives.IRenderPassInfo3D rpi) SciChart.Charting3D.dll!SciChart.Charting3D.Primitives.BaseSceneEntity.Update() SciChart.Charting3D.dll!SciChart.Charting3D.Primitives.BaseSceneEntity.Update(float fDeltaTime) [Native to Managed Transition] [Managed to Native Transition] SciChart.Charting3D.dll!SciChart.Charting3D.Interop.SCRTSceneEntity.Update(float _fDeltaTime) SciChart.Charting3D.dll!SciChart.Charting3D.Primitives.BaseSceneEntity.Update(float fDeltaTime) [Native to Managed Transition] [Managed to Native Transition] SciChart.Charting3D.dll!SciChart.Charting3D.Interop.SCRTCallbacks.OnUpdate(float _fDeltaTime) SciChart.Charting3D.dll!SciChart.Charting3D.Viewport3D.DrawFrameInternal(SciChart.Charting3D.Primitives.ISceneDescriptor sceneDescriptor) SciChart.Charting3D.dll!SciChart.Charting3D.Viewport3D.FillSource(SciChart.Charting3D.Primitives.ISceneDescriptor sceneDescriptor) SciChart.Charting3D.dll!SciChart.Charting3D.SciChart3DRenderer.RenderLoop() SciChart.Charting3D.dll!SciChart.Charting3D.SciChart3DSurface.DoDrawingLoop() SciChart.Charting3D.dll!SciChart.Charting3D.SciChart3DSurface.OnRenderSurfaceDraw.AnonymousMethod__0() PresentationCore.dll!System.Windows.Media.MediaContext.RenderMessageHandlerCore(object resizedCompositionTarget) PresentationCore.dll!System.Windows.Media.MediaContext.RenderMessageHandler(object resizedCompositionTarget) WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) [Native to Managed Transition] [Managed to Native Transition] WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) LM3D_APPLICATION.exe!Lm3dApplication.App.Main() System.AccessViolationException HResult=0x80004003 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source= StackTrace: