for a while now i've been noticing that flightgear takes an incredible
amount of time to start. today i attached gdb to the fgfs process and
this is what i got:

#1  0x08410bde in netSocket::select (reads=0xbfa895c0, writes=0xbfa895c8, 
    timeout=0) at netSocket.cxx:384
#2  0xb7e99b3c in SGSocket::poll (this=0xd689420) at sg_socket.cxx:392
#3  0xb7e9b424 in SGSocket::readline (this=0xd689420, 
    buf=0xbfa8966c "1124746455", length=512) at sg_socket.cxx:256
#4  0xb7dd3d09 in SGMetar::loadData (this=0xd158aa0, id=0xd158ab4 "KHOU", 
    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], time=1124746455)
    at metar.cxx:218
#5  0xb7dd91ec in SGMetar (this=0xd158aa0, [EMAIL PROTECTED], [EMAIL 
PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], time=1124746455) at metar.cxx:90
#6  0x083f3e77 in FGMetar (this=0xd158aa0, [EMAIL PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at fgmetar.cxx:45
#7  0x083e93f0 in FGMetarEnvironmentCtrl::fetch_data (this=0xcb59ef0, 
    [EMAIL PROTECTED]) at environment_ctrl.cxx:545
#8  0x083eb1bf in FGMetarEnvironmentCtrl::init (this=0xcb59ef0)
    at environment_ctrl.cxx:403
#9  0xb7df0acf in SGSubsystemGroup::init (this=0xcb593a0)
    at subsystem_mgr.cxx:92
#10 0x083e3ee6 in FGEnvironmentMgr::init (this=0xcb593a0)
    at environment_mgr.cxx:66
#11 0xb7df0acf in SGSubsystemGroup::init (this=0x88ad5fc)
    at subsystem_mgr.cxx:92

i am starting at the default airport (KSFO) so i wonder why we are
even trying to load the data for KHOU (which is in huston)? could it
be we are trying to load the metar data for all the airports? does
anybody have any idea what's going on?

btw, this is on linux.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

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

Reply via email to