When upgrading from 220.127.116.1120 to 18.104.22.168063, an error now occurs.
This does not occur with 22.214.171.12420.
The error seems to occur just before drawing the graph.
The errors that occur are as follows.
Exception: System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is
System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, object) at: RoutedEventArgs.cs
System.Windows.RoutedEventHandlerInfo.InvokeHandler(object, System.Windows.RoutedEventArgs) at: RoutedEventHandlerInfo.cs
System.Windows.EventRoute.InvokeHandlersImpl(object, System.Windows.RoutedEventArgs, bool) at: EventRoute.cs
System.Windows.RoutedEventArgs) at: UIElement.cs
System.Windows.ContextLayoutManager.fireSizeChangedEvents() at: LayoutManager.cs
System.Windows.ContextLayoutManager.UpdateLayout() at: LayoutManager.cs
This does not happen if you reduce the amount of data displayed on the graph.
Even if the following processing was implemented just before the error occurred, it did not improve.
Would you like to teach me how to improve and the changes in the version upgrade?
Hi, good morning
SciChart WPF v126.96.36.199505 was just released. Can you try this version and see if you get the same error?
See what’s new here:
The stack trace you showed is related to resizing the window, the amount of data shouldn’t affect it. It’s possible that this bug fixed in 6.6 was the one you are seeing:
SC-5953 Fixed AccessViolation exception related to VRAM buffer sizes
Try it out, if you still get the problem, we are going to need more info to reproduce it. For example, a code sample that causes the problem which we can analyse.
Thank you for your reply.
The creation tool will be operated with v188.8.131.5204.
Please contact us if you have any serious bugs compared to the latest version.
Please login first to submit.