MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001076VCMIAI - Adventure Mappublic2012-09-18 17:402012-09-28 16:44
Reporterdeecee 
Assigned ToTow 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusclosedResolutionduplicate 
PlatformPC, x64OSDebian GNU/Linux (wheezy/sid)OS Versionlatest unstable
Product Version0.89 
Target VersionFixed in Version0.9 
Summary0001076: Game crashes when AI is playing
DescriptionGame consistently crashes when player 3 (AI) starts playing.
Steps To ReproduceLoad attached saved game. Finish turn. It crashes.
Additional InformationI get the same problem regardless of whether I download the .deb package on the "Installation on Linux" page, or if I compile from the source on the same page.
TagsNo tags attached.
Attached Filestgz file icon bug.tgz [^] (218,595 bytes) 2012-09-18 17:40
jpg file icon 2012-09-19_AiturnCrash089b.jpg [^] (156,783 bytes) 2012-09-19 00:13


7z file icon 2012-09-19_AiturnCrash089b.7z [^] (132,512 bytes) 2012-09-19 00:13

- Relationships
duplicate of 0001037closedWarmonger Stack component causes crash 
has duplicate 0000955closedTow Rare crash when AI attacks creature bank 

-  Notes
(0003018)
Zamolxis (viewer)
2012-09-19 00:15
edited on: 2012-09-19 00:16

I'm not sure if it's the same cause, but I am able to easily reproduce a crash on AI turn in both 0.89 and 0.89b, by loading the map from 0001063 and hitting End Turn: game always crashes at the end of Green Player's turn (could be due to an action of its last hero moving, or maybe even related to the next color player). See screenshot and attached dump.

(0003054)
Zamolxis (viewer)
2012-09-28 05:18

Strange. After 3-4 attempts in 0.89 & 0.89b, the game crashed every time on Green player's turn last week. However when I tried again today, again 3-4 times in a row, the game never crashed (for the same map). Hopefully the crashdump will reveal something, but I'm changing reproducibility to 'sometimes' (at least until someone identifies a pattern).
(0003055)
Warmonger (administrator)
2012-09-28 05:46

This bug is present in StupidAI at line 160:

if(distToNearestNeighbour(ei.s->position, dists) < GameConstants::BFIELD_SIZE)

Actually, it causes most of AI crashes now.
(0003066)
Tow (developer)
2012-09-28 16:44

The issue originally reported by deecee actually was the duplicate to 0001037 and is already fixed by Warmonger.
The bug observed by Zamolxis is 0000955 which is caused by 0001053.

I'm closing this as a duplicate, original issue has been fixed.

- Issue History
Date Modified Username Field Change
2012-09-18 17:40 deecee New Issue
2012-09-18 17:40 deecee Status new => assigned
2012-09-18 17:40 deecee Assigned To => Tow
2012-09-18 17:40 deecee File Added: bug.tgz
2012-09-19 00:13 Zamolxis File Added: 2012-09-19_AiturnCrash089b.jpg
2012-09-19 00:13 Zamolxis File Added: 2012-09-19_AiturnCrash089b.7z
2012-09-19 00:15 Zamolxis Note Added: 0003018
2012-09-19 00:16 Zamolxis Note Edited: 0003018 View Revisions
2012-09-28 05:18 Zamolxis Note Added: 0003054
2012-09-28 05:18 Zamolxis Reproducibility always => sometimes
2012-09-28 05:46 Warmonger Note Added: 0003055
2012-09-28 09:08 Warmonger Relationship added has duplicate 0000955
2012-09-28 16:44 Tow Note Added: 0003066
2012-09-28 16:44 Tow Status assigned => closed
2012-09-28 16:44 Tow Resolution open => duplicate
2012-09-28 16:44 Tow Fixed in Version => 0.9
2012-09-28 16:44 Tow Relationship added duplicate of 0001037

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean