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

maogui.hu maogui.hu at gmail.com
Sun Sep 25 23:33:00 EDT 2016


Hi Liu Peng, 
    I'm just wondering  did you build the Activiz.NET 7.1 yourself? Now I'm trying to compile Activiz.NET 7.1, however, it failed even at the very CMake configure step:

CMake Error at C:/Program Files (x86)/VTK/lib/cmake/vtk-7.1/vtkModuleAPI.cmake:90 (message):
No such module: "vtkChartsCore"
Call Stack (most recent call first):
CMakeLists.txt:485 (vtk_module_headers_load)

Could you please give me some advice? 
Thanks very much!
 


Maogui Hu, Ph.D.
State Key Laboratory of Resources and Environmental Information System
Institute of Geographic Sciences and Natural Resources Research, CAS
 
From: Liu_tj
Date: 2016-09-26 00:25
To: vtkusers
Subject: [vtkusers] vtkOpenGLRenderWindow::GetFrontBuffer throw system access violation when using vtkCaptionWidget
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


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160926/c1977c48/attachment.html>


More information about the vtkusers mailing list