TwinFan / LiveTraffic

LiveTraffic is an X-Plane multiplayer plugin, which fills your sky with live air traffic based on public flight tracking data.
https://twinfan.gitbook.io/livetraffic/
Other
100 stars 25 forks source link

Aircraft removed due to `ASSERT FAILED: (defMin <= tval) && (tval <= defMax)` #245

Closed TwinFan closed 1 year ago

TwinFan commented 1 year ago

Describe the bug

ASSERT FAILED: (defMin <= tval) && (tval <= defMax) appears in Log.txt, subsequently meaning that an aircraft gets removed or not even created.

To Reproduce

Unclear

Expected behaviour

No fatal error, aircraft stay available and can be created when needed.

Technical Info

Log.txt

A relevant excerpt is:

0:20:51.523 LiveTraffic FATAL LTAircraft.cpp:209/moveTo: ASSERT FAILED: (defMin <= tval) && (tval <= defMax)
0:20:51.523 LiveTraffic ERROR LTAircraft.cpp:2949/UpdatePosition: Caught top-level exception! ASSERT FAILED: (defMin <= tval) && (tval <= defMax)
0:20:51.523    LT/XPMP2 ERROR Aircraft.cpp:801/SetInvalid: Aircraft 0x39856B set INVALID
...
0:21:26.438 LiveTraffic INFO  LTAircraft.cpp:1312/LTAircraft: Added aircraft ICAO 39856B (E190 AFR24BD), operator 'HOP', a/c model 'E190 HOP', flight model [MediumJets], bearing 266, distance 0.2nm, from channel OpenSky Live Online

...

0:26:35.500 LiveTraffic FATAL LTAircraft.cpp:209/moveTo: ASSERT FAILED: (defMin <= tval) && (tval <= defMax)
0:26:35.500 LiveTraffic ERROR LTFlightData.cpp:2699/CreateAircraft: Exception occured while creating a/c 3DD3BF of type R44: ASSERT FAILED: (defMin <= tval) && (tval <= defMax)
PosDeque before was:
1667490633.0: (51.52490, 7.19470)   825.0ft  GND_OFF                           {h  35 , p   2, r   0} <h  35,    96m @   1kt,  -82ft/m>
1667490797.0: (51.52560, 7.19550)   600.0ft  GND_OFF                           {h  35 , p   2, r   0}
0:26:35.500 LiveTraffic ERROR LTFlightData.cpp:2710/CreateAircraft: Could not create new object (memory?): 3DD3BF
...
0:28:26.033 LiveTraffic INFO  LTAircraft.cpp:1312/LTAircraft: Added aircraft ICAO 3DD3BF (R44 DHALB), operator '', a/c model 'AS50 EXB', flight model [Heli], bearing 47, distance 21.8nm, from channel OpenSky Live Online

Additional Context

Has been reported repeatedly, have seen it myself. Here is one support post on it.