MantisBT - VCMI
View Issue Details
0000592VCMIMechanics - Battlespublic2010-08-01 22:402014-05-30 17:39
Zamolxis 
Tow dragon 
highcrashsometimes
closedfixed 
AMD 5600+WindowsXP SP3
0.82 
0.83 
0000592: High chance of battle freeze or crash if a spell was cast in the previous battle
See attached 3 sets of screenshots/dumps:

1. Crash sample (dump created by VCMI)

2. Freeze sample (forced dump)

3. Another freeze sample - with the Console message and dump created after I typed "activate 0" in Console as Tow suggested (I had an exchange of PM's with him on the forum about it already, but he couldn't reproduce it). As seen in the screenshot, I didn't even have to attack to Earth Elemental - I just flew the Phoenix in front of it and the game froze.
Take Sir Mullich in the map attached to 0000570 to reproduce, attack the Inferno above and use a spell in battle (I used Lightning Bolt). After battle, attack the Earth Elemental nearby. In the beginning of the battle, attack or just fly with the Phoenix in front of the creature - Either way there's a good chance to get a freeze or a crash. Out of about 15 attempts, 4-5 times I had a freeze (and had to force crashdump), 6-7 times I had a crash and only 3-4 times I could finish the battle.

I was never able to reproduce it (5 attempts) if I didn't cast a spell in the previous battle or if I just cast a non-destructive spell (I tried Slow), that's why I assume this casting may have something to do with it, but I could be wrong.
No tags attached.
has duplicate 0000616closed Tow dragon Crash probably after battle with centaurs and refered to necromancy skill 
7z 2010-08-01_KillEElem.7z (128,063) 2010-08-01 22:41
https://bugs.vcmi.eu/file_download.php?file_id=551&type=bug
jpg 2010-08-01_KillEElem1.jpg (235,147) 2010-08-01 22:41
https://bugs.vcmi.eu/file_download.php?file_id=552&type=bug
jpg

7z 2010-08-01_FreezeEElem.7z (113,322) 2010-08-01 22:41
https://bugs.vcmi.eu/file_download.php?file_id=553&type=bug
jpg 2010-08-01_FreezeEElem.jpg (182,868) 2010-08-01 22:41
https://bugs.vcmi.eu/file_download.php?file_id=554&type=bug
jpg

7z 2010-08-01_BattleCrash.7z (61,579) 2010-08-01 22:42
https://bugs.vcmi.eu/file_download.php?file_id=555&type=bug
jpg 2010-08-01_BattleCrash1.jpg (291,756) 2010-08-01 22:44
https://bugs.vcmi.eu/file_download.php?file_id=557&type=bug
jpg
Issue History
2010-08-01 22:40ZamolxisNew Issue
2010-08-01 22:40ZamolxisStatusnew => assigned
2010-08-01 22:40ZamolxisAssigned To => Tow dragon
2010-08-01 22:40ZamolxisFile Added: 2010-08-01_KillEElem1.jpg
2010-08-01 22:41ZamolxisFile Deleted: 2010-08-01_KillEElem1.jpg
2010-08-01 22:41ZamolxisFile Added: 2010-08-01_KillEElem.7z
2010-08-01 22:41ZamolxisFile Added: 2010-08-01_KillEElem1.jpg
2010-08-01 22:41ZamolxisFile Added: 2010-08-01_FreezeEElem.7z
2010-08-01 22:41ZamolxisFile Added: 2010-08-01_FreezeEElem.jpg
2010-08-01 22:42ZamolxisFile Added: 2010-08-01_BattleCrash.7z
2010-08-01 22:42ZamolxisFile Added: 2010-08-01_BattleCrash.jpg
2010-08-01 22:43ZamolxisFile Deleted: 2010-08-01_BattleCrash.jpg
2010-08-01 22:44ZamolxisFile Added: 2010-08-01_BattleCrash1.jpg
2010-08-01 22:46ZamolxisSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1094#r1094
2010-08-01 22:48ZamolxisSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1095#r1095
2010-08-01 23:06ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=1102#r1102
2010-08-02 11:01Tow dragonNote Added: 0001276
2010-08-02 11:01Tow dragonStatusassigned => resolved
2010-08-02 11:01Tow dragonFixed in Version => 0.89
2010-08-02 11:01Tow dragonResolutionopen => fixed
2010-10-31 18:53TowRelationship addedhas duplicate 0000616
2014-05-30 17:39beegeeStatusresolved => closed

Notes
(0001276)
Tow dragon   
2010-08-02 11:01   
That's because old battle is not finished when it's ended by casting an offensive spell. A small remnant of it gets released when another battle ends normally and makes this crash. I've fixed it in rev 1720.