> Can one of you get a stack trace in gdb to see where it's crashing?

This is the command line:

  /usr/local/FlightGear/bin/fgfs --fg-root=/usr/local/FlightGear/lib/FlightGear 
--aircraft=747

This is what gdb says:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1137)]
0x08401482 in ssgSGIHeader::getRow (this=0x8f10ce0, buf=0x8f19cb8 '\004' <repeats 200 
times>..., y=862, z=3) at ssgLoadSGI.cxx:211
211               *bufp++ = *tmpp++ ;
(gdb) bt
#0  0x08401482 in ssgSGIHeader::getRow (this=0x8f10ce0, buf=0x8f19cb8 '\004' <repeats 
200 times>..., y=862, z=3) at ssgLoadSGI.cxx:211
#1  0x084017eb in ssgSGIHeader::ssgSGIHeader (this=0x8f10ce0, fname=0x8e5b0d0 
"/usr/local/FlightGear/lib/FlightGear/Aircraft/747/Models/boeing747-400-jw-08.rgb", 
    info=0xbfffce50) at ssgLoadSGI.cxx:328
#2  0x08401c85 in ssgLoadSGI (fname=0x8e5b0d0 
"/usr/local/FlightGear/lib/FlightGear/Aircraft/747/Models/boeing747-400-jw-08.rgb", 
info=0xbfffce50) at ssgLoadSGI.cxx:496
#3  0x0840094b in ssgLoadTexture (filename=0x8e5b0d0 
"/usr/local/FlightGear/lib/FlightGear/Aircraft/747/Models/boeing747-400-jw-08.rgb", 
info=0xbfffce50)
    at ssgLoadTexture.cxx:301
#4  0x083fdd3a in ssgTexture::ssgTexture (this=0x8e5b090, fname=0xbfffceb0 
"/usr/local/FlightGear/lib/FlightGear/Aircraft/747/Models/boeing747-400-jw-08.rgb", 
    _wrapu=1, _wrapv=1, _mipmap=1) at ssgTexture.cxx:139
#5  0x0843aa07 in ssgLoaderOptions::createTexture (this=0x88d5740, tfname=0x8e5ae20 
"boeing747-400-jw-08.rgb", wrapu=1, wrapv=1, mipmap=1) at ssgLoad.cxx:117
#6  0x083f1794 in get_state (mat=0x8e5aa68) at ssgLoadAC.cxx:220
#7  0x083f2aa3 in do_refs (s=0xbfffd7fd "3\n") at ssgLoadAC.cxx:579
#8  0x083f163c in search (tags=0x84b4f70, s=0xbfffd7fd "3\n") at ssgLoadAC.cxx:129
#9  0x083f2219 in do_surf (s=0xbfffdc7d "0x10\n") at ssgLoadAC.cxx:497
#10 0x083f163c in search (tags=0x84b4f60, s=0xbfffdc7d "0x10\n") at ssgLoadAC.cxx:129
#11 0x083f2175 in do_numsurf (s=0xbfffe0f0 "6\n") at ssgLoadAC.cxx:484
#12 0x083f163c in search (tags=0x84b4f00, s=0xbfffe0f0 "6\n") at ssgLoadAC.cxx:129
#13 0x083f1c29 in do_object () at ssgLoadAC.cxx:322
#14 0x083f163c in search (tags=0x84b4ee0, s=0xbfffe56f "poly\n") at ssgLoadAC.cxx:129
#15 0x083f1c62 in do_object () at ssgLoadAC.cxx:330
#16 0x083f163c in search (tags=0x84b4ee0, s=0xbfffe9ef "world\n") at ssgLoadAC.cxx:129
#17 0x083f2e70 in ssgLoadAC (fname=0x88f0d70 
"Aircraft/747/Models/boeing747-400-jw.ac", options=0x0) at ssgLoadAC.cxx:676
#18 0x083f2c27 in ssgLoadAC3D (fname=0x88f0d70 
"Aircraft/747/Models/boeing747-400-jw.ac", options=0x0) at ssgLoadAC.cxx:601
#19 0x0843ac4f in ssgLoad (fname=0x88f0d70 "Aircraft/747/Models/boeing747-400-jw.ac", 
options=0x0) at ssgLoad.cxx:223
#20 0x082ddc40 in fgLoad3DModel (path=@0xbffff854) at model.cxx:281
#21 0x082e0a41 in FGModelPlacement::init (this=0x8e5a070, path=@0xbffff854) at 
model.cxx:639
#22 0x082e2377 in FGAircraftModel::init (this=0x8e59f08) at acmodel.cxx:57
#23 0x08055216 in fgMainInit (argc=3, argv=0xbffff9b4) at main.cxx:1658
#24 0x08056696 in main (argc=3, argv=0xbffff9b4) at main.cxx:1818

Other than that, I am running both FlightGear and fgfsbase from CVS
(Root is
":pserver:[EMAIL PROTECTED]:/var/cvs/FlightGear-0.9" and
":pserver:[EMAIL PROTECTED]:/home/cvsroot", respectively), no
modifications. I haven't updated plib and SimGear in a while though.

Hope this helps,

  Andras

===========================================================================
Major Andras
    e-mail: [EMAIL PROTECTED]
    www:    http://andras.webhop.org/
===========================================================================

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to