|
我写了一个Qt程序,主要想show一个QGLWidget,编译能通过,可运行前总是崩溃!
我的显卡芯片是SIS6326.
请高手指点!是不是显卡驱动的问题?[New Thread 1024 (LWP 19375)]
0x420b4769 in wait4 () from /lib/i686/libc.so.6
#0 0x420b4769 in wait4 () from /lib/i686/libc.so.6
#1 0x4213030c in __DTOR_END__ () from /lib/i686/libc.so.6
#2 0x40d07ca3 in waitpid () from /lib/i686/libpthread.so.0
#3 0x4043f8d2 in KCrash::defaultCrashHandler ()
from /usr/lib/libkdecore-gcc2.96.so.4
#4 0x40d05f75 in pthread_sighandler () from /lib/i686/libpthread.so.0
#5 <signal handler called>
#6 0x42029241 in kill () from /lib/i686/libc.so.6
#7 0x40d05c4b in raise () from /lib/i686/libpthread.so.0
#8 0x4202a7d2 in abort () from /lib/i686/libc.so.6
#9 0x42022ddb in __assert_fail () from /lib/i686/libc.so.6
#10 0x411fcafc in SiSCreateContext ()
from /usr/X11R6/lib/modules/dri/sis_dri.so
#11 0x41200e60 in XMesaCreateContext ()
from /usr/X11R6/lib/modules/dri/sis_dri.so
#12 0x410ea6d5 in driMesaCreateContext ()
from /usr/X11R6/lib/modules/dri/sis_dri.so
#13 0x4005c5be in _glthread_SetTSD ()
from /usr/lib/libGL.so.1
#14 0x4005c6cd in glXCreateContext ()
from /usr/lib/libGL.so.1
#15 0x409b3c7c in QGLContext::chooseContext ()
from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3
#16 0x409b19df in QGLContext::create ()
from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3
#17 0x409b52d3 in QGLWidget::setContext ()
from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3
#18 0x409b4d6f in QGLWidget::init ()
from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3
#19 0x409b1a5a in QGLWidget::QGLWidget ()
from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3
#20 0x0804bbfd in MGLWidget::MGLWidget (this=0x80adc28, parent=0x80a53c0,
name=0x804c352 "what") at mglwidget.cpp:20
#21 0x0804bdc0 in OpenGLTest::OpenGLTest (this=0x80a4790, parent=0x0, name=0x0)
at opengltest.cpp:27
#22 0x0804bf21 in main (argc=1, argv=0xbffffbd4) at main.cpp:51
#23 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6 |
|