Bug - Console spamming
dsatgh opened this issue · 2 comments
dsatgh commented
These three lines are spamming my console every 0.1 seconds:
3770.35 [ALRT]:nasal Nasal runtime error: floating point error in math.cos()
3770.35 [ALRT]:nasal at /home/daniel/myFGFS/flightgear/share/fgdata/Nasal/geo.nas, line 172
3770.35 [ALRT]:nasal called from: /home/daniel/.fgfs/Aircraft/org.flightgear.fgaddon.stable_2020/Aircraft/A320-family/Nasal/FMGC/flightplan.nas, line 785
3770.35 [ALRT]:nasal called from: /home/daniel/.fgfs/Aircraft/org.flightgear.fgaddon.stable_2020/Aircraft/A320-family/Nasal/FMGC/flightplan.nas, line 945
Steps to reproduce the behaviour:
- Start the aircraft
- Make a flightplan
- Make the flight
- Park the aircraft
- Rudely turn off the engines
- After a few seconds see error
- OS: Debian 12
- FlightGear version: 2020.3.18
- A320 Version: Revision 52
legoboyvdlp commented
Possible division by zero, possible fix by fa6ee1d, please confirm
dsatgh commented
Confirmed. It's fixed. Thanks a lot.