MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012756 | VTK | (No Category) | public | 2011-12-01 11:10 | 2016-07-06 14:45 |
Reporter | Luke Dodd | ||||
Assigned To | Sebastien Jourdain | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | TBD | ||||
Type | crash | ||||
Summary | 0012756: xcb error with vtkPanel/Canvas on linux | ||||
Description | When a vtkPanel is disposed of often an error like the following is given: [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. java: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. It's fairly non deterministic, but this code seems to reproduce around 50% of the time: https://github.com/lukedodd/lwjgl-vtkcanvas/blob/lwjgl-vtkcanvas/lwjglvtkcanvas/VTKXCBBugReproduce.java [^] I've seen this issue occur on many different versions of 64 bit Ubuntu, it was present in vtk 5.6, 5.8 and recent git checkouts. As way around this I created a vtk canvas class that uses LWJGL (a java opengl wrapper) to set up the context and draw to an awt component, and then uses a tweaked vtkGenericOpenGLRenderWindow to have vtk draw to this context. This fixed the issue in my actual program, for the test case, and for someone else. See this thread for details: http://vtk.1045678.n5.nabble.com/Crashes-in-Java-wrapped-vtk-on-linux-because-of-xcb-problems-td5023093.html [^] And this github: https://github.com/lukedodd/lwjgl-vtkcanvas [^] Especially the following directory: https://github.com/lukedodd/lwjgl-vtkcanvas/tree/lwjgl-vtkcanvas/lwjglvtkcanvas [^] (I don't expect any of the code on the git hub to be put into vtk in it's current form, but hopefully it's hepful in pinning down exactly what's going on) | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-12-01 11:10 | Luke Dodd | New Issue | |||
2011-12-01 11:34 | Luke Dodd | Note Added: 0027750 | |||
2012-03-02 15:21 | Jerome Robert | Note Added: 0028336 | |||
2012-06-15 02:29 | Jerome Robert | Note Added: 0028699 | |||
2014-10-02 09:59 | Berk Geveci | Assigned To | => Sebastien Jourdain | ||
2016-07-06 14:45 | Sebastien Jourdain | Note Added: 0036220 | |||
2016-07-06 14:45 | Sebastien Jourdain | Status | backlog => closed | ||
2016-07-06 14:45 | Sebastien Jourdain | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|