MantisBT - VCMI
View Issue Details
0001320VCMIOtherpublic2013-06-15 13:102013-08-18 21:06
acme_pjz 
Tow 
normalcrashalways
closedfixed 
x86WindowsXP SP3
0.93 
0.94 
0001320: Crash when end turn or enter town and click hero or creatures
I use VCMI with Heroes of Might and Magic III Complete. Played Arrogance scenario, after a few weeks of turn game crashes.

In savegame lks0, if end turn immediately it crashes with screenshot and log in crash1.7z. If I move Edric to Tree of Knowledge then move Adeliade to town and click hero or creature, game crashes withscreenshot and log in crash2.7z. However, it won't crash if I only move Edric one block, or recruit some creatures in town before.

In savegame lks2, if I end turn immediately it said that "Failed to save game:Access violation - no RTTI data!" but the autosave still saves. (3.png) If I end turn again it crashes. (crash3.7z) It also crashes when loading corrupted autosave file.
Already in description.
No tags attached.
related to 0001291closed Ivan Crash when entering town 
child of 0001409closed Tow Crashes during AI turn (accessing removed objects) 
zip crash_report.zip (1,040,502) 2013-06-15 13:10
https://bugs.vcmi.eu/file_download.php?file_id=1374&type=bug
Issue History
2013-06-15 13:10acme_pjzNew Issue
2013-06-15 13:10acme_pjzFile Added: crash_report.zip
2013-08-15 19:13TowNote Added: 0003857
2013-08-15 19:13TowRelationship addedchild of 0001409
2013-08-15 19:13TowRelationship addedrelated to 0001291
2013-08-15 20:29TowNote Added: 0003860
2013-08-15 20:29TowAssigned To => Tow
2013-08-15 20:29TowStatusnew => assigned
2013-08-18 21:06TowNote Added: 0003881
2013-08-18 21:06TowStatusassigned => closed
2013-08-18 21:06TowResolutionopen => fixed
2013-08-18 21:06TowFixed in Version => 0.94

Notes
(0003857)
Tow   
2013-08-15 19:13   
> In savegame lks0, if end turn immediately it crashes with screenshot and log in crash1.7z.

Fixes as part of 0001409.

> If I move Edric to Tree of Knowledge then move Adeliade to town and click hero or creature, game crashes withscreenshot and log in crash2.7z.

Fixed by Ivan as 0001291.

> In savegame lks2, if I end turn immediately it said that "Failed to save game:Access violation - no RTTI data!" but the autosave still saves. (3.png) If I end turn again it crashes. (crash3.7z) It also crashes when loading corrupted autosave file.

Yet another manifestation of 0001409.
(0003860)
Tow   
2013-08-15 20:29   
Actually there is one more crashbug: crash on saving when one hero has set an empty path. This will be fixed as well. I have not figured out how that invalid path was assigned, though.
(0003881)
Tow   
2013-08-18 21:06   
Covered by 0001409 and fixed in r3501.
r3501 fixes also crash on saving empty path.