[vtkusers] vtkOpenGLRenderWindow::GetFrontBuffer throw system access violation when using vtkCaptionWidget

David Cole DLRdave at aol.com
Sun Sep 25 16:50:24 EDT 2016


Try removing all your caption widgets from your list as the window is closing.

David


> On Sep 25, 2016, at 12:25 PM, Liu_tj <tjlp at netease.com> wrote:
> 
> Hi,
> 
> I am using Activiz .NET 7.1. In my application, I use a C# List to store the vtkCaptionWidget objects. When the application is closed, then system access violation exception is thrown. In Visual Stuido debugger, no call stack can be tracked. Then I used windbg to debug the application. Windbg show below message:
> 
> ** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Personal\Code\Dev\Chaos3D.UI.Application.FE\bin\Debug\vtkInteractionWidgets-7.1.dll - 
> vtkRenderingOpenGL_7_1!vtkOpenGLRenderWindow::GetFrontBuffer+0x1b51ce:
> 00007ff9`20d1b50c 488b00          mov     rax,qword ptr [rax] ds:00000000`00000000=????????????????
> 
> The call stack is:
> vtkRenderingOpenGL_7_1!vtkOpenGLRenderWindow::GetFrontBuffer+0x1b51ce
> vtkInteractionWidgets_7_1!vtkBalloonWidget::vtkBalloonWidget+0x98b7d
> vtkRenderingCore_7_1!vtkTransformInterpolator::InterpolateTransform+0x150ba9
> vtkRenderingCore_7_1!vtkTransformInterpolator::InterpolateTransform+0x150f73
> vtkCommonCore_7_1!vtkAnimationCue::Finalize+0x26ed1f
> vtkCommonCore_7_1!vtkAnimationCue::Finalize+0x44c356
> vtkCommonCore_7_1!vtkAnimationCue::Finalize+0x44ca96
> vtkCommonCore_7_1!vtkAnimationCue::Finalize+0x44d3cb
> vtkCommonCore_7_1!vtkAnimationCue::Finalize+0x44a082
> vtkRenderingCore_7_1!vtkTransformInterpolator::InterpolateTransform+0x20c52b
> vtkRenderingCore_7_1!vtkTransformInterpolator::InterpolateTransform+0x2069c2
> Kitware_VTK_vtkRenderingCore_Unmanaged!vtkColorTransferFunction_GetIndexedColor_35+0x4c844
> 
> What might be the problem? What I can guess is it is about some unmanaged VTK resource release issue.
> 
> Thanks.
> Liu Peng
> 
> 
>  
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160925/18baf941/attachment.html>


More information about the vtkusers mailing list