MantisBT - VCMI
View Issue Details
0000799VCMIMechanics - Objectspublic2011-09-01 15:032014-05-30 17:40
Zamolxis 
Tow 
normalcrashalways
closedfixed 
VAIOWindows 764-bit
0.86 
0.87 
0000799: Unavoidable crashes after upgrading Cavaliers at Stables
First it looked like two unrelated crashes: one with game save and another with entering Crypt. But after testing and re-testing to narrow down the cause of both crashes, I realized they're both related to previously visiting Stables with Cavaliers in my army (which were getting the free upgrade).

To easily reproduce, take Rion in the saved game attached (1st archive) and go to the Stables (if you don't do that first, you'll be able to save / enter Crypt / etc with no problem). After that, try to either save, or visit the Crypt to the left:

- If you try to save, you'll get a crash when returning to the Adventure Map, and if you check the 'games' folder, only 2 out of 3 files were created (as attached). Crashdump created automatically.

- If you try to visit the Crypt, the game freezes just before entering. You need to type in 'crash' in the Console to create a crashdump.

Should be easily reproducible, but I'm attaching all files just in case.

EDIT: The game simply becomes unplayable with that hero after the Stables upgrade. I've tried other actions with it otherwise, including an attempt to simply dismiss the Champions, but the game always crashes. I guess at some level the Stables upgrade is not correctly registered, and whatever actions involving what use to be the Cavaliers, lead to a crash.
No tags attached.
related to 0000565closed Warmonger Champions upgraded at Stables: the picture is missing from the message window and the stacks get merged 
7z 2011-09-01_StablesUpgCrashSave.7z (86,863) 2011-09-01 15:03
https://bugs.vcmi.eu/file_download.php?file_id=788&type=bug
jpg 2011-09-01_StablesUpgCrashSaving.jpg (202,095) 2011-09-01 15:04
https://bugs.vcmi.eu/file_download.php?file_id=789&type=bug
jpg

7z 2011-09-01_StablesUpgFailedSave.7z (77,155) 2011-09-01 15:04
https://bugs.vcmi.eu/file_download.php?file_id=790&type=bug
7z 2011-09-01_StablesUpgCrashSaving.7z (63,909) 2011-09-01 15:04
https://bugs.vcmi.eu/file_download.php?file_id=791&type=bug
jpg 2011-09-01_StablesUpgCrashAttacking.jpg (191,765) 2011-09-01 15:05
https://bugs.vcmi.eu/file_download.php?file_id=792&type=bug
jpg

7z 2011-09-01_StablesUpgCrashAttacking.7z (120,399) 2011-09-01 15:05
https://bugs.vcmi.eu/file_download.php?file_id=793&type=bug
7z 2012-04-04_VCMI_client.exe_crashinfo_StablesCrash_0.88.7z (115,523) 2012-03-04 17:47
https://bugs.vcmi.eu/file_download.php?file_id=865&type=bug
Issue History
2011-09-01 15:03ZamolxisNew Issue
2011-09-01 15:03ZamolxisStatusnew => assigned
2011-09-01 15:03ZamolxisAssigned To => Tow
2011-09-01 15:03ZamolxisFile Added: 2011-09-01_StablesUpgCrashSave.7z
2011-09-01 15:04ZamolxisFile Added: 2011-09-01_StablesUpgCrashSaving.jpg
2011-09-01 15:04ZamolxisFile Added: 2011-09-01_StablesUpgFailedSave.7z
2011-09-01 15:04ZamolxisFile Added: 2011-09-01_StablesUpgCrashSaving.7z
2011-09-01 15:05ZamolxisFile Added: 2011-09-01_StablesUpgCrashAttacking.jpg
2011-09-01 15:05ZamolxisFile Added: 2011-09-01_StablesUpgCrashAttacking.7z
2011-09-01 20:51ZamolxisSummaryVarious crashes after upgrading Cavaliers at Stables => Unavoidable crashes after upgrading Cavaliers at Stables
2011-09-01 20:51ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=1378#r1378
2011-09-01 21:04ZamolxisRelationship addedrelated to 0000565
2011-09-02 05:46TowNote Added: 0001975
2011-09-02 05:46TowStatusassigned => resolved
2011-09-02 05:46TowFixed in Version => 0.89
2011-09-02 05:46TowResolutionopen => fixed
2012-03-04 17:47ZamolxisNote Added: 0002277
2012-03-04 17:47ZamolxisFile Added: 2012-04-04_VCMI_client.exe_crashinfo_StablesCrash_0.88.7z
2014-05-30 17:40beegeeStatusresolved => closed

Notes
(0001975)
Tow   
2011-09-02 05:46   
Fixed in r2354.
Issue was indeed specific only for stables performing upgrade, creating a corrupted stack on server.
(0002277)
Zamolxis   
2012-03-04 17:47   
I had another crash when visiting Stables with Cavaliers in my army. I thought it's the same as this known bug (and forgot it was fixed), so I didn't take screenshots. But then I thought of double checking... So I found it as Resolved and went back to see if it's reproducible. Unfortunately I couldn't reproduce it anymore. You can check if the crash dump file I attached here tells you something - if not, I'll keep an eye on it, and if it happens again, I'll create a separate report, with proper screenshots & everything.