View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003089 | Spring engine | Lua | public | 2012-05-14 01:12 | 2012-05-14 20:22 | ||||
Reporter | Rafal99 | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 88.0 | ||||||||
Target Version | Fixed in Version | 89.0 | |||||||
Summary | 0003089: Crash in engine provided Lua unit script framework gadget - WITH FIX | ||||||||
Description | unit_script.lua gadget crashes at line 781 in this replay: http://zero-k.info/Battles/Detail/75681 two times: -in frame 52171 (28:59) -in frame 55493 (30:49) Upon time-consuming investigation I found the cause of the crash: Two animation threads from one unit were finishing their Sleep() in one frame but the first one on WakeUp was killing the second one with Signal() function. This in turn caused the second thread to be removed from the "sleepers" table and it caused the for loop which was waking the threads to have its index to go our of range, because "sleepers" table was now shorter than it was at the start of the loop. Enough words, here is one possible way to fix it: http://code.google.com/p/zero-k/source/detail?r=6505 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-14 01:12 | Rafal99 | New Issue | |
2012-05-14 18:31 | Kloot | Status | new => assigned |
2012-05-14 18:31 | Kloot | Assigned To | => Kloot |
2012-05-14 20:22 | Kloot | Note Added: 0008697 | |
2012-05-14 20:22 | Kloot | Status | assigned => resolved |
2012-05-14 20:22 | Kloot | Fixed in Version | => 89.0 |
2012-05-14 20:22 | Kloot | Resolution | open => fixed |