20,741
edits
No edit summary |
(→Debugging Segfaults & Obtaining Backtraces: http://forum.flightgear.org/viewtopic.php?f=17&t=19670&p=181541&hilit=backtrace+cxx#p181541) |
||
Line 192: | Line 192: | ||
# only if that isn't conclusive, use '''thread apply all bt full''' instead to get a full backtrace for all threads (background tasks) | # only if that isn't conclusive, use '''thread apply all bt full''' instead to get a full backtrace for all threads (background tasks) | ||
# please use the issue tracker to post your backtrace | # please use the issue tracker to post your backtrace | ||
This is what a typical backtrace may look like: | |||
<syntaxhighlight lang="gdb">(gdb) thread apply all bt | |||
Thread 1 (Thread 0xb66c4740 (LWP 10908)): | |||
#0 0xb71467e6 in __strlen_sse2_bsf () from /usr/lib/libc.so.6 | |||
#1 0x0886c080 in copy_string (s=s@entry=0x0) | |||
at /home/cesar/compilation/pkg/simgear/2.10.0/src/simgear-2.10.0/simgear/props/props.cxx:161 | |||
#2 0x08870550 in set_string (val=0x0, this=0x8dd55b8) | |||
at /home/cesar/compilation/pkg/simgear/2.10.0/src/simgear-2.10.0/simgear/props/props.cxx:524 | |||
#3 SGPropertyNode::setStringValue (this=0x8dd55b8, value=0x0) | |||
at /home/cesar/compilation/pkg/simgear/2.10.0/src/simgear-2.10.0/simgear/props/props.cxx:1587 | |||
#4 0x08326ae1 in (anonymous namespace)::GeneralInitOperation::run (this=0x8bdea48, gc=0x8be4310) | |||
at /home/cesar/compilation/pkg/flightgear/2.10.0/src/flightgear-2.10.0/src/GUI/gui.cxx:123 | |||
#5 0x085c2b7b in flightgear::GraphicsContextOperation::operator() (this=0x8bdea48, gc=0x8be4310) | |||
at /home/cesar/compilation/pkg/flightgear/2.10.0/src/flightgear-2.10.0/src/Viewer/WindowSystemAdapter.cxx:41 | |||
#6 0xb78ca246 in osg::GraphicsOperation::operator()(osg::Object*) () from /usr/lib/libosg.so.80 | |||
#7 0xb78c7784 in osg::GraphicsContext::runOperations() () from /usr/lib/libosg.so.80 | |||
#8 0xb7b29fe2 in osgViewer::ViewerBase::renderingTraversals() () from /usr/lib/libosgViewer.so.80 | |||
#9 0xb7b2707c in osgViewer::ViewerBase::frame(double) () from /usr/lib/libosgViewer.so.80 | |||
#10 0x085c4841 in fgOSMainLoop () | |||
at /home/cesar/compilation/pkg/flightgear/2.10.0/src/flightgear-2.10.0/src/Viewer/fg_os_osgviewer.cxx:286 | |||
#11 0x082221fa in fgMainInit (argc=32, argv=0xbffff494) | |||
at /home/cesar/compilation/pkg/flightgear/2.10.0/src/flightgear-2.10.0/src/Main/main.cxx:339 | |||
#12 0x081e71ee in main (argc=32, argv=0xbffff494) | |||
at /home/cesar/compilation/pkg/flightgear/2.10.0/src/flightgear-2.10.0/src/Main/bootstrap.cxx:251 | |||
</syntaxhighlight> | |||
== Related == | == Related == |