Can you move up the stack into SGText::UpdateCallback::operator() and see
what is being passed to createUTF8EncodedString?

Thanks,
Tim

On Thu, Dec 2, 2010 at 8:46 AM, Jeff Taylor <jefftaylo...@gmail.com> wrote:

> On 29/11/10 12:45 AM, Erik Hofman wrote:
> > So it looks like to be a JSBSim problem, now you could try to test a
> > turbine powered aircraft like the F-16 to try to pinpoint the problem.
> > It would probably be a good idea to try running FlightGear inside a
> > debugger an provide a backtrace if possible.
> The F-16 works.  I have updated to current git (as of the time of this
> e-mail).
>
> I'll post the backtrace again.  It hasn't changed since I last posted,
> but here it is.  My guess is that it's a graphics problem, and something
> specific to the c172p triggers it.
>
> Also, randomly, remember that I know how to use the debugger, so if it
> helps, I can probe variables, etc.
>
> Backtrace from gdb:
> #0  0x00007ffff5fb6410 in osgText::String::createUTF8EncodedString()
> const () from /usr/local/lib64/libosgText.so.68
> #1  0x0000000000919946 in SGText::UpdateCallback::operator()
> (this=0x117b5900, node=0x11832ff0, nv=0xdf6260) at SGText.cxx:76
> #2  0x00000000004396f8 in handle_geode_callbacks (this=0xdf6260,
> node=...) at /usr/local/include/osgUtil/UpdateVisitor:94
> #3  osgUtil::UpdateVisitor::apply (this=0xdf6260, node=...) at
> /usr/local/include/osgUtil/UpdateVisitor:51
> #4  0x00007ffff4e69898 in osg::Geode::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #5  0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #6  0x000000000043ba36 in traverse (this=0xdf6260, transform=...) at
> /usr/local/include/osg/NodeVisitor:191
> #7  handle_callbacks_and_traverse (this=0xdf6260, transform=...) at
> /usr/local/include/osgUtil/UpdateVisitor:86
> #8  apply (this=0xdf6260, transform=...) at
> /usr/local/include/osgUtil/UpdateVisitor:57
> #9  SGUpdateVisitor::apply (this=0xdf6260, transform=...) at
> /usr/local/include/simgear/scene/util/SGUpdateVisitor.hxx:162
> #10 0x00007ffff4f0e25a in osg::NodeVisitor::apply(osg::MatrixTransform&)
> () from /usr/local/lib64/libosg.so.68
> #11 0x00007ffff65bdb30 in
> osg::MatrixTransform::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgViewer.so.68
> #12 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #13 0x00007ffff6f37234 in osg::Group::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgFX.so.68
> #14 0x00007ffff4ef4847 in osg::LOD::traverse(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #15 0x00007ffff4ef4f12 in osg::LOD::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #16 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #17 0x00007ffff6f37234 in osg::Group::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgFX.so.68
> #18 0x00007ffff4ef4847 in osg::LOD::traverse(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #19 0x00007ffff4ef4f12 in osg::LOD::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #20 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #21 0x000000000043ba36 in traverse (this=0xdf6260, transform=...) at
> /usr/local/include/osg/NodeVisitor:191
> #22 handle_callbacks_and_traverse (this=0xdf6260, transform=...) at
> /usr/local/include/osgUtil/UpdateVisitor:86
> #23 apply (this=0xdf6260, transform=...) at
> /usr/local/include/osgUtil/UpdateVisitor:57
> #24 SGUpdateVisitor::apply (this=0xdf6260, transform=...) at
> /usr/local/include/simgear/scene/util/SGUpdateVisitor.hxx:162
> #25 0x00007ffff4f0e25a in osg::NodeVisitor::apply(osg::MatrixTransform&)
> () from /usr/local/lib64/libosg.so.68
> #26 0x00007ffff65bdb30 in
> osg::MatrixTransform::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgViewer.so.68
> #27 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #28 0x000000000043ba36 in traverse (this=0xdf6260, transform=...) at
> /usr/local/include/osg/NodeVisitor:191
> #29 handle_callbacks_and_traverse (this=0xdf6260, transform=...) at
> /usr/local/include/osgUtil/UpdateVisitor:86
> #30 apply (this=0xdf6260, transform=...) at
> /usr/local/include/osgUtil/UpdateVisitor:57
> #31 SGUpdateVisitor::apply (this=0xdf6260, transform=...) at
> /usr/local/include/simgear/scene/util/SGUpdateVisitor.hxx:162
> #32 0x00007ffff4f0e28c in
> osg::NodeVisitor::apply(osg::PositionAttitudeTransform&) () from
> /usr/local/lib64/libosg.so.68
> #33 0x00007ffff4f28ba2 in
> osg::PositionAttitudeTransform::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #34 0x00007ffff4f930ea in osg::Switch::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #35 0x00007ffff4f940a0 in osg::Switch::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #36 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #37 0x00007ffff6f37234 in osg::Group::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgFX.so.68
> #38 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #39 0x00007ffff6f37234 in osg::Group::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgFX.so.68
> #40 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #41 0x00007ffff6f37234 in osg::Group::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgFX.so.68
> #42 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #43 0x00007ffff6f37234 in osg::Group::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgFX.so.68
> #44 0x00007ffff4f930ea in osg::Switch::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #45 0x00007ffff697222d in osg::NodeVisitor::traverse(osg::Node&) () from
> /usr/local/lib64/libosgSim.so.68
> ---Type <return> to continue, or q <return> to quit---
> #46 0x00007ffff4f08750 in osg::NodeCallback::traverse(osg::Node*,
> osg::NodeVisitor*) () from /usr/local/lib64/libosg.so.68
> #47 0x00007ffff4f940a0 in osg::Switch::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosg.so.68
> #48 0x00007ffff4ec3009 in osg::Group::traverse(osg::NodeVisitor&) ()
> from /usr/local/lib64/libosg.so.68
> #49 0x00007ffff6f37234 in osg::Group::accept(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgFX.so.68
> #50 0x00007ffff65ab018 in
> osgViewer::Scene::updateSceneGraph(osg::NodeVisitor&) () from
> /usr/local/lib64/libosgViewer.so.68
> #51 0x00007ffff65ec79e in osgViewer::Viewer::updateTraversal() () from
> /usr/local/lib64/libosgViewer.so.68
> #52 0x00007ffff65f3647 in osgViewer::ViewerBase::frame(double) () from
> /usr/local/lib64/libosgViewer.so.68
> #53 0x0000000000489697 in fgOSMainLoop () at fg_os_osgviewer.cxx:287
> #54 0x00000000004310f5 in fgMainInit (argc=2, argv=0x7fffffffe238) at
> main.cxx:633
> #55 0x000000000043027e in main (argc=2, argv=0x7fffffffe238) at
> bootstrap.cxx:243
>
>
> Jeff Taylor
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to