Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006523Dwarf FortressDwarf Mode -- Reclaimpublic2014-07-07 18:202014-08-19 06:36
normalcrashhave not tried
0006523: Crash after generating world and immediately reclaiming/unretiring a worldgen fortress
After generating a world for 250 years, and going into fortress mode, one site was available to be unretired. After the unretirement text prompt, the game crashed.
1. Generate world
2. Unretire worldgenned fortress
5. profit
Yay first bug
No tags attached.
related to 0006681resolved Toady One Autosave causes save corruption and crashes on load 
related to 0007555new  Unretired fort has no dwarves, unpausing causes immediate "Your fortress has crumbled" 
parent of 0006738acknowledged Dwarfu Crash on unpausing [Worldgen Reclaim] 
has duplicate 0006900resolved Footkerchief World Gen Reclaim Crash- a few seconds after unpausing 
has duplicate 0007248resolved Toady One Crash a few ticks after embark 
has duplicate 0006721resolved Footkerchief Game crashes while revealing map of reclaimed dwarf ruins 
has duplicate 0007709resolved Footkerchief Dwarf crash on occupied site 
has duplicate 0006597resolved Footkerchief Crash on Reclaiming an Inhabited Fortress 
related to 0007151new  Abandoned fortresses reclaimed by NPCs during pre-play world simulation crash when "unretired" 
related to 0007615new  reclaim a fortress and game crashes after several ticks 
related to 0007451resolved Toady One Crash/freeze when reclaiming fort and unretiring adventurer 
related to 0008078new  Embark on reclaimed worldgen fortress crashes after a few turns. Fortress has humans, but not noted 'inhabited' 
related to 0007999new  Crash on unretire fortress and on load adventurer 
related to 0008362resolved Toady One Unretired fortress crashes after some game days 
related to 0008497resolved lethosor Segmentation fault 
Not all the children of this issue are yet resolved or closed.
Issue History
2014-07-07 18:20InteunisoNew Issue
2014-07-07 19:40lethosorNote Added: 0024901
2014-07-08 07:53KawzegNote Added: 0025034
2014-07-08 08:50InteunisoNote Added: 0025041
2014-07-08 12:45DwarfuRelationship addedrelated to 0006681
2014-07-12 12:22FootkerchiefRelationship addedparent of 0006900
2014-07-12 12:22FootkerchiefRelationship addedparent of 0006738
2014-07-12 12:24FootkerchiefSummaryCrash following Worldgenned unretire => Crash after generating world and immediately reclaim/unretiring a worldgen fortress
2014-07-12 12:30FootkerchiefSummaryCrash after generating world and immediately reclaim/unretiring a worldgen fortress => Crash after generating world and immediately reclaiming/unretiring a worldgen fortress
2014-07-12 12:30FootkerchiefNote Added: 0026013
2014-07-12 12:30FootkerchiefAssigned To => Footkerchief
2014-07-12 12:30FootkerchiefStatusnew => needs feedback
2014-07-12 14:00FootkerchiefRelationship addedrelated to 0007151
2014-07-13 18:10FootkerchiefRelationship replacedhas duplicate 0006900
2014-07-13 18:10FootkerchiefNote Added: 0026250
2014-07-13 18:11FootkerchiefRelationship addedhas duplicate 0007248
2014-07-13 22:49thewonderidiotNote Added: 0026279
2014-07-13 22:52thewonderidiotNote Edited: 0026279bug_revision_view_page.php?bugnote_id=0026279#r9786
2014-07-13 22:53thewonderidiotNote Edited: 0026279bug_revision_view_page.php?bugnote_id=0026279#r9787
2014-07-13 23:04thewonderidiotNote Edited: 0026279bug_revision_view_page.php?bugnote_id=0026279#r9788
2014-07-22 10:30FootkerchiefRelationship addedhas duplicate 0006721
2014-07-29 10:41FootkerchiefRelationship addedrelated to 0007615
2014-07-29 10:41FootkerchiefRelationship addedrelated to 0007555
2014-07-29 10:42FootkerchiefRelationship addedhas duplicate 0007709
2014-07-29 10:42FootkerchiefIssue Monitored: Superrob
2014-07-29 10:43FootkerchiefRelationship addedrelated to 0007451
2014-07-29 10:44FootkerchiefRelationship addedhas duplicate 0006597
2014-08-10 13:00FootkerchiefNote Added: 0028750
2014-08-15 12:44hikahiNote Added: 0029106
2014-08-15 12:44hikahiNote Edited: 0029106bug_revision_view_page.php?bugnote_id=0029106#r11169
2014-08-15 12:45hikahiNote Edited: 0029106bug_revision_view_page.php?bugnote_id=0029106#r11170
2014-08-15 12:45hikahiNote Edited: 0029106bug_revision_view_page.php?bugnote_id=0029106#r11171
2014-08-15 12:56hikahiNote Edited: 0029106bug_revision_view_page.php?bugnote_id=0029106#r11172
2014-08-15 12:58hikahiNote Edited: 0029106bug_revision_view_page.php?bugnote_id=0029106#r11173
2014-08-15 12:59hikahiNote Edited: 0029106bug_revision_view_page.php?bugnote_id=0029106#r11174
2014-08-15 14:19hikahiNote Edited: 0029106bug_revision_view_page.php?bugnote_id=0029106#r11175
2014-08-19 06:36FootkerchiefRelationship addedrelated to 0008078
2014-08-19 06:36FootkerchiefStatusneeds feedback => confirmed
2014-12-23 07:50FootkerchiefRelationship addedrelated to 0007999
2014-12-23 07:50FootkerchiefRelationship addedrelated to 0008362
2014-12-23 07:50FootkerchiefRelationship addedrelated to 0008497

2014-07-07 19:40   
I unretired a worldgen fort successfully. Can you post the seeds here and/or a save at http://dffd.wimbli.com? [^] (Seeds are probably easier, and can be found in gamelog.txt)
2014-07-08 07:53   
I just unretired a worldgenned fortress, it had no inhabitants and the game crashed instantly after unpausing, I am unsure if this is a different bug or related to this.
2014-07-08 08:50   
Generating world using parameter set CREATE WORLD NOW = 4333333
 Seed: 4W8eOg42WC0IQSe6qgks
 History Seed: ucEu0g6eWooow4Q6ukgK
 Name Seed: USmas2yYSmuKqKc2OeqQ
 Creature Seed: GqQ6OGgUsg826gY2QoGa
2014-07-12 12:30   
Were you using autosave?
2014-07-13 18:10   
Calathar posted a save at 0006900: http://dffd.wimbli.com/file.php?id=8821 [^]
2014-07-13 22:49   
(edited on: 2014-07-13 23:04)
I just generated a world in 40.03 that exhibits this: http://dffd.wimbli.com/file.php?id=8955 [^]

There are two worldgen fortresses that are marked as "Inhabited". If the game manages to not crash when unretiring one of them, you end up with 0 dwarves (as noted by Kawzeg) and can pan around. They will always crash on unpause though.

Interestingly, the behavior seems to be at least marginally tied to the state of the "current" folder. At one point while poking at this, one of the two forts entirely disappeared from the Reclaim list, and stayed missing until I manually deleted the contents of "current".

EDIT: This is definitely unrelated to 0006681 and 0006900 which were the autosave bug.

EDIT2: Here's the seed info for the world:
Generating world using parameter set CREATE WORLD NOW = 4233554
 Seed: Wq8y2keaqkAguoYAsOOe
 History Seed: mmiE8g2aEgwGsiIaI4Cw
 Name Seed: IKSye2kKeI6K6uSaKwoS
 Creature Seed: 0I02Okc0q8EiuKs8WuOo

2014-08-10 13:00   
Testing in 0.40.06, all of the fortresses in thewonderidiot's save were marked as 'Ruin', and I embarked on one without a crash. Not sure how stuff got in the 'current' folder.

Does anyone have a 0.40.07+ save that reproduces the problem?
2014-08-15 12:44   
(edited on: 2014-08-15 14:19)
I have a save from 0.40.08 that I think exhibits this bug. The game crashed after reclaiming a worldgen fortress, but there are a few caveats:

1. I have dfhack installed and was using it to kill off goblins and hostile dwarves while I explored with a miner

2. I have initial save and autosave turned on

3. The game did not crash immediately on load, but only after playing for a bit. I also quit and relaunched once to install dfhack, but was still playable for a short time after relaunching, it did not crash instantly.

Here's my errorlog.txt: https://www.dropbox.com/s/ruf4ps4tag4flpo/errorlog.txt [^]
My gamelog.txt: https://www.dropbox.com/s/8mq6wl9c8tabcv5/gamelog.txt [^]
The save: https://www.dropbox.com/s/wc42isx071wyybu/save.zip [^]

If there's anything else that would be useful to you guys, let me know and I'm happy to provide it!

Edit: I should add that this is a new world that I freshly generated after installing 0.40.08 from scratch, and that I am using the Mayday tileset and followed his instructions here for set up with .0.40.08 instead of using his pre-built 0.40.05 version: http://goblinart.pl/vg-eng/DFGtutorial.php [^]

Second Edit: I went back into my save without using dfhack, and it seems that it crashes now as soon as I discover a hiding goblin or dwarf but does not update the error log with any new messages. I know this for sure because I also crashed once when designating a dig spot at the edge of my discovered area, that added a pathing error line to the error log, but the crash after that when discovering a goblin did not add a new line.

Here's the updated game and error logs:
https://www.dropbox.com/s/umxvqu3vy8ywqkj/gamelog2.txt [^]
https://www.dropbox.com/s/w68iw1k68hdus37/errorlog2.txt [^]