AccessViolationException in Finalizer when using remote desktop and rendering to a window


AccessViolationException in Finalizer when using remote desktop and...
Author
Message
Stuart Jones
Stuart Jones
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 17, Visits: 338
Hello,

We have some charts that contain a large number of points. Using RenderSurface.Window massively improved performance of those charts.

Since then occasionally we would get an AccessViolationException in the finalizer. Ensuring we call Dispose fixed most of the errors however it can still happen if we start our application using remote desktop and disconnect.

We have had problems in our own codebase with finalizers accessing managed objects, it looks like that might be happening here. 

at Nevron.GraphicsGL.l1IlllII1l.glDeleteTextures(Int32 n, UInt32* textures)
 at Nevron.GraphicsGL.l1Ill1lI1l.l1IlII11lI(l1l1I1lll texture)
 at Nevron.GraphicsGL.l1Ill111ll.Dispose()
 at Nevron.GraphicsGL.l1Ill1l111.Dispose()
 at Nevron.GraphicsGL.l1Illl1I11.Dispose()
 at Nevron.GraphicsCore.l1lI1Ill1.l11l1lIlI1()
 at Nevron.GraphicsCore.l1lI1Ill1.Clear()
 at Nevron.GraphicsCore.l1lI1Ill1.Finalize()

Would it be possible for you to fix this? We are happy with the nevron charting functionality and would pay for an upgrade.

Best regards,
Reply
Stuart Jones
Stuart Jones
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 17, Visits: 338
Hi,

We can reproduce the error in the trial of 20.8.17.12

The graphics card of one of the machines that can reproduce the remote desktop problem is NVIDIA Corporation: Quadro P2000/PCIe/SSE2. The drivers are up to date.

One of our software testers can reproduce the remote desktop error in our application but not using the examples application.

I can reproduce an error with the same stack trace in the sample WPF application by:

Replacing the NChartControl in Mainwindow.xaml with
<ContentControl VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="0" Name="nChartControlContent"/>


and modifying Mainwindow.xaml.cs to overwrite the NChartControl
Nevron.Chart.Wpf.NChartControl nChartControl;
   void ExamplesTreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
{
NExampleTreeNode treeNode = ExamplesTreeView.SelectedItem as NExampleTreeNode;

nChartControl = new Nevron.Chart.Wpf.NChartControl();
nChartControlContent.Content = nChartControl;


Thanks for looking into this
Best regards,
Stuart


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search