Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0005161Dwarf FortressWorld Generation -- Generalpublic2012-02-15 22:192014-07-09 18:12
lightman 
Toady One 
highcrashN/A
resolvedfixed 
AMDWindows7
0.34.01 
0.34.03 
0005161: Game crashed during world generation
During history generation of a medium world, the game crashed.
Generate a world using these settings:

Size: Medium
History: Long
Civs: Medium
Sites: High
Beasts: High
Savagery: Medium
Minerals: Sparse
0.34.02, 34.01, crash, world generation
related to 0005053resolved Footkerchief Crash at the end of worldgen 
Issue History
2012-02-15 22:19lightmanNew Issue
2012-02-15 22:19lightmanTag Attached: crash
2012-02-15 22:19lightmanTag Attached: world generation
2012-02-15 22:19lightmanTag Attached: 34.01
2012-02-15 22:21lightmanIssue Monitored: lightman
2012-02-16 07:05FootkerchiefRelationship addedduplicate of 0005053
2012-02-16 07:05FootkerchiefStatusnew => resolved
2012-02-16 07:05FootkerchiefResolutionopen => duplicate
2012-02-16 07:05FootkerchiefAssigned To => Footkerchief
2012-02-17 21:41lightmanNote Added: 0020012
2012-02-17 21:41lightmanStatusresolved => needs feedback
2012-02-17 21:41lightmanResolutionduplicate => reopened
2012-02-17 21:42lightmanNote Added: 0020013
2012-02-17 21:42lightmanStatusneeds feedback => assigned
2012-02-18 02:20Knight OtuNote Added: 0020017
2012-02-18 02:20Knight OtuTag Attached: AWAITING UPDATE
2012-02-18 10:15FootkerchiefRelationship replacedrelated to 0005053
2012-02-18 10:15FootkerchiefAssigned ToFootkerchief =>
2012-02-18 10:15FootkerchiefStatusassigned => new
2012-02-19 11:08Logical2uRelationship addedrelated to 0005303
2012-02-19 21:35lightmanNote Added: 0020229
2012-02-19 22:44aarongolliverTag Attached: 0.34.02
2012-02-19 22:47aarongolliverNote Added: 0020230
2012-02-19 22:47aarongolliverIssue Monitored: aarongolliver
2012-02-20 16:52MoogieNote Added: 0020300
2012-02-20 17:18MoogieNote Edited: 0020300bug_revision_view_page.php?bugnote_id=0020300#r7579
2012-02-22 09:04FootkerchiefRelationship deletedrelated to 0005303
2012-02-28 09:29FootkerchiefIssue Monitored: Toady One
2012-02-28 09:30FootkerchiefTag Attached: Fixed in 0.34.03?
2012-02-28 09:30FootkerchiefTag Detached: AWAITING UPDATE
2012-03-29 02:20DeathworksNote Added: 0021851
2012-03-29 02:20DeathworksNote Edited: 0021851bug_revision_view_page.php?bugnote_id=0021851#r8141
2012-03-29 02:22DeathworksNote Edited: 0021851bug_revision_view_page.php?bugnote_id=0021851#r8142
2012-06-06 13:33FootkerchiefRelationship addedrelated to 0005283
2012-06-06 13:34FootkerchiefRelationship deletedrelated to 0005053
2012-06-06 13:34FootkerchiefRelationship deletedrelated to 0005283
2014-01-21 19:50FootkerchiefRelationship addedrelated to 0005053
2014-01-26 08:46FootkerchiefStatusnew => resolved
2014-01-26 08:46FootkerchiefFixed in Version => 0.34.03
2014-01-26 08:46FootkerchiefResolutionreopened => fixed
2014-01-26 08:46FootkerchiefAssigned To => Toady One
2014-01-26 08:46FootkerchiefTag Detached: Fixed in 0.34.03?
2014-07-09 18:12lightmanIssue End Monitor: lightman

Notes
(0020012)
lightman   
2012-02-17 21:41   
Sorry, I don't think this is a dupe. I didn't get that error message and this was during worldgen not after.
(0020013)
lightman   
2012-02-17 21:42   
isn't there some way to get Toady the crash dump? This was in the middle of world gen so it didn't save anything.
(0020017)
Knight Otu   
2012-02-18 02:20   
Can you give us the world gen info with seeds? It would be in gamelog.txt, its location depending on how many worlds you genned in the meantime. It should look something like this:

Generating world using parameter set CREATE WORLD NOW = 4335334
 Seed: kQYW02gMQoUKMAIe6qcO
 History Seed: EQAyOqgcSUwys3F7DEl8
 Name Seed: 6puoKglWr1Xq2rOr87pj
 Creature Seed: SiRvbW1nlajdDTDaxosn

The parameter set for your options should be CREATE WORLD NOW = 4434432, if I recall the options correctly.
(0020229)
lightman   
2012-02-19 21:35   
This should be it. I found these values in gamelog.txt and matched them in the memory dump.

Generating world using parameter set CREATE WORLD NOW = 4434433
 Seed: ys37V8fJ7WJuAaX2ZP9T
 History Seed: Qk28ku1L7rBkMkKlG1KJ
 Name Seed: uzIAP77G2rJGRghqv9ra
 Creature Seed: CiB2JgLmheImTPIuybY9
(0020230)
aarongolliver   
2012-02-19 22:47   
I'm also having this problem.
DF Version: 0.34.02, Phoebus_34_02v01 integrated pack, True Type fonts on
Platform: Intel Westmere Xeon
Memory total: 24 GB

notes:
removed aquifers
ram usage was about 1.7 GB before the crash
Crashes after generation reaches 550, as it's scrolling between regions, but before given the chance to accept.


World size: Medium
Histor: Long
Number Civs: Very High
Number Beasts: Very High
Savagery: Very High
Minerals: Frequent




gamelog.txt:

Generating world using parameter set CREATE WORLD NOW = 4455444
 Seed: SKGUEOEkS4S6QOyGG4MW
 History Seed: GUQucaWcSWokGAoQMyOU
 Name Seed: gs0KcKUwsSMi4g2a0kS2
 Creature Seed: ycacsYmMus0GEoKQWmmA
*** STARTING NEW GAME ***
(0020300)
Moogie   
2012-02-20 16:52   
(edited on: 2012-02-20 17:18)
34.02 SDL (unmodded)

Windows 7 x64
Quad Core i5 (3.1GHz)
8GB RAM (1.9GB used by DF at time of crash)

I've done some extensive testing on this, and I think I've narrowed down the issue. Here are my results.

The crashes seem to occur reliably during "finalizing sites" when the 'Number of Civilisations' is higher than default, and both 'Population Cap' and 'Site Cap' are turned off.

I've been generating custom Large worlds to test this. My latest crashseeds are as follows:

 Seed: rZCzJBzuarkOtKKhGnaf
 History Seed: zdrDmK6nzqJKi4DE2yhv
 Name Seed: BqjSQzst7YYUL3YXu4q6
 Creature Seed: fPgVwtBsqsoQ6Nxu7vUv

 Seed: 1bWYT4W8q4rr7XtnnuJ4
 History Seed: Pqcv0GdYaNXmDAL4zjhu
 Name Seed: LRSzj8R1ZyhoIVbDTDlO
 Creature Seed: KXA6syO6cK89OpyeYjx6

Steps to reproduce:
1. Create new world with Advanced Parameters.
2. (c)opy the Large Region settings.
3. (e)dit the new setting and change the "Population Cap" and "Site Cap" settings to Ignored, then set "Number of Civilisations" to anything above 60.
4. Begin worldgen. Let it run for at least 150 years.
5. Force worldgen to finalize. It will crash during "finalizing sites".

Screenshot: http://i.imgur.com/a0sJm.png [^]


Update: I used a mempatcher to enable LAA and my crashes have gone, so it seems likely that the 2GB memory limit is the root of the issue (at least in my case).

(0021851)
Deathworks   
2012-03-29 02:20   
(edited on: 2012-03-29 02:22)
Hi!

I have just experienced a crash during world generation in 0.34.06 on Windows XP Professional SP3, which seems to be the same type. The crash was accompanied by the error message of an abnormal/extraordinary termination of the program and occured during the finalizing sites phase of world generation. The "current" directory of the saves directory is not empty. The parameters are:

[WORLD_GEN]
    [TITLE:MEDIUM MESHED]
    [SEED:ScampsAdventures]
    [HISTORY_SEED:ScampsAdventures]
    [NAME_SEED:ScampsAdventures]
    [CREATURE_SEED:ScampsAdventures]
    [DIM:129:129]
    [EMBARK_POINTS:10000]
    [END_YEAR:222]
    [BEAST_END_YEAR:200:-1]
    [REVEAL_ALL_HISTORY:0]
    [CULL_HISTORICAL_FIGURES:0]
    [ELEVATION:1:400:600:1300]
    [RAINFALL:0:100:200:301]
    [TEMPERATURE:25:75:200:400]
    [DRAINAGE:0:100:800:200]
    [VOLCANISM:0:100:3200:3200]
    [SAVAGERY:0:100:201:201]
    [ELEVATION_FREQUENCY:2:2:1:6:6:1]
    [RAIN_FREQUENCY:2:1:2:5:3:2]
    [DRAINAGE_FREQUENCY:2:2:3:5:6:7]
    [TEMPERATURE_FREQUENCY:2:1:2:8:2:1]
    [SAVAGERY_FREQUENCY:2:3:2:1:2:3]
    [VOLCANISM_FREQUENCY:1:1:1:1:1:1]
    [MINERAL_SCARCITY:100]
    [MEGABEAST_CAP:200]
    [SEMIMEGABEAST_CAP:200]
    [TITAN_NUMBER:200]
    [TITAN_ATTACK_TRIGGER:100:0:0]
    [DEMON_NUMBER:200]
    [NIGHT_TROLL_NUMBER:300]
    [BOGEYMAN_NUMBER:100]
    [VAMPIRE_NUMBER:100]
    [WEREBEAST_NUMBER:1000]
    [SECRET_NUMBER:200]
    [REGIONAL_INTERACTION_NUMBER:100]
    [DISTURBANCE_INTERACTION_NUMBER:100]
    [EVIL_CLOUD_NUMBER:20]
    [EVIL_RAIN_NUMBER:20]
    [GOOD_SQ_COUNTS:600:600:100]
    [EVIL_SQ_COUNTS:600:600:100]
    [PEAK_NUMBER_MIN:6]
    [PARTIAL_OCEAN_EDGE_MIN:4]
    [COMPLETE_OCEAN_EDGE_MIN:4]
    [VOLCANO_MIN:200]
    [REGION_COUNTS:SWAMP:0:0:0]
    [REGION_COUNTS:DESERT:0:0:0]
    [REGION_COUNTS:FOREST:1200:2:2]
    [REGION_COUNTS:MOUNTAINS:2100:2:2]
    [REGION_COUNTS:OCEAN:0:0:0]
    [REGION_COUNTS:GLACIER:0:0:0]
    [REGION_COUNTS:TUNDRA:0:0:0]
    [REGION_COUNTS:GRASSLAND:0:0:0]
    [REGION_COUNTS:HILLS:0:0:0]
    [EROSION_CYCLE_COUNT:1000]
    [RIVER_MINS:800:300]
    [PERIODICALLY_ERODE_EXTREMES:0]
    [OROGRAPHIC_PRECIPITATION:1]
    [SUBREGION_MAX:5000]
    [CAVERN_LAYER_COUNT:3]
    [CAVERN_LAYER_OPENNESS_MIN:0]
    [CAVERN_LAYER_OPENNESS_MAX:100]
    [CAVERN_LAYER_PASSAGE_DENSITY_MIN:0]
    [CAVERN_LAYER_PASSAGE_DENSITY_MAX:100]
    [CAVERN_LAYER_WATER_MIN:0]
    [CAVERN_LAYER_WATER_MAX:100]
    [HAVE_BOTTOM_LAYER_1:1]
    [HAVE_BOTTOM_LAYER_2:1]
    [LEVELS_ABOVE_GROUND:15]
    [LEVELS_ABOVE_LAYER_1:10]
    [LEVELS_ABOVE_LAYER_2:10]
    [LEVELS_ABOVE_LAYER_3:10]
    [LEVELS_ABOVE_LAYER_4:10]
    [LEVELS_ABOVE_LAYER_5:10]
    [LEVELS_AT_BOTTOM:3]
    [CAVE_MIN_SIZE:200]
    [CAVE_MAX_SIZE:500]
    [MOUNTAIN_CAVE_MIN:60]
    [NON_MOUNTAIN_CAVE_MIN:200]
    [ALL_CAVES_VISIBLE:0]
    [SHOW_EMBARK_TUNNEL:1]
    [TOTAL_CIV_NUMBER:35]
    [TOTAL_CIV_POPULATION:-1]
    [SITE_CAP:-1]
    [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]