Hello everybody,
 I am trying to run the osgviewerQT with the option --QOSGWidget .. it fails
to work. It however works without this option (using AdaptedWidget) . I
attached the backtrace when it crashed.. Can anybody see and help me
understand why this is failing . I am also going to attach the log file with
osg-debug_level set to DEBUG_FP. I am using QT4 to build it. I am also
attaching the qt-project file used to compile the program .. I am seeing the
exact same behaviour on the application I am developing following the ideas
suggested by osgviewerQT example. It works with AdaptedWidget but not with
the QOSGWidget..

Thanks and regards,
Sunil.

#0  0xb65dc471 in strncmp () from /lib/tls/i686/cmov/libc.so.6
#1  0xb7d9b7d4 in osg::LightModel::apply () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#2  0xb7d18dc5 in osg::State::applyAttribute () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#3  0xb7e09bee in osg::State::applyAttributeList () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#4  0xb7dfeb34 in osg::State::apply () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#5  0xb7582904 in osgUtil::RenderLeaf::render () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#6  0xb7577118 in osgUtil::RenderBin::drawImplementation () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#7  0xb75841f7 in osgUtil::RenderStage::drawImplementation () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#8  0xb75768f1 in osgUtil::RenderBin::draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#9  0xb7584cda in osgUtil::RenderStage::drawInner () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#10 0xb7587cfc in osgUtil::RenderStage::draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#11 0xb7596ea0 in osgUtil::SceneView::draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#12 0xb7165a5b in osgViewer::Renderer::cull_draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#13 0xb7160497 in osgViewer::Renderer::operator() () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#14 0xb7d654f8 in osg::GraphicsContext::runOperations () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#15 0xb71ba629 in osgViewer::ViewerBase::renderingTraversals () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#16 0xb71b7ded in osgViewer::ViewerBase::frame () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#17 0x0805faee in ViewerQOSG::paintEvent (this=0x8c0ab10, event=0xbf914dcc)
at QOSGWidget.cpp:309
#18 0x081276fd in QWidget::event ()
#19 0x080d3bfc in QApplicationPrivate::notify_helper ()
#20 0x080dabe9 in QApplication::notify ()
#21 0x0884bb3b in QCoreApplication::notifyInternal ()
#22 0x0811ef4d in QWidgetPrivate::drawWidget ()
#23 0x0827a112 in QWidgetPrivate::repaint_sys ()
#24 0x08115cfe in QWidgetPrivate::syncBackingStore ()
#25 0x08127ff4 in QWidget::event ()
#26 0x080d3bfc in QApplicationPrivate::notify_helper ()
#27 0x080dabe9 in QApplication::notify ()
#28 0x0884bb3b in QCoreApplication::notifyInternal ()
#29 0x0884ca1b in QCoreApplicationPrivate::sendPostedEvents ()
#30 0x0884cc2d in QCoreApplication::sendPostedEvents ()
#31 0x0887105f in postEventSourceDispatch ()
#32 0xb6b3dcf6 in IA__g_main_context_dispatch (context=0x8bafa40) at
/build/buildd/glib2.0-2.16.6/glib/gmain.c:2012
#33 0xb6b410b3 in g_main_context_iterate (context=0x8bafa40, block=1,
dispatch=1, self=0x8baca58) at
/build/buildd/glib2.0-2.16.6/glib/gmain.c:2645
#34 0xb6b4166e in IA__g_main_context_iteration (context=0x8bafa40,
may_block=1) at /build/buildd/glib2.0-2.16.6/glib/gmain.c:2708
#35 0x088713a1 in QEventDispatcherGlib::processEvents ()
#36 0x081710f5 in QGuiEventDispatcherGlib::processEvents ()
#37 0x0884aa2d in QEventLoop::processEvents ()
#38 0x0884ae4a in QEventLoop::exec ()
#39 0x0884cced in QCoreApplication::exec ()
#40 0x080d3687 in QApplication::exec ()
#41 0x0805f5be in mainQOSGWidget (a...@0xbf915a60, argumen...@0xbf915a3c) at
QOSGWidget.cpp:615
#42 0x080635ff in main (argc=2, argv=0xbf915b14) at osgviewerQT.cpp:52

Attachment: log
Description: Binary data

Attachment: qosg.pro
Description: application/vnd.nokia.qt.qmakeprofile

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to