Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009248Dwarf FortressWorld Generation -- Generalpublic2015-12-05 20:562015-12-07 15:56
Reportermira277 
Assigned ToDwarfu 
PriorityhighSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
PlatformWindowsOSWindows 7OS Version64 bit Ultimate
Product Version0.42.02 
Target VersionFixed in Version 
Summary0009248: Crash on World Gen
DescriptionGame crashes pretty early in world generation / civilization building? Between years 100-200. Has done so three times in a row.
Steps To ReproduceHere are the seeds:
*** STARTING NEW GAME ***
Generating world using parameter set MEDIUM REGION
 Seed: dLOqBaGyquzxn9HTvSNq
 History Seed: LwmH2KjYyLPCL0hQ19xQ
 Name Seed: 7F0LjMZ1HEXkcBpHPNJI
 Creature Seed: 4jOaeC4mk0ufOX0yGVf6
*** STARTING NEW GAME ***
Generating world using parameter set MEDIUM REGION
 Seed: VbCaB6E2QaJTTd1XD2p2
 History Seed: PuAV0E9CUNr0x872J9xE
 Name Seed: d5GldiTrXkRKavppvxNS
 Creature Seed: QVoc8oM4WiqFABEiqDnS
*** STARTING NEW GAME ***
Generating world using parameter set MEDIUM REGION
 Seed: 8WGOMO4WOaQ4uOeyMGom
 History Seed: Kkimy8yEeWqseo8A4GCI
 Name Seed: AMYOyIsOKAeMAA0amgQI
 Creature Seed: sA0aekwaQcWmCucm0Um2
Additional InformationI edited all instances of [AQUIFER] out of inorganic_stone_layer.txt, inorganic_stone_mineral.txt and inorganic_stone_soil.txt as I have done for years, if it makes a difference.
TagsNo tags attached.
Attached Files

- Relationships
child of 0009127confirmedKnight Otu Crash during world gen 

-  Notes
(0033512)
BoogieMan (reporter)
2015-12-06 11:20
edited on: 2015-12-06 11:21

In pure vanilla 42.02 I recently crashed 2 out of 5 times generating a default Medium Region. It's an improvement over 42.01 which seemed to crash 100% of the time very early in the progress, often nearly instantly.

2 min 30 sec in, crashed at approximately year 163.
 
1 min 26 sec, crashed at year 129

They are crash to desktop. Win7x64. Running the game in a window, main focus with no multitasking going on. I have successfully generated worlds to as far as 300 so far, however.

(0033515)
Toady One (administrator)
2015-12-06 14:06

I've been trying for hours and can't get any of these 0.42.02 world gen crashes to reproduce. So... can we narrow it down? What if you remove all the [GENERATE_POETIC_FORMS] and other art generators from your entities? Do you make it through reliably? What if you get rid of the [SCHOLAR:x] and [SET_SCHOLARS_ON_VALUES_AND_JOBS] entries from entity_default.txt? It would be cool if we could rule some things out at least, since I'm not getting crashes at all, even from the vanilla seeds people have posted.
(0033523)
barconis (reporter)
2015-12-06 15:12

I'm getting this with unmodified raws, these seeds:
*** STARTING NEW GAME ***
*** STARTING NEW GAME ***
Generating world using parameter set CREATE WORLD NOW = 4333334
 Seed: 4kYy6wY6sMwoMk8cm0w0
 History Seed: CsK20oECa2YOe84EqoM2
 Name Seed: I6mUyG4GkOcckWMMOEIY
 Creature Seed: Wsq8uCgYseoSuQKQC8AM

The first entry was a crash during the intro video with this event data:
Faulting application name: Dwarf Fortress.exe, version: 0.0.0.0, time stamp: 0x56633788
Faulting module name: fmodex.dll, version: 0.4.20.6, time stamp: 0x4949daf9
Exception code: 0xc0000005
Fault offset: 0x00065b05
Faulting process id: 0x2e0c
Faulting application start time: 0x01d13078ce8fc5d7
Faulting application path: C:\df_42\df_42_02\Dwarf Fortress.exe
Faulting module path: C:\df_42\df_42_02\fmodex.dll
Report Id: 18597d20-9c6c-11e5-8288-303a6424b7d2
Faulting package full name:
Faulting package-relative application ID:

The crash in worldgen was:
Faulting application name: Dwarf Fortress.exe, version: 0.0.0.0, time stamp: 0x56633788
Faulting module name: Dwarf Fortress.exe, version: 0.0.0.0, time stamp: 0x56633788
Exception code: 0xc0000005
Fault offset: 0x00374b60
Faulting process id: 0xc1c
Faulting application start time: 0x01d130791e4680ef
Faulting application path: C:\df_42\df_42_02\Dwarf Fortress.exe
Faulting module path: C:\df_42\df_42_02\Dwarf Fortress.exe
Report Id: 09543afe-9c6d-11e5-8288-303a6424b7d2
Faulting package full name:
Faulting package-relative application ID:
(0033533)
mira277 (reporter)
2015-12-06 16:58

A few things:

I tried generating another medium region with the same parameters on a Windows 8 64 bit machine today and it also crashed. (hadn't touched the raws this time) Based on BoogieMan's note I tried a Small Region instead and it generated successfully.

Tonight I tried generating a medium region with same parameters on the Windows 7 machine but removed [GENERATE_POETIC_FORMS]. It took about an hour and 15 minutes but generated successfully. I will try restoring poetic forms and removing the scholar tags from entities later tonight.
(0033534)
Dwarfu (manager)
2015-12-06 17:12

martinuzz had world gen crashes (vanilla DF) from 0009256 using these parameters:

Note the errorlog at some point generated this:
PLAINS trying to generate musical form without speech or instruments

Generating world using parameter set MEDIUM REGION
 Seed: RH609Qc2Q4N5PJH7HcrO
 History Seed: toGDoCd46VJKBGnIz7p0
 Name Seed: Fva7tm1xZqh2WVZl51re
 Creature Seed: gfKuaAyW8Sc3yBuMaVZO

Generating world using parameter set MEDIUM REGION
 Seed: aQmcSUOeme24MqwAYG4G
 History Seed: AoQWeAQiCWOeOqYuUKmq
 Name Seed: A0a0sy2mWqWKiKks0UEi
 Creature Seed: OWWU6um4488kgmQMSo4m

Generating world using parameter set MEDIUM REGION
 Seed: ieqE0aAsYSau6yw68QUw
 History Seed: KSuIYwcYAyoKOO4mYkOm
 Name Seed: 0WYoSUokYC26yoE4EeWY
 Creature Seed: mcaOceIWmuYaWwcEUKII
(0033547)
BoogieMan (reporter)
2015-12-06 19:08
edited on: 2015-12-06 19:10

Tried some more world gens. Medium Region, generated to 200 years and then manually aborted.

Vanilla
Crash 3 out of 6 attempts.

Removed all [GENERATE_POETIC_FORMS] from entity_default.txt
Crashed 3 out of 6 attempts.

Removed all [SET_SCHOLARS_ON_VALUES_AND_JOBS] from entity_default.txt
Crashed 2 out of 7 attempts.

Removed all [SCHOLARx] from entity_default.txt
Crashed 4 out of 6 attempts.

Removed all [GENERATE_MUSICAL_FORMS] from entity_default.txt
Crashed 2 out of 7 attempts.

(0033549)
mira277 (reporter)
2015-12-06 19:40

With a random seed, [GENERATE_POETIC_FORMS] on entities on, and [SCHOLAR:x] and [SET_SCHOLARS_ON_VALUES_AND_JOBS] removed, I was able to generate a world. I tried using these settings again on one of the seeds that had crashed for me prior, Seed: dLOqBaGyquzxn9HTvSNq, and it crashed just after year 250.
(0033564)
Toady One (administrator)
2015-12-07 01:13

I finally got one to reproduce at y115 with an artist of some kind writing a book (no additional info yet). So if they are still happening when all the art forms (including dance) are removed, then there are two+ bugs. But at least I've got one of them on the run.
(0033580)
martinuzz (reporter)
2015-12-07 09:21

Okay I ran some worldgens.

ran 5 worldgens after removing all instances of [GENERATE_MUSICAL_FORMS], [GENERATE_POETIC_FORMS] and [GENERATE_DANCE_FORMS].
All 5 succesfully generated a world (I ran until the year 250)

Then I ran a worldgen where I removed POETIC and DANCE, but did not remove MUSIC, since music seemed to me the most likely culprit, if I am to make any sense of the "PLAINS trying to generate musical form without speech or instruments" line in my previous error log.

AND BEHOLD. First try. Dwarf fortress.exe has stopped working. Strangely, no error log was created. It looks like I've found the most likely culprit there. For completeness, I'll see if I can get DF to poop out another error log on the MUSIC gens, and I am gonna run some more worldgens with only DANCE and only POETIC not removed. Will update on the results
(0033582)
martinuzz (reporter)
2015-12-07 09:45

another crash (after 2 succesful gens with MUSIC). Again, no error log was created. This is the gamelog though:
Generating world using parameter set MEDIUM REGION
 Seed: 4ia4c68geEQmAyaa0G6E
 History Seed: 6qIEOicCq888G4IeQ6Ia
 Name Seed: qoEMo2aImS88aeeQkas8
 Creature Seed: EYMKWQ4gSgGGG82gAC0a

NOTE: my MEDIUM region has mineral scarcity changed to 1000(instead of the default 2500)
(0033584)
martinuzz (reporter)
2015-12-07 10:26

Hmmweird. I got 2 more crashes with worldgens using only MUSIC

Now I am trying worldgens with no MUSIC, but with DANCE and POETIC.
They don't crash during calendar, like the MUSIC crashes.
However, 3 out of 3 crashed now during the 'finalizing art' part of worldgen.

QUESTION: Could that be because there is no MUSIC for the DANCE?
(0033585)
Toady One (administrator)
2015-12-07 10:34

I've fixed the book crash now, which would be something that could happen if you have any kind of art form activated (wandering performers crashed it writing books if it couldn't find a nearby site to consider).

It doesn't explain the no speech or instruments line. Since humans can talk, it was... a plump helmet man trying to piggy back on their entity? I have no idea yet.

I tried to handle the cases where other art forms don't exist, but there could very well be a crash from not having music for dances, since I didn't test the non-vanilla cases much when I was messing around.

- Issue History
Date Modified Username Field Change
2015-12-05 20:56 mira277 New Issue
2015-12-06 11:20 BoogieMan Note Added: 0033512
2015-12-06 11:21 BoogieMan Note Edited: 0033512 View Revisions
2015-12-06 14:06 Toady One Note Added: 0033515
2015-12-06 15:12 barconis Note Added: 0033523
2015-12-06 16:58 mira277 Note Added: 0033533
2015-12-06 17:12 Dwarfu Note Added: 0033534
2015-12-06 17:13 Dwarfu Relationship added has duplicate 0009256
2015-12-06 17:14 Dwarfu Assigned To => Dwarfu
2015-12-06 17:14 Dwarfu Status new => needs feedback
2015-12-06 17:21 Dwarfu Relationship deleted has duplicate 0009256
2015-12-06 17:21 Dwarfu Relationship added child of 0009127
2015-12-06 19:08 BoogieMan Note Added: 0033547
2015-12-06 19:10 BoogieMan Note Edited: 0033547 View Revisions
2015-12-06 19:40 mira277 Note Added: 0033549
2015-12-06 19:40 mira277 Status needs feedback => assigned
2015-12-07 01:13 Toady One Note Added: 0033564
2015-12-07 09:21 martinuzz Note Added: 0033580
2015-12-07 09:45 martinuzz Note Added: 0033582
2015-12-07 10:26 martinuzz Note Added: 0033584
2015-12-07 10:34 Toady One Note Added: 0033585
2015-12-07 15:56 Dwarfu Issue Monitored: Dwarfu


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker