Robert Osfield schrieb:
So please please test the CVS version of the OSG,
On OS X osgviewer crashes:
show the stats via "s" and then show the help via "h" -> bang. Here are
some stacktraces for the various threading-modes:
If you show first the help and then the stats it works, even if you hide
and show the help again.
Stacktrace:
#0 0x90b2a656 in std::string::compare
#1 0x204cde4e in std::operator< <char, std::char_traits<char>,
std::allocator<char> > at basic_string.h:2190
#2 0x002b594e in std::less<std::string>::operator() at stl_function.h:227
#3 0x0038243d in std::_Rb_tree<std::string, std::pair<std::string
const, double>, std::_Select1st<std::pair<std::string const, double> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
double> > >::find at stl_tree.h:1118
#4 0x00382502 in std::map<std::string, double,
std::less<std::string>, std::allocator<std::pair<std::string const,
double> > >::find at stl_map.h:513
#5 0x002a65f4 in osg::Stats::getAttribute at Stats.cpp:83
#6 0x204e00d9 in osgViewer::BlockDrawCallback::drawImplementation at
StatsHandler.cpp:289
#7 0x013204ea in osg::Drawable::draw at Drawable:869
#8 0x012753c0 in osgUtil::RenderLeaf::render at RenderLeaf.cpp:60
#9 0x012732b5 in osgUtil::RenderBin::drawImplementation at
RenderBin.cpp:427
#10 0x0127861a in osgUtil::RenderStage::drawImplementation at
RenderStage.cpp:982
#11 0x012730af in osgUtil::RenderBin::draw at RenderBin.cpp:370
#12 0x0127a4f6 in osgUtil::RenderStage::drawInner at RenderStage.cpp:718
#13 0x0127a225 in osgUtil::RenderStage::draw at RenderStage.cpp:872
#14 0x01283fcf in osgUtil::SceneView::draw at SceneView.cpp:1305
#15 0x204d4f86 in ViewerRenderingOperation::operator() at Viewer.cpp:185
#16 0x0029be3c in osg::GraphicsContext::runOperations at
GraphicsContext.cpp:426
#17 0x204cda70 in ViewerRunOperations::operator() at Viewer.cpp:944
#18 0x0029f3d8 in osg::OperationsThread::run at GraphicsThread.cpp:290
#19 0x000c31b8 in OpenThreads::ThreadPrivateActions::StartThread at
PThread.c++:157
#20 0x90023d87 in _pthread_body
if the threading model is SingleThreaded
Stacktrace:
#0 0x00381ee3 in std::_Rb_tree<std::string, std::pair<std::string
const, double>, std::_Select1st<std::pair<std::string const, double> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
double> > >::_M_begin at stl_tree.h:468
#1 0x00382407 in std::_Rb_tree<std::string, std::pair<std::string
const, double>, std::_Select1st<std::pair<std::string const, double> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
double> > >::find at stl_tree.h:1113
#2 0x00382502 in std::map<std::string, double,
std::less<std::string>, std::allocator<std::pair<std::string const,
double> > >::find at stl_map.h:513
#3 0x002a65f4 in osg::Stats::getAttribute at Stats.cpp:83
#4 0x002a66d4 in osg::Stats::getAveragedAttribute at Stats.cpp:107
#5 0x002a67f7 in osg::Stats::getAveragedAttribute at Stats.cpp:92
#6 0x204df254 in osgViewer::TextDrawCallback::drawImplementation at
StatsHandler.cpp:234
#7 0x013204ea in osg::Drawable::draw at Drawable:869
#8 0x012753c0 in osgUtil::RenderLeaf::render at RenderLeaf.cpp:60
#9 0x01273202 in osgUtil::RenderBin::drawImplementation at
RenderBin.cpp:407
#10 0x012730af in osgUtil::RenderBin::draw at RenderBin.cpp:370
#11 0x0127345b in osgUtil::RenderBin::drawImplementation at
RenderBin.cpp:457
#12 0x0127861a in osgUtil::RenderStage::drawImplementation at
RenderStage.cpp:982
#13 0x012730af in osgUtil::RenderBin::draw at RenderBin.cpp:370
#14 0x0127a4f6 in osgUtil::RenderStage::drawInner at RenderStage.cpp:718
#15 0x0127a225 in osgUtil::RenderStage::draw at RenderStage.cpp:872
#16 0x01283fcf in osgUtil::SceneView::draw at SceneView.cpp:1305
#17 0x204d4f86 in ViewerRenderingOperation::operator() at Viewer.cpp:185
#18 0x0029be3c in osg::GraphicsContext::runOperations at
GraphicsContext.cpp:426
#19 0x204ae55f in osgViewer::Viewer::renderingTraversals at
Viewer.cpp:2039
#20 0x204af0a1 in osgViewer::Viewer::frame at Viewer.cpp:1618
#21 0x204af1ae in osgViewer::Viewer::run at Viewer.cpp:678
#22 0x00005825 in main at osgviewer.cpp:249
if the threading-model is CullDrawThreadPerContext
Stacktrace:
#0 0x90b2a656 in std::string::compare
#1 0x204cde4e in std::operator< <char, std::char_traits<char>,
std::allocator<char> > at basic_string.h:2190
#2 0x002b594e in std::less<std::string>::operator() at stl_function.h:227
#3 0x0038243d in std::_Rb_tree<std::string, std::pair<std::string
const, double>, std::_Select1st<std::pair<std::string const, double> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
double> > >::find at stl_tree.h:1118
#4 0x00382502 in std::map<std::string, double,
std::less<std::string>, std::allocator<std::pair<std::string const,
double> > >::find at stl_map.h:513
#5 0x002a65f4 in osg::Stats::getAttribute at Stats.cpp:83
#6 0x204e00d9 in osgViewer::BlockDrawCallback::drawImplementation at
StatsHandler.cpp:289
#7 0x013204ea in osg::Drawable::draw at Drawable:869
#8 0x012753c0 in osgUtil::RenderLeaf::render at RenderLeaf.cpp:60
#9 0x012732b5 in osgUtil::RenderBin::drawImplementation at
RenderBin.cpp:427
#10 0x0127861a in osgUtil::RenderStage::drawImplementation at
RenderStage.cpp:982
#11 0x012730af in osgUtil::RenderBin::draw at RenderBin.cpp:370
#12 0x0127a4f6 in osgUtil::RenderStage::drawInner at RenderStage.cpp:718
#13 0x0127a225 in osgUtil::RenderStage::draw at RenderStage.cpp:872
#14 0x01283fcf in osgUtil::SceneView::draw at SceneView.cpp:1305
#15 0x204d4f86 in ViewerRenderingOperation::operator() at Viewer.cpp:185
#16 0x0029be3c in osg::GraphicsContext::runOperations at
GraphicsContext.cpp:426
#17 0x204cda70 in ViewerRunOperations::operator() at Viewer.cpp:944
#18 0x0029f3d8 in osg::OperationsThread::run at GraphicsThread.cpp:290
#19 0x000c31b8 in OpenThreads::ThreadPrivateActions::StartThread at
PThread.c++:157
#20 0x90023d87 in _pthread_body
my configuration: osg-current, OS X 10.4.8., gcc 4, MacPro quad-core,
NVidia 7300GT
cheers,
Stephan
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/