MantisBT - VCMI
View Issue Details
0000182VCMIMechanics - Battlespublic2009-10-17 16:182010-07-13 11:44
Zamolxis 
Tow dragon 
normalcrashalways
closedfixed 
0.74 
0.8 
0000182: Crash when my (2-hex) Centaurs retaliated against an Earth Elemental attacking diagonally from behind.
To reproduce, load the attached map and attack the Earth Elemental. Use Wait on Centaur and Defend for all other creatures to let the Elemental come closer, then move the Centaur as such, so that the Elemental will have to attack it from down-behind.



Crash logs attached.
Probably related to 0000140.



Screenshot: http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/2009-10-17_CentaurKillsEarthElemInR.jpg [^]
No tags attached.
related to 0000140closed Tow dragon Crash when my (2-hex) Dread Knight retaliated against a Wraith attacking from up-behind 
related to 0000269closed Tow dragon Crash when 2-hex creature was attacked by 1-hex one 
7z 2009-10-17_CentaurKillsEarthElemInRetaliation - crash logs.7z (100,967) 2009-10-17 16:18
https://bugs.vcmi.eu/file_download.php?file_id=53&type=bug
?  VCMI_Tests.h3m (10,443) 2009-10-17 16:18
https://bugs.vcmi.eu/file_download.php?file_id=54&type=bug
zip crash attacking cerberi.zip (140,259) 2009-10-27 08:12
https://bugs.vcmi.eu/file_download.php?file_id=65&type=bug
jpg crash attacking cerberi.jpg (205,989) 2009-10-27 08:13
https://bugs.vcmi.eu/file_download.php?file_id=66&type=bug
jpg
Issue History
2009-10-17 16:18ZamolxisNew Issue
2009-10-17 16:18ZamolxisFile Added: 2009-10-17_CentaurKillsEarthElemInRetaliation - crash logs.7z
2009-10-17 16:18ZamolxisFile Added: VCMI_Tests.h3m
2009-10-24 11:51WarmongerRelationship addedrelated to 0000140
2009-10-27 08:12BoulieFile Added: crash attacking cerberi.zip
2009-10-27 08:13BoulieFile Added: crash attacking cerberi.jpg
2009-10-27 08:20BoulieNote Added: 0000161
2009-12-01 21:23ZamolxisRelationship addedrelated to 0000269
2009-12-20 12:56Tow dragonNote Added: 0000403
2009-12-20 13:08ZamolxisNote Added: 0000405
2009-12-20 13:09ZamolxisStatusassigned => feedback
2009-12-20 13:23ZamolxisNote Edited: 0000405bug_revision_view_page.php?bugnote_id=405#r452
2009-12-20 13:23ZamolxisSummaryCrash when my (2-hex) Centaurs retaliated against an Earth Elemental attacking from down-behind => Crash when my (2-hex) Centaurs retaliated against an Earth Elemental attacking diagonally from behind.
2009-12-20 13:32ZamolxisNote Edited: 0000405bug_revision_view_page.php?bugnote_id=405#r455
2009-12-20 13:34ZamolxisNote Edited: 0000405bug_revision_view_page.php?bugnote_id=405#r456
2009-12-20 13:36ZamolxisNote Edited: 0000405bug_revision_view_page.php?bugnote_id=405#r457
2009-12-20 13:39ZamolxisNote Added: 0000407
2009-12-20 13:39ZamolxisStatusfeedback => confirmed
2009-12-20 14:03Tow dragonNote Added: 0000412
2009-12-20 14:03Tow dragonStatusconfirmed => resolved
2009-12-20 14:03Tow dragonFixed in Version => 0.89
2009-12-20 14:03Tow dragonResolutionopen => fixed
2009-12-20 15:17ZamolxisNote Edited: 0000412bug_revision_view_page.php?bugnote_id=412#r459
2010-07-13 11:43ZamolxisStatusresolved => closed

Notes
(0000161)
Boulie   
2009-10-27 08:20   
Added crash while attacking cerberi, 2-hex creature retaliated against efreeti.
Another thing (I think related to this one), before this round I've attacked with efreeti (after wait) against cerberi there appeared note "System message: Server encountered a problem: There is no stack on 92 tile (no attack)!"
(0000403)
Tow dragon   
2009-12-20 12:56   
I'm unable to reproduce this bug on given map.
(0000405)
Zamolxis   
2009-12-20 13:08   
(edited on: 2009-12-20 13:36)
I can always reproduce it on the given map. The condition though is to place the Centaur as such that the Earth Elemental will have to attack from the hex down-behind. See another example:

http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/2009-12-20_EEattackCentaruFromDownB.jpg [^]

EDIT: After further tests, I can give more details. It's on any diagonal attack from behind, on a 2-hex creature. On the map attached to this report, I reproduced it with both the Centaur and the Pegasus, by placing them as such that the Earth Elemental would have to attack them diagonally from behind. See the console error in the screenshot. It's always the same (but doesn't seem to be registered in the client log). I'll update also the Summary line.

EDIT2: I am however not sure that the crash Boulie is reporting is identical. He is getting a VCMI_Crashhandler message, I never get one. I think the crash he mentions is more related to 0000140 (so his comments and attached files+screenshot should help to identify that one).

(0000407)
Zamolxis   
2009-12-20 13:39   
Moved to Confirmed, as now I can reproduce it with any 2-hex creature in my army on the given map, and the error in the Console is always the same.
(0000412)
Tow dragon   
2009-12-20 14:03   
(edited on: 2009-12-20 15:17)
Screenshot posted by Zamolxis seems to support the conjecture that it has the same origin as bug 0000288 resolved in revision 1395 (both bugs caused that assertion to fail). Please reopen if bug reappears in future versions or is not related to that assertion.