MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000266VCMIMechanics - Battlespublic2009-12-01 00:152010-07-13 10:55
ReporterZamolxis 
Assigned ToTow dragon 
PrioritynormalSeveritycrashReproducibilityrandom
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.74c 
Target VersionFixed in Version 
Summary0000266: Crash when trying to move Troll
DescriptionVCMI crashed whey I tried to move a Troll in battle. It could be though that the crash has nothing to do with the Troll, but perhaps be caused by a combination of two known bugs:
- VCMI already calculating the next AI moves (an losses) before our creature moves
- Crash in killing last enemy creature in retaliation

My Troll was the last creature to move in the turn. After his move, it was the turn of enemy's last remaining stack, which probably would have been killed in retaliation. And as I've noticed VCMI tends to already calculate AI's next move (even for the 2nd round while the last creature of round 1 still has to move - not the case here though), I suspect that may be the cause of the crash.
Additional InformationUnfortunately VCMI didn't create .dmp files for this one. The only think I have is the log report attached. If you want to try to reproduce it, it was with Sir Mullich's army in the map attached to 0000183, while battling the Orange hero below him. But it may not help you much, as I've done almost 10 attempts to recreate the crash and failed every time.
TagsNo tags attached.
Attached Files7z file icon BattleCrashOnTrollTurn.7z [^] (1,610 bytes) 2009-12-01 00:15
jpg file icon 2009-12-25_2ndCrashWhenTrollWasGivenMoveInx.jpg [^] (174,676 bytes) 2009-12-25 01:25


7z file icon 2009-12-25_2ndCrashWhenTrollWasGivenMoveInx.7z [^] (53,108 bytes) 2009-12-25 01:25

- Relationships

-  Notes
(0000483)
Zamolxis (viewer)
2009-12-25 01:24
edited on: 2009-12-25 01:27

It happened again. See newly attached screenshot & logs (archive includes saved game as well). Again no .dmp file was created.

To try to reproduce (as it's hardly possible), load the attached game and attack the orange hero with Sir Mullich. In the battle, I simply attacked with all troops in round 1, until Troll's turn came. When I gave the Troll the instruction to move to the shaded hex (see screenshot) the game crashed.

I can't find a pattern though:
- I fought the battle 10 more times, trying to use the same actions, I had the crash only 3 times
- The 3 times it crashed were in battles started with (Mass) Slow. However there was a 4th battle which started with (Mass) Slow, that didn't crash on Troll's move, so casting may be a misleading path.

(0001069)
Tow dragon (viewer)
2010-07-13 10:03

I think it's possible that I've fixed it since 0.74c. Please report if this reoccurs.
(0001075)
Zamolxis (viewer)
2010-07-13 10:55

Actually I'm pretty sure it's fixed. I must have played over 100 battles with Sir Mullich's army on that map the last 6 months, and it never occurred again. So I guess some other fix worked on this as well. I will of course report if it reoccurs, but I'll mark it as fixed for now.

- Issue History
Date Modified Username Field Change
2009-12-01 00:15 Zamolxis New Issue
2009-12-01 00:15 Zamolxis File Added: BattleCrashOnTrollTurn.7z
2009-12-01 00:24 Zamolxis Description Updated View Revisions
2009-12-25 01:24 Zamolxis Note Added: 0000483
2009-12-25 01:24 Zamolxis Reproducibility unable to reproduce => random
2009-12-25 01:24 Zamolxis Summary Crash when trying to move Troll (unable to reproduce and probably not related to the Troll) => Crash when trying to move Troll
2009-12-25 01:25 Zamolxis File Added: 2009-12-25_2ndCrashWhenTrollWasGivenMoveInx.jpg
2009-12-25 01:25 Zamolxis File Added: 2009-12-25_2ndCrashWhenTrollWasGivenMoveInx.7z
2009-12-25 01:26 Zamolxis Note Edited: 0000483 View Revisions
2009-12-25 01:27 Zamolxis Note Edited: 0000483 View Revisions
2010-07-13 10:03 Tow dragon Note Added: 0001069
2010-07-13 10:03 Tow dragon Status assigned => closed
2010-07-13 10:03 Tow dragon Resolution open => suspended
2010-07-13 10:52 Zamolxis Resolution suspended => fixed
2010-07-13 10:52 Zamolxis Description Updated View Revisions
2010-07-13 10:55 Zamolxis Note Added: 0001075

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean