[Flightgear-devel] Re: [BUG] fgfs hangs forever in FGTileLoader::LoaderThread

2004-06-14 Thread Melchior FRANZ
* Melchior FRANZ -- Tuesday 01 June 2004 17:18:
> I get regularly hangs in FGTileLoader::LoaderThread. fgfs doesn't update the
> screen then and plays the same monotonous sounds.
[...]
> It isn't reproducible, but seems to happen more often with the c172p and never
> with the bo105 (for whatever reason).

This should be fixed by now. The reason why it never happened with the bo105 is
that it wasn't really a threading bug, but a JSBSim bug. Took me a quite a
while to find it. Ctrl-C in gdb always left me in the FGTileLoader, which was
waiting for orders and was completely innocent. (I hadn't known gdb's "thread"
command before.) I apologize to the the tile loader!

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: [BUG] fgfs hangs forever in FGTileLoader::LoaderThread

2004-06-01 Thread Curtis L. Olson
Melchior FRANZ wrote:
* Jon Stockill -- Tuesday 01 June 2004 18:50:
 

I've seen pauses of a few seconds, then the weather updates and 
everything starts moving again. Is it time for a weather thread?
   

Yes, it's time for a weather thread. That's why we have one since
ages. (see Environment/environment_ctrl.cxx :-)
 

I forget the details, but I don't think the initial call to the noaa is 
done inside the thread so you still can have possibly long pauses if the 
site is down or no data is available for the stations in your immediate 
vicinity.

Regards,
Curt.
--
Curtis Olsonhttp://www.flightgear.org/~curt 
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: [BUG] fgfs hangs forever in FGTileLoader::LoaderThread

2004-06-01 Thread Melchior FRANZ
* Jon Stockill -- Tuesday 01 June 2004 18:50:
> I've seen pauses of a few seconds, then the weather updates and 
> everything starts moving again. Is it time for a weather thread?

Yes, it's time for a weather thread. That's why we have one since
ages. (see Environment/environment_ctrl.cxx :-)

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: [BUG] fgfs hangs forever in FGTileLoader::LoaderThread

2004-06-01 Thread Melchior FRANZ
* Erik Hofman -- Tuesday 01 June 2004 18:17:
> Melchior FRANZ wrote:
> > I get regularly hangs in FGTileLoader::LoaderThread. fgfs doesn't update the
> > screen then and plays the same monotonous sounds. Even after waiting for some
> > minutes fgfs doesn't recover. When I interrupt it in gdb and ask for the bt,
> 
> The only time when I know this happens is with the real-weather-fetch 
> option enabled and the METAR site is unreachable.

Not in my case, because I've had that feature turned off for a week. (Didn't want
to annoy noaa.gov too much, because I restarted fgfs very often for bo adjustments.)

m.  

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel