MantisBT - VCMI
View Issue Details
0001434VCMIAI - Adventure Mappublic2013-09-05 00:482014-06-22 15:06
Povelitel 
Tow 
highcrashalways
closedfixed 
windowsxpsp3
0.93b 
0.94 
0001434: crash turn AI
end turn
No tags attached.
has duplicate 0001460closed Tow Crash server 
has duplicate 0001458closed Tow crash turn AI 
related to 0001456closed Tow crash turn AI 
rar games.rar (902,593) 2013-09-05 00:48
https://bugs.vcmi.eu/file_download.php?file_id=1448&type=bug
Issue History
2013-09-05 00:48PovelitelNew Issue
2013-09-05 00:48PovelitelStatusnew => assigned
2013-09-05 00:48PovelitelAssigned To => Tow
2013-09-05 00:48PovelitelFile Added: games.rar
2013-09-08 16:12TowNote Added: 0003966
2013-09-08 16:12TowStatusassigned => confirmed
2013-09-08 22:47TowNote Added: 0003981
2013-09-08 22:47TowStatusconfirmed => resolved
2013-09-08 22:47TowFixed in Version => 0.94
2013-09-08 22:47TowResolutionopen => fixed
2013-09-27 16:37TowRelationship addedrelated to 0001456
2013-09-27 19:52TowRelationship addedhas duplicate 0001460
2013-09-27 19:53TowRelationship addedhas duplicate 0001458
2014-06-22 13:38PovelitelNote Added: 0004782
2014-06-22 15:06KantorNote Added: 0004794
2014-06-22 15:06KantorStatusresolved => closed

Notes
(0003966)
Tow   
2013-09-08 16:12   
Reproducible.

Stacktrace:
     VCMI_lib.dll!CPrivilagedInfoCallback::getAllowedSpells(std::vector<SpellID,std::allocator<SpellID> > & out={...}, unsigned short level=0) Line 208 C++
     VCMI_server.exe!CGameHandler::giveSpells(const CGTownInstance * t=0x00000005, const CGHeroInstance * h=0x02cf2d20) Line 1585 C++
     VCMI_server.exe!CGameHandler::newTurn() Line 1218 C++
     VCMI_server.exe!CGameHandler::run(bool resume=false) Line 1506 C++
     VCMI_server.exe!CVCMIServer::loadGame() Line 508 C++
     VCMI_server.exe!CVCMIServer::start() Line 442 C++
> VCMI_server.exe!main(int argc=2, char * * argv=0x00e6ef20) Line 562 C++
(0003981)
Tow   
2013-09-08 22:47   
Fixed in r3541.

The vector<bool> deserializatoin didn't clean the object before loading, allowedSpells list was duplicated and twice as big as should.
(0004782)
Povelitel   
2014-06-22 13:38   
Kantor, look, can can close them?
(0004794)
Kantor   
2014-06-22 15:06   
This one may be closed.