Hi, I got a segmentation fault using --native=file,in,10,test --fdm=external where the file "test" is 12MB big
Then I tried with a smaller file (1.2MB) and it worked fine. I'm using FG OSG CVS, compiled yesterday and this is the first time I use this option. The test files are created using --native=file,out,10,test here is the result (last lines) of --log-level=debug with the 12MB size file: Running Main Loop ======= ==== ==== Updating time Current Unix calendar time = 1174401951 warp = 0 Current GMT = 3/20/2007 14:45:51 Current Unix calendar time = 1174401951 warp = 0 Current GMT = 3/20/2007 14:45:51 Current Julian Date = 2.45418e+06 COURSE: GMT = 2/20/107 14:45:51 March 21 noon (GMT) = 1174478400 Time since 3/21/107 GMT = -0.884826 days = 0 hours = 14.7642 lon = 0 lst = 2.76417 COURSE: GMT = 2/20/107 14:45:51 March 21 noon (GMT) = 1174478400 Time since 3/21/107 GMT = -0.884826 days = 0 hours = 14.7642 lon = 122.357 lst = 18.607 Current lon=0.00 Sidereal Time = 2.61449 gst => 194.614 Current LOCAL Sidereal Time = 18.4573 (18.4573) (diff = -0.149675) Elapsed time interval is = 716961, previous remainder is = 1083 --> Frame rate is = 7 Model iterations needed = 86, new remainder = 1378 Finally initializing fdm Start common FDM init ...initializing position... Checking for lon = -122.357deg, lat = 37.6135deg, alt = -9999ft prepare_ground_cache(): ac radius = 10, # triangles = 0, # wires = 0, # catapults = 0, ground_radius = 0 prepare_ground_cache(): trying to build cache without any scenery below the aircraft prepare_ground_cache(): ac radius = 10, # triangles = 0, # wires = 0, # catapults = 0, ground_radius = 6.37021e+06 ...initializing ground elevation to -1.512ft... ...initializing sea-level radius... lat = 37.6135 alt = -1.412 ...initializing velocities... ...initializing Euler angles... End common FDM init Attempt to set archive flag for non-existant property /position/ground-elev-ft Attempt to set archive flag for non-existant property /position/ground-elev-m Attempt to set archive flag for non-existant property /position/sea-level-radius-ft ** FDM initialized ** lon = -2.13554 lat_geod = 0.65648 lat_geoc = 0.653236 alt = -1.412 sl_radius = 2.08996e+07 Equator = 2.09256e+07 prepare_ground_cache(): ac radius = 10, # triangles = 27, # wires = 0, # catapults = 0, ground_radius = 6.37021e+06 Success reading data. Erreur de segmentation Best regards. Seb ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel