Durk Talsma a écrit :
> On Tuesday 26 June 2007 03:09, Csaba Halász wrote:
> > Hi!
> >
> > Helijah has run into a crash. Gdb backtrace here:
> > http://pastebin.ca/589461 (no debug symbols unfortunately)
> >
> > Looks like the "next" waypoint is null. As a quick and dirty fix I
> > came up with this:
> >
> > Index: src/AIModel/AIAircraft.cxx
> > ===================================================================
> > RCS file:
> > /var/cvs/FlightGear-0.9/source/src/AIModel/AIAircraft.cxx,v
> > retrieving revision 1.65 diff -u -r1.65 AIAircraft.cxx ---
> > src/AIModel/AIAircraft.cxx 16 Jun 2007 05:38:05 -0000 1.65
> > +++ src/AIModel/AIAircraft.cxx 26 Jun 2007 01:07:16 -0000 @@
> > -747,7 +747,7 @@
> >
> > if (fabs(speed_diff) > 10) { prevSpeed = speed; -
> > fp->setLeadDistance(speed, tgt_heading, curr, next); + if
> > (next) fp->setLeadDistance(speed, tgt_heading, curr, next); } }
> >
> >
> > This is probably not the right way to fix it, somebody please have
> > a look.
> >
> > Thanks, Csaba
> >
>
> Hi Csaba,
>
> Thanks for reporting. I'll have a look. Can you give me some
> specifics as to the conditions under which the crash appears? Which
> airport, or vincity? Traffic Manager or scripted AI? Thanks in
> advance!
Hi Durk,
I think this crash is related to the above:
"Failed to find route from waypoint 8 to 154 at KSAN"
whithout any other message in the console. FG just quits.
It happends every 4/5 days, 3 or 4 consecutive times, a few minutes
after FG start up and with at least PLIB and the following prefs:
Then it does not happen any more for another 4/5 days (don't really know
if it's a regular pattern).
Multiplayer was on last time I noticed it and the current time was set
to noon from the gui.
Each time I was in KNID vicinity or on a KNID runway.
The message is always the same.
<ai-traffic>
<enabled type="bool" userarchive="y">true</enabled>
<level type="int" userarchive="y">1</level>
</ai-traffic>
<traffic-manager>
<enabled type="bool">true</enabled>
<instantaneous-action type="bool">true</instantaneous-action>
</traffic-manager>
<ai>
<enabled type="bool">true</enabled>
<!-- scenario>nimitz_demo</scenario -->
<scenario>aircraft_demo</scenario>
<!-- <scenario>refueling_demo</scenario> -->
<!-- <scenario>lead_aircraft</scenario> -->
</ai>
I had to wait that it happen again before posting this report.
Hope it helps
Alexis
[ADV :] Another round of advertising for KNID buildings :)
screenshots: http://croo.murgl.org/fgfs/scenery/index.html
download: http://croo.murgl.org/fgfs/scenery/KNID/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel