MantisBT - VCMI | |||||
View Issue Details | |||||
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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | BUG_2479_CRASH_VCAI.zip (1,666,178) 2016-09-16 01:38 https://bugs.vcmi.eu/file_download.php?file_id=2522&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-09-16 01:38 | SXX | New Issue | |||
2016-09-16 01:38 | SXX | Status | new => assigned | ||
2016-09-16 01:38 | SXX | Assigned To | => SXX | ||
2016-09-16 01:38 | SXX | File Added: BUG_2479_CRASH_VCAI.zip | |||
2016-09-16 01:57 | SXX | Note Added: 0006676 | |||
2016-09-16 01:57 | SXX | Status | assigned => resolved | ||
2016-09-16 01:57 | SXX | Fixed in Version | => 0.99 | ||
2016-09-16 01:57 | SXX | Resolution | open => fixed | ||
2022-04-12 11:04 | Povelitel | Status | resolved => closed |
Notes | |||||
|
|||||
|
|