Thanks Robert, using MESA 7.0.2 (compiled in pure software, no dri) -> "osgviewer mymodel.fmt --SingleThreaded" crashed at the second 'S' as usual using MESA 7.0.0 (compiled in pure software, no dri) -> "osgviewer mymodel.fmt --SingleThreaded" crashed at the second 'S' as usual using MESA 6.4.2 (compiled in pure software, no dri) -> "osgviewer mymodel.fmt --SingleThreaded" no problems
It seems that the latest MESA release introduced some bugs, at least with my configuration/system: Ubuntu 7.04 / GCC 4.1 / Xorg 7.2.0 / Core 2 Duo T7300, so I will stick to MESA 6.4.2. It would be interesting to know if anyone else can reproduce the crash in another system using MESA 7.0.x, if it's really a bug we could report it to the MESA guys. Michele On Jan 22, 2008 4:55 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Hi Michaele, > > Stats in working fine on my mult-core Kubunto 7.10 NVidia box. It > worked fine under 7.04 too. > > Could it be a driver problem? Maybe? Nothing other than trying a > different driver will answer this > or establishing its a different problem... > > Could it be a threading problem? Maybe? Try out: > > osgviewer mymodel.fmt --SingleThreaded > > Robert. > > > On Jan 22, 2008 3:24 PM, Michele Bosi <[EMAIL PROTECTED]> wrote: > > 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 > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

