View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012767VTK(No Category)public2011-12-05 09:132016-08-12 09:55
ReporterLuke Dodd 
Assigned ToSebastien Jourdain 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version 
Summary0012767: MakeCurrent() error with vtkPanel using the Java wrappers under windows.
DescriptionSomtimes, 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.
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Filespng file icon stacktrace2.png [^] (397,029 bytes) 2011-12-05 09:13

 Relationships

  Notes
(0031153)
Dave DeMarle (administrator)
2013-07-22 12:44

feel free to reopen if you find this is not working in 6.0.0
(0037257)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 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
2013-07-22 12:44 Dave DeMarle Note Added: 0031153
2013-07-22 12:44 Dave DeMarle Status backlog => expired
2013-07-22 12:44 Dave DeMarle Resolution open => fixed
2013-07-22 12:44 Dave DeMarle Assigned To => Dave DeMarle
2013-08-08 12:41 Sebastien Jourdain Assigned To Dave DeMarle => Sebastien Jourdain
2016-08-12 09:55 Kitware Robot Note Added: 0037257
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution fixed => moved


Copyright © 2000 - 2018 MantisBT Team