MantisBT - VCMI
View Issue Details
0001679VCMIAI - Adventure Mappublic2014-02-01 14:092014-06-02 10:27
Povelitel 
Tow 
normalcrashalways
closedfixed 
Windows7 sp1
0.94c 
0.95 
0001679: Crash turn AI
http://www.fotolink.su/pic_b/c33f121bebd48e3f4fd6f97c09cdeea7.png [^]

console
http://www.fotolink.su/pic_b/e4e20ab544985a66a1cea89b4e1cbafd.png [^]
No tags attached.
rar games.rar (270,481) 2014-02-01 14:09
https://bugs.vcmi.eu/file_download.php?file_id=1671&type=bug
rar 0.94f.rar (478,923) 2014-02-24 10:50
https://bugs.vcmi.eu/file_download.php?file_id=1734&type=bug
rar 0.94f2.rar (583,410) 2014-02-27 21:56
https://bugs.vcmi.eu/file_download.php?file_id=1762&type=bug
rar 0.94f3.rar (1,296,969) 2014-02-27 21:57
https://bugs.vcmi.eu/file_download.php?file_id=1763&type=bug
rar 0.94f4.rar (304,392) 2014-02-27 21:57
https://bugs.vcmi.eu/file_download.php?file_id=1764&type=bug
rar 0.94f5.rar (1,044,271) 2014-02-27 21:57
https://bugs.vcmi.eu/file_download.php?file_id=1765&type=bug
Issue History
2014-02-01 14:09PovelitelNew Issue
2014-02-01 14:09PovelitelStatusnew => assigned
2014-02-01 14:09PovelitelAssigned To => Tow
2014-02-01 14:09PovelitelFile Added: games.rar
2014-02-01 17:09TowNote Added: 0004369
2014-02-01 17:09TowStatusassigned => confirmed
2014-02-08 22:22PovelitelNote Added: 0004427
2014-02-08 22:37TowNote Added: 0004429
2014-02-24 10:50PovelitelNote Added: 0004519
2014-02-24 10:50PovelitelFile Added: 0.94f.rar
2014-02-27 21:56PovelitelFile Added: 0.94f2.rar
2014-02-27 21:57PovelitelFile Added: 0.94f3.rar
2014-02-27 21:57PovelitelFile Added: 0.94f4.rar
2014-02-27 21:57PovelitelFile Added: 0.94f5.rar
2014-03-01 12:25TowNote Added: 0004542
2014-03-01 12:25TowStatusconfirmed => resolved
2014-03-01 12:25TowFixed in Version => 0.95
2014-03-01 12:25TowResolutionopen => fixed
2014-06-02 10:27KantorNote Added: 0004726
2014-06-02 10:27KantorStatusresolved => closed

Notes
(0004369)
Tow   
2014-02-01 17:09   
Reproducible.
Player blue tries to make his moves even though he is out of the game.
When he sets selection, game over package is processed.
When recalculating paths as part of selection request, hero is already removed from map -> assertion fails.

Stacktrace
> VCMI_lib.dll!CPathfinder::calculatePaths(int3 src, int movement) Line 3276 C++
     VCMI_lib.dll!CGameState::calculatePaths(const CGHeroInstance * hero, CPathsInfo & out, int3 src, int movement) Line 2114 C++
     VCMI_client.exe!CClient::calculatePaths(const CGHeroInstance * h) Line 658 C++
     VCMI_client.exe!CCallback::setSelection(const CArmedInstance * obj) Line 251 C++
     VCAI.dll!VCAI::isAccessibleForHero(const int3 & pos, HeroPtr h, bool includeAllies) Line 1548 C++
     VCAI.dll!Goals::Conquer::getAllPossibleSubgoals() Line 797 C++
     VCAI.dll!Goals::Conquer::whatToDoToAchieve() Line 773 C++
     VCAI.dll!VCAI::striveToGoalInternal(std::shared_ptr<Goals::AbstractGoal> ultimateGoal, bool onlyAbstract) Line 1894 C++
     VCAI.dll!VCAI::striveToGoal(std::shared_ptr<Goals::AbstractGoal> ultimateGoal) Line 1867 C++
     VCAI.dll!VCAI::makeTurnInternal() Line 719 C++
     VCAI.dll!VCAI::makeTurn() Line 677 C++
(0004427)
Povelitel   
2014-02-08 22:22   
very bad case for treatment?
(0004429)
Tow   
2014-02-08 22:37   
Actually… pretty bad.
This is the issue I was referring to in http://forum.vcmi.eu/viewtopic.php?p=11441#11441 [^]
(0004519)
Povelitel   
2014-02-24 10:50   
still happaned 0.94f :(
(0004542)
Tow   
2014-03-01 12:25   
Fixed in r3785.
(0004726)
Kantor   
2014-06-02 10:27   
This one may be closed.