#1258 closed defect (fixed)
qbot goes into endless loop on Death Canyon
Reported by: | Zsolt Dollenstein | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 10 |
Component: | UI & Simulation | Keywords: | ai qbot |
Cc: | Patch: |
Description
When playing on Death Canyon - Invasion Force, qbot suddenly went into an endless loop, rendering the game effectively frozen and pinning one CPU to 100%.
Philip did some investigation on irc:
[22:26:30] <@Philip`> quantumstate: qbot is looping infinitely, with a pattern of function entries like [22:26:35] <@Philip`> (resources.js:25) [22:26:38] <@Philip`> (resources.js:43) [22:26:39] <@Philip`> repeating forever [22:26:42] <@Philip`> (queue.js:15) [22:26:44] <@Philip`> (plan-building.js:46) [22:26:47] <@Philip`> (queue-manager.js:127)
I have attached my commands.txt which reproduces the problem 100% of the time.
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I could reproduce it with r11401 (as noted in the irc log).
With these calls it should be the while loop in queue-manager.js:248 that is running forever. Dumping some values shows the problem of a ratio being NaN and the ratioMin staying infinite, never removing the last entry from ratio.
This issue was already fixed in r11684.
comment:2 by , 11 years ago
Milestone: | Backlog → Alpha 10 |
---|
Note:
See TracTickets
for help on using tickets.
replay that reproduces the issue