[vtkusers] Application crashes with VTK 5.6 but works with VTK 5.2 (VC 2008, static linking)
Karthik Krishnan
karthik.krishnan at kitware.com
Thu May 27 12:09:03 EDT 2010
Yes.. Please see
http://www.vtk.org/pipermail/vtkusers/2007-April/090792.html
On Thu, May 27, 2010 at 3:04 PM, Oliver Kania
<kania.oliver at googlemail.com>wrote:
> Hello,
> 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()
> {
> this->Context->MakeCurrent();
> 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,
> Oliver
>
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100527/945bc75c/attachment.htm>
More information about the vtkusers
mailing list