MantisBT - VCMI
View Issue Details
0002897VCMIGUI - Battlespublic2018-02-28 23:372022-05-04 06:32
Andruids 
Nullkiller 
normalcrashalways
resolvedfixed 
PCWindows8.1
0.99 
1.next 
0002897: Summoned elementals + Armageddon crash
When you summon an Earth/Fire elemental stack and cast Armageddon, so that it wipes out all creatures except summoned elementals, it crashes the game.
1) Start a single player scenario with any hero expect Necropolis
2) Type a cheatcode fo all spells: vcmiistari
3) Enter battle
4) Summon e.g. Earth Elemental
5) Cast Armageddon to kill all creatures except elementals
No tags attached.
related to 0003089resolved Nullkiller Crash when only summoned creatures are left alive 
? FireElementalsArmageddon.vmap (2,657) 2018-03-05 01:05
https://bugs.vcmi.eu/file_download.php?file_id=2871&type=bug
Issue History
2018-02-28 23:37AndruidsNew Issue
2018-03-03 16:14PovelitelNote Added: 0007462
2018-03-03 16:14PovelitelAssigned To => Povelitel
2018-03-03 16:14PovelitelStatusnew => feedback
2018-03-05 01:05AndruidsFile Added: FireElementalsArmageddon.vmap
2018-03-05 01:07AndruidsNote Added: 0007477
2018-03-05 01:07AndruidsStatusfeedback => assigned
2018-03-05 01:08AndruidsNote Edited: 0007477bug_revision_view_page.php?bugnote_id=7477#r3453
2018-03-05 10:39PovelitelNote Added: 0007478
2018-03-05 10:39PovelitelAssigned ToPovelitel => AVS
2018-03-05 10:43PovelitelNote Edited: 0007478bug_revision_view_page.php?bugnote_id=7478#r3455
2022-03-18 16:42PovelitelNote Added: 0008181
2022-03-20 20:24PovelitelRelationship addedrelated to 0003089
2022-05-04 06:32PovelitelNote Added: 0008291
2022-05-04 06:32PovelitelStatusassigned => resolved
2022-05-04 06:32PovelitelFixed in Version => 1.next
2022-05-04 06:32PovelitelResolutionopen => fixed
2022-05-04 06:32PovelitelAssigned ToAVS => Nullkiller

Notes
(0007462)
Povelitel   
2018-03-03 16:14   
I can't confirm it.

But i have win 10...

Can you add map?
(0007477)
Andruids   
2018-03-05 01:07   
(edited on: 2018-03-05 01:08)
Here you go. Sorry for tarrying.

I just tested this map:
1) enter fight with peasants
2) summon elementals
3) cast armageddon
4) crash

happens every time

(0007478)
Povelitel   
2018-03-05 10:39   
(edited on: 2018-03-05 10:43)
Now reproducibility. After battle when press OK

if (_Buy(_Right.size()))


> VCMI_lib.dll!std::vector<int,std::allocator<int> >::vector<int,std::allocator<int> >(const std::vector<int,std::allocator<int> > & _Right)Строка 768 C++ Непользовательский код. Символы загружены.
     VCMI_lib.dll!SetResources::applyGs(CGameState * gs)Строка 38 C++ Символы загружены.
     VCMI_lib.dll!CApplyOnGS<SetResources>::applyOnGS(CGameState * gs, void * pack)Строка 63 C++ Символы загружены.
     VCMI_lib.dll!CGameState::apply(CPack * pack)Строка 1958 C++ Символы загружены.
     VCMI_client.exe!CClient::handlePack(CPack * pack)Строка 686 C++ Символы загружены.
     VCMI_client.exe!CClient::run()Строка 190 C++ Символы загружены.

(0008181)
Povelitel   
2022-03-18 16:42   
The hero after the victory must still die, because he has no living units. I thought the problem is that he still does not have cities. But this has nothing to do with it, and it works on any map.
(0008291)
Povelitel   
2022-05-04 06:32   
fixed in https://github.com/vcmi/vcmi/commit/e0e37877484dc297de21011fca796bae96a902b9 [^]