[vtkusers] Application crashes with VTK 5.6, loading openGL 1.5 does not help
kania.oliver at googlemail.com
Fri May 28 00:38:24 EDT 2010
I guess you assume I did not read the posts below. However, I did.
Explicitly loading OpenGL 1.5 does not help in my case.
However, I was able to further narrow down the problem :
The crash happens during RenderOverlay(). If the scene has
no props that are rendered as overlay, everything works.
If it does, it crashes with GenBuffers == NULL.
2010/5/27 Karthik Krishnan <karthik.krishnan at kitware.com>
> Yes.. Please see
> On Thu, May 27, 2010 at 3:04 PM, Oliver Kania <kania.oliver at googlemail.com
> > wrote:
>> my Windows Application crashes when calling
>> vtkRenderWindowInteractor::Render() the first time during initialization.
>> This happens only with the official VTK 5.6 version but not with the older
>> VTK 5.2.
>> According to the debugger, the procedure GenBuffers has address 0, and
>> thats why the app crashes.
>> Here is the VTK code of the method where the crash happens : (bottom of
>> stack trace)
>> void vtkPixelBufferObject::CreateBuffer()
>> if (!this->Handle)
>> GLuint ioBuf;
>> vtkgl::GenBuffers(1, &ioBuf); ///// crash -- GenBuffers is 0 !
>> vtkGraphicErrorMacro(this->Context,"after GenBuffers");
>> this->Handle = ioBuf;
>> Any help would be greatly appreciated.
>> Best Regards,
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at
>> Please keep messages on-topic and check the VTK FAQ at:
>> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers