Hi Folks,
As mentioned a few days ago, it appears that flightgear either aborts, or
fails with a DEADBEEF assertion error after running for a somewhat longer
period (about 1 to two hours). So I tried and do some testing by running fgfs
from inside the gnu debugger. It aborted after about 1.5 to 2 hours of
runtime. I used the 747 for the test, letting it fly from EHLE (okay, that's
not quite relastic, because the runway is too short to handle a 747) to KSFO.
I let fgfs run unattended, so I'm not sure exactly where and when it crashed,
but it must have been somewhere over Scotland. Enclosed is the stacktrace
from gdb.
I've compiled FlightGear with thread support and I used the following .fgfsrc
file:
--airport=EHLE
--time-match-local
--prop:/environment/params/real-world-weather-fetch=true
--fg-scenery=/home/durk/FlightGear-Scenery/
--nmea=socket,out,0.5,10.0.0.4,5500,udp
--verbose
--enable-game-mode
It looks like the crash is somewhere inside the AIMgr (judging from stackdump
item #15), but since I'm still incredably unfamiliar with this part of the
code, this might just be a wild guess.
Anyways, I hope that this is useful debug information. Can others confirm
this?
Oh, btw., this was on a SuSe 9.0 linux box, AMD athlon XP, 2400+ NVidia
GeForce videoboard.
Cheers,
Durk
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 20511)]
0x4045bb71 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0 0x4045bb71 in kill () from /lib/i686/libc.so.6
#1 0x4003ccf1 in pthread_kill () from /lib/i686/libpthread.so.0
#2 0x4003d00b in raise () from /lib/i686/libpthread.so.0
#3 0x4045b904 in raise () from /lib/i686/libc.so.6
#4 0x4045ce8c in abort () from /lib/i686/libc.so.6
#5 0x403dd305 in __cxxabiv1::__terminate(void (*)()) ()
from /usr/lib/libstdc++.so.5
#6 0x403dd342 in std::terminate() () from /usr/lib/libstdc++.so.5
#7 0x403dd4c2 in __cxa_throw () from /usr/lib/libstdc++.so.5
#8 0x403dd6ff in operator new(unsigned) () from /usr/lib/libstdc++.so.5
#9 0x403dd7cd in operator new[](unsigned) () from /usr/lib/libstdc++.so.5
#10 0x083c8f0d in ssgList::sizeChk() (this=0x98066c4) at ssgList.cxx:73
#11 0x083c8e6d in ssgList::addEntity(ssgEntity*) (this=0x98066c4,
entity=0xd696680) at ssgList.cxx:55
#12 0x083c3c13 in ssgBranch::addKid(ssgEntity*) (this=0xd696680,
entity=0x98066c4) at ssg.h:1185
#13 0x0835c5db in SGModelPlacement::init(ssgBranch*) (this=0xd81e92c,
model=0x0) at placement.cxx:53
#14 0x080a0c31 in FGAIEntity::SetModel(ssgBranch*) (this=0xd81e92c, model=0x0)
at AIEntity.cxx:57
#15 0x0809bb97 in FGAIMgr::GenerateSimpleAirportTraffic(std::string, double)
(this=0x981c6b8, ident=
{static npos = 4294967295, _M_dataplus = {<allocator<char>> = {<No
data fields>}, _M_p = 0x519e8b54 "EGPD"}, static _S_empty_rep_storage = {0,
0, 0, 0}}, min_dist=0) at AIMgr.cxx:445
#16 0x0809c7cb in FGAIMgr::SearchByPos(double) (this=0x981c6b8, range=25) at
AIMgr.cxx:541
#17 0x0809a732 in FGAIMgr::update(double) (this=0x981c6b8,
dt=0.033940999999999999) at AIMgr.cxx:178
#18 0x080545fd in fgMainLoop () at globals.hxx:263
#19 0x080859f2 in GLUTidle () at fg_os.cxx:110
#20 0x400a504a in idleWait () from /usr/lib/libglut.so.3
#21 0x400a576d in glutMainLoop () from /usr/lib/libglut.so.3
#22 0x08056572 in fgMainInit(int, char**) (argc=2, argv=0x7) at main.cxx:1718
#23 0x080513bf in main (argc=2, argv=0xbffff304) at bootstrap.cxx:148
(gdb)
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel