I swear, I didn't do anything! Just flew the UFO from 28R to the
Candlestick Park stadion. Whaa ...


#0  0x403f168f in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string ()
   from /usr/lib/libstdc++.so.6
#1  0x080c419f in FGTower::CheckDepartureList (this=0xe16c518, 
dt=0.066666666666666666) at tower.cxx:1320
#2  0x080ca54d in FGTower::Update (this=0xe16c518, dt=0.066666666666666666) at 
tower.cxx:401
#3  0x080a606e in FGATCMgr::update (this=0xa60fc00, dt=0.033333333333333333) at 
ATCmgr.cxx:171
#4  0x080571b6 in fgMainLoop () at main.cxx:458
#5  0x08052c54 in fgOSMainLoop () at fg_os_sdl.cxx:239
#6  0x080595ef in fgMainInit (argc=12, argv=0xbfdd45e4) at main.cxx:1040
#7  0x08051a98 in main (argc=12, argv=0xbfdd45e4) at bootstrap.cxx:203


| (gdb) f 1
#1  0x080c419f in FGTower::CheckDepartureList (this=0xe16c518, 
dt=0.066666666666666666) at tower.cxx:1320
1320                            string trns = t->plane.callsign;


| (gdb) print t->plane.callsign
$1 = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = 
{<No data fields>}, <No data fields>},
    _M_p = 0x0}}


| (gdb) print t.plane
$10 = {type = GA_HP_SINGLE, callsign = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = 
{<No data fields>}, <No data fields>},
      _M_p = 0x0}}, squawkcode = 280057572}


| (gdb) print *t
$2 = {planePtr = 0x85f6ac8, plane = {type = GA_HP_SINGLE, callsign = {static 
npos = 4294967295,
      _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> 
= {<No data fields>}, <No data fields>},
        _M_p = 0x0}}, squawkcode = 280057572}, pos = {n = 
{9.5410035155002603e-229, 0, 0}}, eta = 0,
  dist_out = 39.728645356308817, clearedToLand = false, clearedToLineUp = 
false, clearedToTakeOff = false,
  holdShortReported = false, downwindReported = 3, longFinalReported = false, 
longFinalAcknowledged = false,
  finalReported = false, finalAcknowledged = false, rwyVacatedReported = false, 
rwyVacatedAcknowledged = false,
  goAroundReported = false, instructedToGoAround = 3, onRwy = false, nextOnRwy 
= false, vfrArrivalReported = false,
  vfrArrivalAcknowledged = false, opType = 16, leg = BASE, landingType = 
FULL_STOP, isUser = 96}


| (gdb) print *this
$3 = {<FGATC> = {_vptr.FGATC = 0x85b3c68, lon = -122.375, lat = 
37.618999481201172, elev = 13, x = -2708543.25, y = -4272100,
    z = 3872042, freq = 12050, range = 50, ident = {static npos = 4294967295,
      _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> 
= {<No data fields>}, <No data fields>},
        _M_p = 0xb248dfc "KSFO"}}, name = {static npos = 4294967295,
      _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> 
= {<No data fields>}, <No data fields>},
        _M_p = 0xb248edc "San Francisco"}}, _type = TOWER, _voice = false, 
_playing = true, _voiceOK = false,
    _vPtr = 0x43918000, pending_transmission = {static npos = 4294967295,
      _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> 
= {<No data fields>}, <No data fields>},
        _M_p = 0x10ae480c "Charlie Papa Tango You are now clear of my airspace, 
good day"}}, freqClear = false,
    receiving = true, responseReqd = false, runResponseCounter = false, 
responseTime = 1.01151150328208e-307,
    responseCounter = 4.2450862971277329e-255, responseID = {static npos = 
4294967295,
      _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> 
= {<No data fields>}, <No data fields>},
        _M_p = 0x4043dd44 ""}}, respond = false, _runReleaseCounter = false, 
_releaseTime = 0.90000000000000002,
    _releaseCounter = 0.91666666666666685, _display = true, _displaying = 
false, _pending = false, _timeout = 0,
    _callback_code = 0, _transmit = false, _transmitting = true, _counter = 
0.91666666666666663, _max_count = 5},
  ATCmgr = 0xa60fc00, update_count = 8, update_count_max = 15, 
timeSinceLastDeparture = 67.350000000000463, departed = true,
  wind_from_hdg = 0xac1a120, wind_speed_knots = 0xb023a40, aptElev = 13, 
activeRwy = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = 
{<No data fields>}, <No data fields>},
      _M_p = 0x925780c "10L"}}, rwy = {threshold_pos = {n = 
{-122.3930865560335, 37.628637860072942, 13}}, end1ortho = {n = {
        -0, 0, 13}}, end2ortho = {n = {6.3660460165182782, 3558.9239965406018, 
13}}, hdg = 117.90000000000001,
    length = 3610.3560000000002, width = 60.960000000000001, rwyID = {static 
npos = 4294967295,
      _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> 
= {<No data fields>}, <No data fields>},
        _M_p = 0x925780c "10L"}}, patternDirection = -1}, rwyOccupied = false, 
ortho = {_origin = {n = {-122.3930865560335,
        37.628637860072942, 13}}, _theta = 2.0577431721612811, 
_correction_factor = 0.79198458173164299},
  appList = {<std::_List_base<TowerPlaneRec*,std::allocator<TowerPlaneRec*> >> 
= {
      _M_impl = {<std::allocator<std::_List_node<TowerPlaneRec*> >> = 
{<__gnu_cxx::new_allocator<std::_List_node<TowerPlaneRec*> >> = {<No data 
fields>}, <No data fields>}, _M_node = {_M_next = 0xe16c67c, _M_prev = 
0xe16c67c}}}, <No data fields>},
[...]


No core dump available, unfortunately. When I tried to save it (gcore)
gdb itself dumped core.  :-}

*t doesn't look like garbage, but the callsign string is obviously invalid.

m.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to