Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0005161Dwarf FortressWorld Generation -- Generalpublic2012-02-15 22:192014-07-09 18:12
Toady One 
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

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.
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.
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.
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
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

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


Generating world using parameter set CREATE WORLD NOW = 4455444
 History Seed: GUQucaWcSWokGAoQMyOU
 Name Seed: gs0KcKUwsSMi4g2a0kS2
 Creature Seed: ycacsYmMus0GEoKQWmmA
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).

2012-03-29 02:20   
(edited on: 2012-03-29 02:22)

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: