Pre loader

Unhandled exception of type 'System.AccessViolationException' occurred in SciChart.Data.dll

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hi,
I’m working on a feature for wpf application where there will be multiple tab controls and each tab control can be able to plot the graphs . So I have a usercontrol with scichartsurface which is bound to dataseries of type LineRenderableSeriesViewModel. User should be able to close all the tabs one by one. But when we are closing the last tab the application is getting crashed with no logs being caught at wpf level unhandled exception. But getting the below message while debugging, for –
Exception {“Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”} System.AccessViolationException

The usage of the scichart is as follows:

this scichartsurface is being placed inside an usercontrol and the user control is used as template to document page for docking manager control

 

 

 

 

Package used for scichart:
SciChart3D-8.5.0.28148
SciChart.DirectX-8.5.0.28148

Any guidance on the correct disposal/teardown pattern for SciChart in a multi-tab scenario, or known workarounds for last-surface shutdown, would be greatly appreciated.

Version
8.5.0.28148
  • You must to post comments
0
0

Hi Jitendra,

Thank you for contacting us.
Unfortunately, the mentioned code samples are missing from your message.

To display the code correctly, we recommend marking it as a ‘Code Sample’ with the corresponding button on the toolbar:
Forums code sample

Regarding the reported AccessViolationException, it can be caused by various issues.
We would appreciate if you could prepare a small example project reproducing the reported behavior and share it with us for further investigation.

Thanks in advance,
Lex S., MSEE
SciChart Technical Support Engineer

Images
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.