View Issue Details

IDProjectCategoryLast Update
0012706Bionic DuesCrash/ExceptionSep 27, 2013 6:25 pm
Reporterwindgen Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.922 
Fixed in Version0.923 
Summary0012706: Mapgen crash debugging
Description
The game crashed for me several days ago, I don't remember for sure what day it was, or what version -- I didn't file a report at the time, and I had to reboot my system later that day, and I ended up losing my record of which mission it was.

I do remember it showed a black screen after selecting the mission on the city map. I guessed at the time that it was a bug which caused the map generation code to enter an infinite loop. As best I can determine from my ArcenDebugLog, it was Mission_TrainingGround 219347637, but I'm not 100% sure about that. I do remember I checked ArcenDebugLog immediately after, and it showed MapGen on two adjacent lines for two missions of the same type. The crash might also have been caused by one of these but they are less likely:

Mission_PartsFabricator 430963722
Mission_Factory 921834608
Mission_Factory 878996372
Mission_Firefight 597405317
Mission_Firefight 795947390

There should be a cheat option to generate a specific mission number. In fact, the game should actually pre-determine a random seed for every mission, so mapgen crashes would become reproducible from a save slot. And maybe a timer to kill mapgen, complain on the console and restart with a different seed if it hasn't finished in ten seconds...
TagsNo tags attached.
Internal WeightNew

Activities

keith.lamothe

Sep 26, 2013 11:18 pm

administrator   ~0034108

Thanks for the info :) That last seed (Mission_Firefight 795947390) runs pretty slow for me in the mapgen testing program we have, at least on Hard and Expert. It actually runs pretty fast on Easy and Normal.

What difficulty are you doing these on, by the way?

All the other seeds (including Mission_TrainingGround 219347637) generate just fine for me.

Chris_McElligottPark

Sep 27, 2013 8:11 am

administrator   ~0034117

Thanks! It was just trying to do too much in too little space.

* Put in an optimization to how firefight missions generate. Also, there is now far less cover in them, and no explosive runes.

windgen

Sep 27, 2013 6:25 pm

reporter   ~0034222

I think the difficulty was Hard when I experienced the crash.

Issue History

Date Modified Username Field Change
Sep 26, 2013 10:13 pm windgen New Issue
Sep 26, 2013 11:18 pm keith.lamothe Note Added: 0034108
Sep 27, 2013 8:11 am Chris_McElligottPark Internal Weight => New
Sep 27, 2013 8:11 am Chris_McElligottPark Note Added: 0034117
Sep 27, 2013 8:11 am Chris_McElligottPark Status new => resolved
Sep 27, 2013 8:11 am Chris_McElligottPark Fixed in Version => 0.923
Sep 27, 2013 8:11 am Chris_McElligottPark Resolution open => fixed
Sep 27, 2013 8:11 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 27, 2013 6:25 pm windgen Note Added: 0034222
Apr 14, 2014 9:28 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception