View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0002479 | VCMI | AI - Adventure Map | public | 2016-09-16 01:38 | 2022-04-12 11:04 |
|
Reporter | SXX | |
Assigned To | SXX | |
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 0.98g | |
Target Version | | Fixed in Version | 0.99 | |
|
Summary | 0002479: VCAI::performTypicalActions: crash when attempt to use removed hero |
Description | Problem occur because in that function getUnblockedHeroes called here once and resulting vector actually remain there for all AI turn duration. Within turn hero might get killed and of course when AI try to use removed hero game crashing.
First I though there is some race condition, but actually it's looks like problem occur due to lack of checks.
What bother me the most is that is why we didn't catch this one before since I run a lot of games and only now I got reproducible crash. I suppose this can be related to both fixed RMG or fact that AI just not usually lose heroes on it's turn. |
Tags | No tags attached. |
|
Attached Files | BUG_2479_CRASH_VCAI.zip [^] (1,666,178 bytes) 2016-09-16 01:38 |
|