[Qt-interest] Crash with OpenGL QGraphicsView Viewport on Exit
Josiah Bryan
jbryan at productiveconcepts.com
Mon Nov 2 19:36:52 CET 2009
I've got a test case that crashes upon program exit with:
xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
But only if I use a QGLWidget as the QGRaphicsView viewport - normal
viewport does not crash on exit.
GDB reports:
Program received signal SIGABRT, Aborted.
[Switching to Thread -1208550960 (LWP 18248)]
0x00110402 in __kernel_vsyscall ()
(gdb) bt
#0 0x00110402 in __kernel_vsyscall ()
#1 0x01e3a690 in raise () from /lib/libc.so.6
#2 0x01e3bf91 in abort () from /lib/libc.so.6
#3 0x01e3393e in __assert_fail () from /lib/libc.so.6
#4 0x00270714 in xcb_xlib_lock () from /usr/lib/libxcb-xlib.so.0
#5 0x03173168 in ?? () from /usr/lib/libX11.so.6
#6 0x008651d5 in ?? () from /usr/lib/libGL.so.1
#7 0x085cb0d0 in ?? ()
#8 0x0870bf90 in ?? ()
#9 0x087080e0 in ?? ()
#10 0x008346d9 in ?? () from /usr/lib/libGL.so.1
#11 0x085cb0d0 in ?? ()
#12 0x00000003 in ?? ()
#13 0x00000000 in ?? ()
(gdb) q
This occurs on both Qt 4.5.2 and the Git version of 4.7.0. Sample code
attached that reproduces problem.
Any ideas on how to fix this?
Thanks!
-josiah
--
-=-=-=-=-=-=-=-=-=-=-=-=-
Josiah Bryan
Productive Concepts, Inc.
jbryan at pciint.com
(765) 964-6009, ext. 224
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.cpp
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091102/e84d73d4/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: problem_test.pro
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091102/e84d73d4/attachment-0001.pl
More information about the Qt-interest-old
mailing list