On Tuesday 14 November 2006 19:03, Maik Justus wrote: > Hi, > > I observe fg crashing from time to time (with osg and plib-branch). > Unfortunately my debug compilation shows extreme low performance > (<1fps), therefore I run the speed-optimized version with less debug > information mostly. With the debug version I was not able to get the > crash (in a short time test). With the optimized version the debugger > points always to groundnetwork.cxx line ~806, call stack: > FlightGear.exe!FGGroundNetwork::checkSpeedAdjustment(int id=, > double lat=, double lon=, double heading=, double speed=, double alt=) > Zeile 806 + 0xc Bytes C++
> > Anyone else observing these crashes? > Hi Maik, I haven't seen this error yet, but I might have found why it is crashing. There is an STL vector<>:: iterator variable called 'current' which appears to be initialized only when there is still traffic on the ground network. Since I'm always testing with a massive database, I've never gotten a situation where there is no traffic left. Hence, the code never bombed in my test case. I'm compiling a suggested fix right now, and if it works, I'll check it into CVS (OSG) ASAP. Thanks for reporting. :-) Cheers, Durk ------------------------------------------------------------------------- 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