[vtkusers] Fwd: Qt Events example crashes with VTK 6.3 OpenGL2

Patricio Palma C. patriciop at gmail.com
Fri May 20 10:51:38 EDT 2016


Thanks for the comments. Now we are using VTK 7.0 OpenGL2 with Qt 5.6
through vtkGUISupportQt module. The structures are displayed fine but now
it crashes in libX11 when destroying the QVTKWidget.

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaaf787fb in _XSend () from /usr/lib64/libX11.so.6

(gdb) bt
#0  0x00002aaaaaf787fb in _XSend () from /usr/lib64/libX11.so.6
#1  0x00002aaaaaf78cb5 in _XFlush () from /usr/lib64/libX11.so.6
#2  0x00002aaaaaf7b725 in _XGetRequest () from /usr/lib64/libX11.so.6
#3  0x00002aaaaaf7491b in XSync () from /usr/lib64/libX11.so.6
#4  0x00002aaaac6ab36a in XMesaGarbageCollect () at
src/gallium/state_trackers/glx/xlib/xm_api.c:1359
#5  0x00002aaaac6ae7ce in glXDestroyContext (dpy=<optimized out>,
ctx=0x19ee7570) at src/gallium/state_trackers/glx/xlib/glx_api.c:1422
#6  0x00002aaab1139b3e in vtkXOpenGLRenderWindow::DestroyWindow
(this=0xc13dfb0) at
/MyPRJ/vtk70-src/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:719
#7  0x00002aaab113a635 in vtkXOpenGLRenderWindow::Finalize (this=0xc13dfb0)
at //MyPRJ/vtk70-src/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:1005
#8  0x00002aaab3da3ebf in QVTKWidget::SetRenderWindow (this=0x18d673e0,
w=0x0) at /MyPRJ/vtk70-src/GUISupport/Qt/QVTKWidget.cxx:192
#9  0x00002aaab3da3ca2 in QVTKWidget::~QVTKWidget (this=0x18d673e0,
__in_chrg=<optimized out>) at
/MyPRJ/vtk70-src/GUISupport/Qt/QVTKWidget.cxx:113

Does anybody knows what could be the cause for that crash?

Thanks

On Wed, May 18, 2016 at 9:27 AM, Sean McBride <sean at rogue-research.com>
wrote:

> On Wed, 18 May 2016 00:10:35 -0400, Patricio Palma C. said:
>
> >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.
>
> The OpenGL2 backend was experimental (and non-default) in VTK 6.  You
> might try switching to OpenGL1 or to VTK 7.
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>


-- 
Patricio Palma Contreras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160520/28786145/attachment.html>


More information about the vtkusers mailing list