[d2r2@localhost flightgear-patched]$ gdb --args src/Main/fgfs --fg-root=/home/d2
r2/Flightgear
GNU gdb 6.6-3mdv2008.0 (Mandriva Linux release 2008.0)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu"...
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) r
Starting program: /home/d2r2/Flightgear/flightgear-patched/src/Main/fgfs --fg-ro
ot=/home/d2r2/Flightgear
[Thread debugging using libthread_db enabled]
[New Thread -1231624464 (LWP 3323)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231624464 (LWP 3323)]
0x0860ce5c in simgear::ModelRegistry::readImage (this=0x880c180,
fileName=@0xbfb7f654, opt=0x880be10)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/
bits/basic_string.h:280
280 { return _M_dataplus._M_p; }
(gdb) bt
#0 0x0860ce5c in simgear::ModelRegistry::readImage (this=0x880c180,
fileName=@0xbfb7f654, opt=0x880be10)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/ bits/basic_string.h:280
#1 0xb79812fa in osgDB::readImageFile ()
from /home/d2r2/Flightgear/lib/libosgDB.so.31
#2 0x080a369d in FGSplashGroupUpdateCallback::operator() (this=0x896db10,
node=0x8817978, nv=0x88177d0)
at /home/d2r2/Flightgear-patched//include/osgDB/ReadFile:66
#3 0x0806dc17 in osgUtil::UpdateVisitor::apply (this=0x88177d0,
node=@0x8817978)
at /home/d2r2/Flightgear-patched//include/osgUtil/UpdateVisitor:83
#4 0xb76ccdb4 in osg::Group::accept ()
from /home/d2r2/Flightgear/lib/libosg.so.31
#5 0xb76cb0e4 in osg::Group::traverse ()
from /home/d2r2/Flightgear/lib/libosg.so.31
#6 0xb76ccdb4 in osg::Group::accept ()
from /home/d2r2/Flightgear/lib/libosg.so.31
#7 0xb7aa452a in osgViewer::Viewer::updateTraversal ()
from /home/d2r2/Flightgear/lib/libosgViewer.so.31
#8 0xb7aaea5b in osgViewer::ViewerBase::frame ()
from /home/d2r2/Flightgear/lib/libosgViewer.so.31
#9 0x080b5933 in GLUTdraw () at fg_os.cxx:136
---Type <return> to continue, or2/F
Flightgear/ Flightgear-patched/
[d2r2@localhost flightgear-patched]$ gdb --args src/Main/fgfs --fg-root=/home/d2
r2/Flightgear
GNU gdb 6.6-3mdv2008.0 (Mandriva Linux release 2008.0)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu"...
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) r
Starting program: /home/d2r2/Flightgear/flightgear-patched/src/Main/fgfs --fg-ro
ot=/home/d2r2/Flightgear
[Thread debugging using libthread_db enabled]
[New Thread -1231624464 (LWP 3323)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231624464 (LWP 3323)]
0x0860ce5c in simgear::ModelRegistry::readImage (this=0x880c180,
fileName=@0xbfb7f654, opt=0x880be10)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/
bits/basic_string.h:280
280 { return _M_dataplus._M_p; }
(gdb) bt
#0 0x0860ce5c in simgear::ModelRegistry::readImage (this=0x880c180,
fileName=@0xbfb7f654, opt=0x880be10)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/ bits/basic_string.h:280
#1 0xb79812fa in osgDB::readImageFile ()
from /home/d2r2/Flightgear/lib/libosgDB.so.31
#2 0x080a369d in FGSplashGroupUpdateCallback::operator() (this=0x896db10,
node=0x8817978, nv=0x88177d0)
at /home/d2r2/Flightgear-patched//include/osgDB/ReadFile:66
#3 0x0806dc17 in osgUtil::UpdateVisitor::apply (this=0x88177d0,
node=@0x8817978)
at /home/d2r2/Flightgear-patched//include/osgUtil/UpdateVisitor:83
#4 0xb76ccdb4 in osg::Group::accept ()
from /home/d2r2/Flightgear/lib/libosg.so.31
#5 0xb76cb0e4 in osg::Group::traverse ()
from /home/d2r2/Flightgear/lib/libosg.so.31
#6 0xb76ccdb4 in osg::Group::accept ()
from /home/d2r2/Flightgear/lib/libosg.so.31
#7 0xb7aa452a in osgViewer::Viewer::updateTraversal ()
from /home/d2r2/Flightgear/lib/libosgViewer.so.31
#8 0xb7aaea5b in osgViewer::ViewerBase::frame ()
from /home/d2r2/Flightgear/lib/libosgViewer.so.31
#9 0x080b5933 in GLUTdraw () at fg_os.cxx:136
---Type <return> to continue, or q <return> to quit---
#10 0xb7f0c071 in osgDB::DatabasePager::run () from /usr/lib/libglut.so.3
#11 0xb7f0cdc1 in glutMainLoop () from /usr/lib/libglut.so.3
#12 0x08064265 in fgMainInit (argc=2, argv=0xbfb7fc14) at main.cxx:1083
#13 0x08062d64 in main (argc=134623360, argv=0x8063100) at bootstrap.cxx:220
(gdb)
r q <return> to quit---