sorry, not the *commandline* below causes fg to break but similar .fgfsrc file...

fgfs --airport=EDHI --aircraft=bo105 --enable-game-mode
#################################################################

Again, only a present .fgfsrc with similar content causes a segfault, the commandline let fg regulary start.
Second hint: following message appeared twice:


Failed to find runway 28R at airport EDHI --aircraft=bo105 --enable-game-mode
Failed to find a good runway for EDHI --aircraft=bo105 --enable-game-mode


gdb session points on
Autopilot/xmlauto.cxx:804 ff
################################################################
static void update_helper( double dt ) {
// Estimate speed in 5,10 seconds
static SGPropertyNode *vel = fgGetNode( "/velocities/airspeed-kt", true );
static SGPropertyNode *lookahead5
= fgGetNode( "/autopilot/internal/lookahead-5-sec-airspeed-kt", true );
static SGPropertyNode *lookahead10
= fgGetNode( "/autopilot/internal/lookahead-10-sec-airspeed-kt", true );


   static double average = 0.0; // average/filtered prediction
   static double v_last = 0.0;  // last velocity

   double v = vel->getDoubleValue();   <===== segfault
################################################################
obvisously the last thread has no longer access to valid property nodes.

Regards
Ron




_______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to