Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010548Dwarf FortressWorld Generation -- Beastspublic2018-02-01 10:562018-08-11 04:32
tnuhnivad 
Loci 
normalminoralways
confirmedopen 
 
 
0010548: Advanced World Gen "Finalizing sites..." crash
I'm attempting to make a very large world with little ocean area to maximize playable area, very long history 800+ specfically for generating lots of dragons to reach full size, large amount of megabeast and many semi's. My param's are as follows...


[WORLD_GEN]
   [TITLE:TEST GEN]
   [DIM:257:257]
   [EMBARK_POINTS:1504]
   [END_YEAR:2]
   [BEAST_END_YEAR:300:80]
   [REVEAL_ALL_HISTORY:1]
   [CULL_HISTORICAL_FIGURES:0]
   [ELEVATION:35:400:3200:3200]
   [RAINFALL:4:100:400:400]
   [TEMPERATURE:25:75:400:400]
   [DRAINAGE:0:100:400:400]
   [VOLCANISM:0:100:400:400]
   [SAVAGERY:0:100:400:400]
   [ELEVATION_FREQUENCY:2:1:65:50:35:25]
   [RAIN_FREQUENCY:2:1:25:50:50:1]
   [DRAINAGE_FREQUENCY:2:50:40:20:10:1]
   [TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
   [SAVAGERY_FREQUENCY:2:50:35:25:15:5]
   [VOLCANISM_FREQUENCY:2:1:1:1:1:50]
   [POLE:NORTH_AND_SOUTH]
   [MINERAL_SCARCITY:4500]
   [MEGABEAST_CAP:15000]
   [SEMIMEGABEAST_CAP:5000]
   [TITAN_NUMBER:225]
   [TITAN_ATTACK_TRIGGER:0:0:100000]
   [DEMON_NUMBER:69]
   [NIGHT_TROLL_NUMBER:69]
   [BOGEYMAN_NUMBER:69]
   [VAMPIRE_NUMBER:69]
   [WEREBEAST_NUMBER:69]
   [SECRET_NUMBER:200]
   [REGIONAL_INTERACTION_NUMBER:69]
   [DISTURBANCE_INTERACTION_NUMBER:69]
   [EVIL_CLOUD_NUMBER:69]
   [EVIL_RAIN_NUMBER:69]
   [GENERATE_DIVINE_MATERIALS:1]
   [GOOD_SQ_COUNTS:0:0:0]
   [EVIL_SQ_COUNTS:100:500:2500]
   [PEAK_NUMBER_MIN:0]
   [PARTIAL_OCEAN_EDGE_MIN:0]
   [COMPLETE_OCEAN_EDGE_MIN:0]
   [VOLCANO_MIN:0]
   [REGION_COUNTS:SWAMP:0:0:0]
   [REGION_COUNTS:DESERT:0:0:0]
   [REGION_COUNTS:FOREST:6000:0:0]
   [REGION_COUNTS:MOUNTAINS:0:0:0]
   [REGION_COUNTS:OCEAN:5000:0:0]
   [REGION_COUNTS:GLACIER:0:0:0]
   [REGION_COUNTS:TUNDRA:0:0:0]
   [REGION_COUNTS:GRASSLAND:2000:0:0]
   [REGION_COUNTS:HILLS:2000:0:0]
   [EROSION_CYCLE_COUNT:500]
   [RIVER_MINS:350:350]
   [PERIODICALLY_ERODE_EXTREMES:1]
   [OROGRAPHIC_PRECIPITATION:1]
   [SUBREGION_MAX:5000]
   [CAVERN_LAYER_COUNT:3]
   [CAVERN_LAYER_OPENNESS_MIN:75]
   [CAVERN_LAYER_OPENNESS_MAX:100]
   [CAVERN_LAYER_PASSAGE_DENSITY_MIN:0]
   [CAVERN_LAYER_PASSAGE_DENSITY_MAX:25]
   [CAVERN_LAYER_WATER_MIN:50]
   [CAVERN_LAYER_WATER_MAX:100]
   [HAVE_BOTTOM_LAYER_1:1]
   [HAVE_BOTTOM_LAYER_2:1]
   [LEVELS_ABOVE_GROUND:15]
   [LEVELS_ABOVE_LAYER_1:15]
   [LEVELS_ABOVE_LAYER_2:5]
   [LEVELS_ABOVE_LAYER_3:5]
   [LEVELS_ABOVE_LAYER_4:1]
   [LEVELS_ABOVE_LAYER_5:2]
   [LEVELS_AT_BOTTOM:1]
   [CAVE_MIN_SIZE:50]
   [CAVE_MAX_SIZE:150]
   [MOUNTAIN_CAVE_MIN:69]
   [NON_MOUNTAIN_CAVE_MIN:20]
   [ALL_CAVES_VISIBLE:1]
   [SHOW_EMBARK_TUNNEL:2]
   [TOTAL_CIV_NUMBER:15]
   [TOTAL_CIV_POPULATION:15000]
   [SITE_CAP:1500]
   [PLAYABLE_CIVILIZATION_REQUIRED:1]
   [ELEVATION_RANGES:0:0:0]
   [RAIN_RANGES:0:0:0]
   [DRAINAGE_RANGES:0:0:0]
   [SAVAGERY_RANGES:0:0:0]
   [VOLCANISM_RANGES:0:0:0]

I've tested extensively altering one thing at a time to make sure it works then add in another change I want and so on so I don't go to generate such a long history to run into issues. Everything was working just fine until I started cranking up the megabeast, semis, and titans. at which point the world gen will make it all the way to "finalizing sites..." at which point the application doesn't necessarily crash but hangs endlessly. This happens on both 32 bit and 64 bit versions crashing/hanging usually just over 1 gb of ram usage. Can anyone pin point or help me understand why this is occurring? I've included a screen shot below.

https://i.imgur.com/zRuaRqo.png [^]
Using the params provided you should be able to reproduce this crash/hang it happens for me every time.
No tags attached.
Issue History
2018-02-01 10:56tnuhnivadNew Issue
2018-02-01 12:42tnuhnivadIssue Monitored: tnuhnivad
2018-02-01 14:25Shonai_DwellerNote Added: 0037729
2018-02-01 15:34LociAssigned To => Loci
2018-02-01 15:34LociStatusnew => confirmed
2018-08-11 04:32TomiTapio2Note Added: 0038712
2018-08-11 04:33TomiTapio2Note Edited: 0038712bug_revision_view_page.php?bugnote_id=0038712#r15741
2018-08-11 07:57TomiTapio2Note Edited: 0038712bug_revision_view_page.php?bugnote_id=0038712#r15742

Notes
(0037729)
Shonai_Dweller   
2018-02-01 14:25   
Reproduced this successfully (vanilla 44.05, Windows 10. i7, tons of RAM)
Lowering megabeast_cap to something like 1500 gets you through worldgen (that doesn't really explain why it's crashing right at the end though).
(0038712)
TomiTapio2   
2018-08-11 04:32   
(edited on: 2018-08-11 07:57)
44.12 modded OldGenesis, crash in finalizing sites. Did not happen one month ago with nearly the same raws.

I have uploaded modded raws and seed, which cause worldgen crash.
http://dffd.bay12games.com/file.php?id=13946 [^]

Found my raws problem: hyena male and female castes were declared TWICE. But how does that crash worldgen finalizing sites...