My program uses osgViewer::StatsHandler, but when I press 'S' the
second time to show the extended statistics it crashes with the
following back-trace.
The strange thing is that if I press 'S' only once the program shows
the FPS without problem, but if I press 'S' again it crashes.
Did anyone experienced the same problem?
Note that the program crashes only on my Ubuntu 7.04+Mesa 7.0.2 box
and not under WinXP.

Regards,
Michele

Backtrace taken with gdb:

#0  0x000010c9 in ?? ()
#1  0xb7b38549 in osg::Drawable::Extensions::glGetQueryObjectui64v ()
from /usr/local/lib/libosg.so.25
#2  0xb7cc1012 in osgViewer::OpenGLQuerySupport::checkQuery () from
/usr/local/lib/libosgViewer.so.25
#3  0xb7cc3083 in osgViewer::Renderer::cull_draw () from
/usr/local/lib/libosgViewer.so.25
#4  0xb7cc3723 in osgViewer::Renderer::operator() () from
/usr/local/lib/libosgViewer.so.25
#5  0xb7b7ca88 in osg::GraphicsContext::runOperations () from
/usr/local/lib/libosg.so.25
#6  0xb7cf5bd6 in osgViewer::ViewerBase::renderingTraversals () from
/usr/local/lib/libosgViewer.so.25
#7  0xb7cf4e23 in osgViewer::ViewerBase::frame () from
/usr/local/lib/libosgViewer.so.25
#8  0x080610b2 in OsgQtViewer::paintGL (this=0x8107000) at
../../include/osgolem/osgqtviewer.hpp:149
#9  0x0805c06e in EditorWidget::paintGL (this=0x8107000) at editorwidget.cpp:364
#10 0xb7a377ab in QGLWidget::glDraw () from /usr/lib/libQtOpenGL.so.4
#11 0xb7a3628f in QGLWidget::updateGL () from /usr/lib/libQtOpenGL.so.4
#12 0xb7a55e92 in QGLWidget::qt_metacall () from /usr/lib/libQtOpenGL.so.4
#13 0x08077754 in EditorWidget::qt_metacall (this=0x8107000,
_c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfa304f4) at
moc_editorwidget.cpp:90
#14 0xb72aaaa8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb72ab42a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb72ca2b7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#17 0xb72b267e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#18 0xb72a9834 in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb7440190 in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#20 0xb74428c1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb72bda43 in ?? () from /usr/lib/libQtCore.so.4
#22 0xb691fdf2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb6922dcf in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x080e5490 in ?? ()
#25 0x00000000 in ?? ()
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to