UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #3231 Extremely slow air combat
Go to the next issue (open or closed)
Go to the next open issue
mattn (@tlh2000) has been working on this issue since January 28, 2013 (20:48)
Issue basics
  • Type of issue
    Bug report
  • Category
    Campaign
  • Targetted for
    Not determined
  • Status
    Open
  • Priority
    5. Important
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/3231 Item 3231] imported from sourceforge.net tracker on 2013-01-28 20:05:19

Attacking Fighter ufo with my two Stiletto interceptors, the game almost freezes when they begin to fight at close distance. The effect is like there are high-priority process taking all processor time, mouse cursor is updated like 1 time in 10 seconds. Total combat time is about 30-40 seconds on 5 min time mode. 100% reproducible. Game verison is 2.4 release candidate, I had no such an effect in 2.4 November/December builds. My system is Vista x64 SP2.
===== Comments Ported from Sourceforge =====

====== serg334 (2012-04-10 09:52:59) ======

air combat, figter ufo shot down, quit to desktop
====== snakesanders (2012-04-10 11:56:12) ======

I think November/December builds really contains this but it was fixed in latest versions.
Link for downloading:
ufoai.org/snapshots/ufoai-stable-win32.exe
====== serg334 (2012-04-10 12:45:11) ======

I just tested it with latest build (April, 10) - still have this effect
====== serg334 (2012-04-25 23:22:23) ======

New test: 2.4 Release - bug is present. 2.5 - no such bug.
====== diskcrasher (2012-04-28 17:22:35) ======

Am also having this problem with 2.4 release.
====== tlh2000 (2012-05-01 15:21:37) ======

this only happens in release mode compilation afair
====== mcr2010 (2012-05-09 04:40:04) ======

Increased priority because it affects many players. Should be fixed for 2.4.1.
====== tlh2000 (2012-05-09 09:29:52) ======

please attach a savegame for testing
====== serg334 (2012-05-10 03:04:23) ======

Stiletto vs Fighter
====== serg334 (2012-05-10 03:06:12) ======

Savegame attached, one Stiletto vs Fighter (same effect as with two Stilettos)
====== tlh2000 (2012-05-10 10:22:09) ======

not reproducible even with the attached savegame (linux)

can some windows user please try to reproduce it with the attached savegame?
====== tlh2000 (2012-05-10 13:17:17) ======

windows only issue.
====== tlh2000 (2012-05-10 13:21:53) ======

... i was able to reproduce it once with the attached savegame - but now... not reproducible (windows)
====== tlh2000 (2012-05-11 08:42:24) ======

this topic has another savegame attached: http://ufoai.org/forum/index.php/topic,6574.msg52171.html#msg52171
====== *anonymous (2012-08-16 23:55:19) ======

this still happens in the last stable release (2.4)
====== aduke1 (2012-10-07 23:53:30.942000) ======

- **assigned_to**: Martin Gerhardy

====== darkrainx (2012-10-08 01:09:02.751000) ======

Duplicates: [#3358], [#3361], [#3250]
====== gil75 (2012-10-27 00:57:54.455000) ======

I keep encountering this bug - very reproducable under windows 7.
This only happens when two aricrafts (the interceptor and the ufo being intercepted) have the same speed. my assumption is: since the interceptor is set to follow the UFO and the UFO is set to attack the interceptor, both will end up on the same spot... from there a deadlock emerges. I also assume that the X,Y,Z of each are being represented in floating point varibles with limited accuracy and this is the reason while the deadlock is not causing a total freeze. If there is already a test in the code for checking if both aircrafts are on the same spot and than a branch to an alternative behavior - this test should be rounded to the nearst integer value, or a lowered resolution value.
====== pashara (2012-12-07 22:48:21.428000) ======

I have this bug in the last stable release (2.4) on two computers, only if speed interceptor=speed ufo
how to correct it?
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif