[vtk-developers] [VTK 0012767]: MakeCurrent() error with vtkPanel using the Java wrappers under windows.
Mantis Bug Tracker
mantis at public.kitware.com
Mon Dec 5 09:13:16 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=12767
======================================================================
Reported By: Luke Dodd
Assigned To:
======================================================================
Project: VTK
Issue ID: 12767
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: backlog
Project: TBD
Type: crash
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2011-12-05 09:13 EST
Last Modified: 2011-12-05 09:13 EST
======================================================================
Summary: MakeCurrent() error with vtkPanel using the Java
wrappers under windows.
Description:
Somtimes, when disposing a vtkPanel an error occurs in
vtkWin32OpenGLRenderWindow::MakeCurrent().
(Typically a vtkOutputWindow pops up, and the application crashes out)
Code that reliable reproduces the error is here:
https://github.com/lukedodd/lwjgl-vtkcanvas/blob/lwjgl-vtkcanvas/lwjglvtkcanvas/VTKMakeCurrentBugReproduce.java
In the context of a larger project I've had this error happen fairly
non-deterministically. I've had someone else report that the test case crashes
for them too.
This error happens under fairly similar circumstances to:
http://www.vtk.org/Bug/view.php?id=12756
But the panel must have it's Delete method called prior to disposing, which
judging from the source of vtkPanel is the only way to ensure memory is cleaned
up.
As with bug 0012756 my alternative vtkPanel class which is based on LWJGL fixes
the issue.
https://github.com/lukedodd/lwjgl-vtkcanvas/tree/lwjgl-vtkcanvas/lwjglvtkcanvas
I've attached a stack trace of the MakeCurrent error.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-12-05 09:13 Luke Dodd New Issue
2011-12-05 09:13 Luke Dodd File Added: stacktrace2.png
======================================================================
More information about the vtk-developers
mailing list