[vtk-developers] Qt Events example crashes with VTK 6.3 OpenGL2

Patricio Palma C. patriciop at gmail.com
Tue May 17 15:51:39 EDT 2016


Hello
    I'm using the Events example provided in VTK sources (Examples/GUI/Qt/)
using VTK 6.3 with OpenGL2 and Qt 5.6 by using QVTKWidget. However the
resulting application is unstable and crashes most of the times either in
X11lib or in MesaLib. This is the GDB backtrace

gdb) bt
#0  0x00002aaab32f8d4e in XGetWindowAttributes () from
/usr/lib64/libX11.so.6
#1  0x00002aaaaee2ee94 in XMesaCreateWindowBuffer (v=0x7c20c0, w=69206033)
at src/gallium/state_trackers/glx/xlib/xm_api.c:996
#2  0x00002aaaaee32ee4 in glXMakeContextCurrent (dpy=0x7b6ec0,
draw=69206033, read=69206033, ctx=0x69b720) at
src/gallium/state_trackers/glx/xlib/glx_api.c:1196
#3  0x00002aaaad7555cb in vtkXOpenGLRenderWindow::MakeCurrent
(this=0x6e0170) at
/remote/cl01home/papalma/MyPRJ/vtk-src.63/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:1283

gdb) bt
#0  util_format_get_component_bits (component=0,
colorspace=UTIL_FORMAT_COLORSPACE_RGB, format=7012467) at
src/gallium/auxiliary/util/u_format.h:870
#1  st_visual_to_context_mode (visual=visual at entry=0x7fffffffb050,
mode=mode at entry=0x7fffffffaf30) at src/mesa/state_tracker/st_manager.c:358
#2  0x00002aaaaee56955 in st_api_create_context (stapi=<optimized out>,
smapi=0x713c60, attribs=0x7fffffffb040, error=0x7fffffffb03c,
shared_stctxi=0x0) at src/mesa/state_tracker/st_manager.c:667
#3  0x00002aaaaee2edb4 in XMesaCreateContext (v=0x70a680, share_list=0x0,
major


Anybody has any idea on how to solve this issue.

Regards
-- 
Patricio Palma Contreras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160517/c4ba567d/attachment-0001.html>


More information about the vtk-developers mailing list