Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/2092 Item 2092] imported from sourceforge.net tracker on 2013-01-28 19:18:54
ver: svn trunk rev. 23997
system: Linux 2.6.28-gentoo-r2 #15 PREEMPT i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux
reproducible: always in campain
steps to reproduce:
1. Start new campain (I tried Very Easy, Standard, Hard, Very Hard).
2. Skip intro.
3. Create HQ, build bases, buy interceptors and equip them with weapons/armors/electronics.
4. Try to intercept UFO flying nearing your base, or try to send Firebird to any ground mission.
5. [BUG] regadless distance to target (even for less than SAM missle range) after several seconds of flying your ship returned to base with message "<aircraft_type> is low on fuel and return to base".
6. Don't know how to avoid this, I can do research, produce, equip, but I cann't perform any ground/air mission cause aircraft return to base immedeately regadless distance to target.
Cann't attach ufoconsole.log cause it bigger than 256kb, tell me if it need, I'll attach it as several files.
===== Comments Ported from Sourceforge =====
====== geever (2009-04-11 12:07:09) ======
Please attach a savegame.
-geever
====== expii (2009-04-12 18:58:59) ======
save game with SAM missile range ground mission
====== expii (2009-04-12 19:00:02) ======
I've attached save game with described bug
====== geever (2009-04-13 08:47:27) ======
I can't reproduce it here with the savegame either. The dropship reaches the mission. However I see the messages you got about it. Strange... need more info.
Linux 2.6.18-6-k7 #1 SMP Sat Dec 27 10:04:42 UTC 2008 i686 GNU/Linux (Debian Etch)
-geever
====== expii (2009-04-13 09:42:02) ======
What additional info I have to post? SDL libs version, sys libs version or something else?
Food for thought: I spent some time to force Firebird to reach mission (just retargeting it each time it wanna return to base) and start ground mission. But in my first turn after I moved two of my soldiers, I was returned to geoscape screen and game crashed. Unfortunately I didn't make screenshots, saves or logging. In a few days I'll have enough time to repeat this long procedure and give you all necessary.
====== geever (2009-04-13 19:55:15) ======
I meant we should find out what happens there. It would be nice if you could debug it. As I said I couldn't reproduce it.
-geever
====== geever (2009-04-13 19:56:53) ======
Oh, the other problem in battle must be another bug and if I'm right it's already solved.
-geever
====== expii (2009-04-18 13:43:39) ======
rev. 24084: cann't reproduce bug, all is ok :)
====== geever (2009-04-18 22:41:09) ======
Closin' then.
-geever
====== ronin-sage (2010-06-27 19:19:26) ======
I'm experiencing the same issue.
Linux 2.6.35-rc3
UFO:AI 2.3
====== geever (2010-06-27 22:53:57) ======
Managed to get some debug info:
Stiletto I...distance: 0.000000...max_distance: 148.167511 (pos: 101.194153, 24.897717)
Stiletto I...distance: 2.252526...max_distance: 148.167511 (pos: 101.194153, 24.897717)
Stiletto I...distance: 0.000000...max_distance: 148.152496 (pos: 101.178024, 24.894541)
Stiletto I...distance: 2.250839...max_distance: 148.152496 (pos: 101.178024, 24.894541)
Stiletto I...distance: 0.000000...max_distance: 148.137497 (pos: 101.161888, 24.891401)
Stiletto I...distance: 2.249235...max_distance: 148.137497 (pos: 101.161888, 24.891401)
Stiletto I...distance: 0.000000...max_distance: 148.120010 (pos: 101.143051, 24.887775)
Stiletto I...distance: 2.247538...max_distance: 148.120010 (pos: 101.143051, 24.887775)
Stiletto I...distance: nan...max_distance: 148.105011 (pos: 101.126892, 24.884712)
Stiletto I...distance: 2.246205...max_distance: 148.105011 (pos: 101.126892, 24.884712)
in some not too rare cases GetDistanceOnGlobe returns nan. Behavior after this is unpredictable...
-geever
====== geever (2010-06-27 23:34:57) ======
I have a patch, I'll ask you ronin-sage to test it tomorrow. (I don't have the bug, I cannot prove the fix)
-geever
====== geever (2010-06-28 19:21:10) ======
test-patch
====== geever (2010-06-28 20:32:12) ======
Alienfood confirmed the patch. Committed into r30741 (trunk), r30742 (branch_2.3).
-geever
====== sf-robot (2010-07-13 02:20:06) ======
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).