Re: [Flightgear-devel] crash in groundnetwork
On Sunday 13 August 2006 21:34, Mathias Fröhlich wrote: Hi Durk, On Saturday 12 August 2006 00:32, Durk Talsma wrote: Btw, where did you experience these problems (which airport), and how did they manifest themselves? Program crashes? I've been running recent versions of FlightGear using the EHAM groundnetwork, and hadn't seen any problem yet. It's possible that it's something that only shows up at KSFO (which I haven't tested so much yet). Yes that was at KSFO. Flightgear died just at startup in that code. We had active multiplayers enabled. BTW, I predict that if you used the routesStack.emty() guard, the progam was crashing in TaxiRoute.next(), because the (nodes.size() == (routes.size()) +1 condition was not met anymore. I did include a test for this condition, but since it was always true on my system, I commented it out. My estimate is that the solution is fairly easy, and I'll probably have something by Tuesday (I'll be out of town on the weekend). Okay,looks like I found it: Because I'm pushing back one route id less than I'm pushing back waypoint identifiers, I should also make sure that I'm not popping back the route id in the final exit of trace. Fix should be in CVS in an hour or so. I just want to do a bit more testing. :-) Cheers, Durk - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] crash in groundnetwork
Hi Durk, On Saturday 12 August 2006 00:32, Durk Talsma wrote: Btw, where did you experience these problems (which airport), and how did they manifest themselves? Program crashes? I've been running recent versions of FlightGear using the EHAM groundnetwork, and hadn't seen any problem yet. It's possible that it's something that only shows up at KSFO (which I haven't tested so much yet). Yes that was at KSFO. Flightgear died just at startup in that code. We had active multiplayers enabled. BTW, I predict that if you used the routesStack.emty() guard, the progam was crashing in TaxiRoute.next(), because the (nodes.size() == (routes.size()) +1 condition was not met anymore. I did include a test for this condition, but since it was always true on my system, I commented it out. My estimate is that the solution is fairly easy, and I'll probably have something by Tuesday (I'll be out of town on the weekend). Thanks! Greetings Mathias - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] crash in groundnetwork
Hi, while debugging Maik's multiplayer problems, Olaf and I experienced some problems in groudnetwork.cxx. At the end of the FGGroundNetwork::trance() there are two pop_back's where the second one poped an non existent last entry from the routesStack vector. We tried to avoid poping in that case by an if (!routesStack.empty()) guard in from of that pop_back. But with that we got some other problems in FGTaxiRoute::next() ... If we revert groundnetwork.cxx to the previous revision, those problems were gone. Any ideas? Greetings Mathias - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel