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
-------------------------------------------------------------------------
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