Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008362Dwarf FortressDwarf Mode -- Reclaimpublic2014-09-27 01:562014-12-30 13:48
Toady One 
0008362: Unretired fortress crashes after some game days
Playing on a 1x1 'nano' embark using DFHACK's embark-tools (although I don't have any reason to believe that is related).

This is a fortress that has been retired / unretired several times with an adventurer visiting it and dropping items off. The crash occurs on around the same day each time.

Unlike 0007999 the adventurer wasn't retired to the fortress (but to a nearby hillock). Unlike 0008078 it was not a worldgen fortress. There were a couple of 'NPCs' in the other list, though.
* Load save.

http://dffd.wimbli.com/file.php?id=9799 [^]

* Play for three days.
May be related to / duplicate of 0008078 or 0007999
No tags attached.
related to 0006523confirmed Footkerchief Crash after generating world and immediately reclaiming/unretiring a worldgen fortress 
has duplicate 0008497resolved lethosor Segmentation fault 
has duplicate 0008601resolved Footkerchief Unretired fortress crashes at the exact same in-game time 
Issue History
2014-09-27 01:56ptb_ptbNew Issue
2014-09-27 02:25ptb_ptbNote Added: 0030395
2014-10-01 10:00ptb_ptbNote Added: 0030470
2014-10-01 10:00FootkerchiefNote Added: 0030471
2014-10-01 10:00FootkerchiefStatusnew => resolved
2014-10-01 10:00FootkerchiefResolutionopen => no change required
2014-10-01 10:00FootkerchiefAssigned To => Footkerchief
2014-10-24 11:53ptb_ptbNote Added: 0030716
2014-10-24 11:53ptb_ptbStatusresolved => needs feedback
2014-10-24 11:53ptb_ptbResolutionno change required => reopened
2014-10-24 11:58ptb_ptbNote Edited: 0030716bug_revision_view_page.php?bugnote_id=0030716#r12105
2014-10-24 12:09ptb_ptbNote Edited: 0030716bug_revision_view_page.php?bugnote_id=0030716#r12106
2014-10-24 12:34ptb_ptbNote Edited: 0030716bug_revision_view_page.php?bugnote_id=0030716#r12107
2014-10-24 13:03ptb_ptbNote Edited: 0030716bug_revision_view_page.php?bugnote_id=0030716#r12108
2014-10-24 13:08ptb_ptbNote Edited: 0030716bug_revision_view_page.php?bugnote_id=0030716#r12109
2014-10-29 03:35ptb_ptbNote Added: 0030781
2014-10-29 03:35ptb_ptbStatusneeds feedback => assigned
2014-10-29 03:36ptb_ptbNote Edited: 0030781bug_revision_view_page.php?bugnote_id=0030781#r12152
2014-10-29 03:48ptb_ptbNote Edited: 0030781bug_revision_view_page.php?bugnote_id=0030781#r12153
2014-10-29 03:50ptb_ptbNote Edited: 0030395bug_revision_view_page.php?bugnote_id=0030395#r12155
2014-10-29 03:52ptb_ptbNote Edited: 0030781bug_revision_view_page.php?bugnote_id=0030781#r12156
2014-10-29 03:57ptb_ptbNote Edited: 0030470bug_revision_view_page.php?bugnote_id=0030470#r12158
2014-10-29 06:25ptb_ptbNote Edited: 0030781bug_revision_view_page.php?bugnote_id=0030781#r12159
2014-10-29 08:06ptb_ptbNote Edited: 0030781bug_revision_view_page.php?bugnote_id=0030781#r12160
2014-10-29 12:03ptb_ptbNote Edited: 0030781bug_revision_view_page.php?bugnote_id=0030781#r12165
2014-10-31 04:43ptb_ptbNote Added: 0030808
2014-10-31 06:58ptb_ptbNote Edited: 0030808bug_revision_view_page.php?bugnote_id=0030808#r12181
2014-11-06 02:28ptb_ptbNote Added: 0030882
2014-11-20 04:39ptb_ptbNote Edited: 0030781bug_revision_view_page.php?bugnote_id=0030781#r12366
2014-12-04 10:11ptb_ptbNote Added: 0031255
2014-12-04 10:14ptb_ptbNote Edited: 0031255bug_revision_view_page.php?bugnote_id=0031255#r12467
2014-12-04 10:24ptb_ptbNote Edited: 0031255bug_revision_view_page.php?bugnote_id=0031255#r12468
2014-12-04 11:21ptb_ptbNote Edited: 0031255bug_revision_view_page.php?bugnote_id=0031255#r12469
2014-12-04 11:21ptb_ptbNote Edited: 0030882bug_revision_view_page.php?bugnote_id=0030882#r12471
2014-12-04 21:46ptb_ptbNote Edited: 0031255bug_revision_view_page.php?bugnote_id=0031255#r12476
2014-12-11 09:47ptb_ptbNote Added: 0031315
2014-12-12 02:36ptb_ptbNote Edited: 0031315bug_revision_view_page.php?bugnote_id=0031315#r12508
2014-12-13 10:05ptb_ptbNote Edited: 0031315bug_revision_view_page.php?bugnote_id=0031315#r12509
2014-12-13 10:07ptb_ptbNote Edited: 0031315bug_revision_view_page.php?bugnote_id=0031315#r12510
2014-12-13 10:11ptb_ptbNote Added: 0031326
2014-12-13 10:11ptb_ptbNote Edited: 0031315bug_revision_view_page.php?bugnote_id=0031315#r12511
2014-12-13 10:12ptb_ptbNote Edited: 0031326bug_revision_view_page.php?bugnote_id=0031326#r12513
2014-12-13 10:13ptb_ptbNote Edited: 0031326bug_revision_view_page.php?bugnote_id=0031326#r12514
2014-12-13 10:16ptb_ptbNote Edited: 0031326bug_revision_view_page.php?bugnote_id=0031326#r12515
2014-12-13 10:26ptb_ptbNote Edited: 0031326bug_revision_view_page.php?bugnote_id=0031326#r12516
2014-12-13 11:53kicking jayNote Added: 0031327
2014-12-13 12:49ptb_ptbNote Deleted: 0030882
2014-12-22 13:01latias1290Note Added: 0031437
2014-12-23 07:50FootkerchiefRelationship addedrelated to 0006523
2014-12-26 12:40ptb_ptbNote Added: 0031491
2014-12-26 13:03ptb_ptbNote Edited: 0031491bug_revision_view_page.php?bugnote_id=0031491#r12596
2014-12-30 13:48Toady OneNote Added: 0031563
2014-12-30 13:48Toady OneStatusassigned => resolved
2014-12-30 13:48Toady OneFixed in Version => Next Version
2014-12-30 13:48Toady OneResolutionreopened => fixed
2014-12-30 13:48Toady OneAssigned ToFootkerchief => Toady One
2014-12-30 18:22lethosorRelationship addedhas duplicate 0008497
2015-01-09 10:40FootkerchiefRelationship addedhas duplicate 0008601

2014-09-27 02:25   
(edited on: 2014-10-29 03:50)
It looks like my adventurer considered the fortress her home, despite having retired elsewhere, because when I abandoned the fortress and unretired her she appeared in the fortress. Possibly she had migrated or wandered into the fortress area and that triggered the crash?

[EDIT] Note that game crashed at 9th limestone. So likely around the time the dwarf caravan / liaison should be arriving.

2014-10-01 10:00   
(edited on: 2014-10-29 03:57)
Tentatively it looks like this happens due to my use of DFHACK to LAIR the fortress. So can probably be safely ignored, unless it happens to people who don't use DFHACK to lair places.


[EDIT] Probably not that afterall (see later)

2014-10-01 10:00   
Thanks for the update!
2014-10-24 11:53   
(edited on: 2014-10-24 13:08)
I've had another occurrence of this - without having used DFHACK to mark the fortress as 'lair'.

In this case a bunch of the dwarves were werebeast bitten (but have since died / wandered off). Possibly that caused the location to naturally be marked 'lair' by the game? I also noted that there were a whole bunch of 'outcast' animals.

The save game is on the 14th. Game crashes very early on the 17th.

http://dffd.wimbli.com/file.php?id=9969 [^]

Timing wise I suspect this has to do with the dwarf trading caravan.

There are also about 100 merchants on screen. :/

2014-10-29 03:35   
(edited on: 2014-11-20 04:39)
I've got another incidence of this. Again it's at a time that indicates the dwarven caravan may be to blame. This time there are no spurious traders or other odd people on the map.

Could I get a title change?

"Unretired fortress crashes when (presumed) dwarf caravan arrives"

Save file (DF 0.40.13) http://dffd.wimbli.com/file.php?id=9994. [^]
Also I checked and the first save file in this bug report also crashed in limestone.

[EDIT] Same location, spring. Crash on elf caravan arrival? Or maybe dwarf migrant arrival?
http://dffd.wimbli.com/file.php?id=9995 [^]

[EDITx2] I have since had some migrants arrive without crash. Not yet had any caravan arrive without crash.

[EDITx3] Just a quick note to say that this OLD save file still continues to crash in DF 0.40.17. I have still not yet had any new instances of this crash with NEWLY generated worlds since the latest post on this report.

2014-10-31 04:43   
(edited on: 2014-10-31 06:58)
Update: This is regarding a world generated in DF 0.40.14. I have just unretired a fortress after spending a few game days with an adventurer. There are now about 60 merchants in the 'other' category (mixed human and dwarf).

"Masses of merchants turn up in retired fortress" may be a separate bug, or it may have something to do with the crashes.

[EDIT] Didn't crash when the first dwarven caravan arrived.
However all the stray merchants swarmed the trade depot.
http://imagr.eu/up/5453955b45e9d_merchants.png [^]

2014-12-04 10:11   
(edited on: 2014-12-04 21:46)
I'm not sure this is the same bug, but I'm getting crashes after un-retiring a fortress again. All these are games gen'ed in 0.40.19

Save file from before unretiring:
http://dffd.wimbli.com/file.php?id=10176 [^]

The fortress was run for a year, then it was retired and an adventurer was played for a while, then the adventurer died. Several days after unretiring the fortress the game crashed.

The game file uses Pheobus' Graphics Set and some minor changes to the Mountain entity.

http://imagr.eu/up/5480a4809bfe4_entity_default.png [^]

[EDIT] Here's a save from just before it crashes.
http://dffd.wimbli.com/file.php?id=10178 [^]

Note that the same problem has been seen in the Species War game
(unretire elf fortress from latest save http://dffd.wimbli.com/file.php?id=10177 [^] )
although that uses the 'All Races Playable' mod as well as Phoebus' Graphics

2014-12-11 09:47   
(edited on: 2014-12-13 10:11)
I tested, in DF 0.40.19, abandoning a fortress then reclaiming it without playing an adventurer in-between. I let it run for one game year after reclaiming and it didn't crash.

Same as above, only with playing an adventurer and a fortress in between. No crashes.

Tentatively, the crashes may only be associated with UNRETIRING not with RECLAIMING.

2014-12-13 10:11   
(edited on: 2014-12-13 10:26)
New world, DF 0.40.19, Phoebus Graphics' Set no other mods.
Retiring a fortress then immediately unretiring it without playing an adventurer in-between - crashed in Autumn (coinciding with Dwarf caravan) around 6 game months after unretiring.

Fortress before retiring: http://dffd.wimbli.com/file.php?id=10243 [^]

Fortress after retiring: http://dffd.wimbli.com/file.php?id=10244 [^]

Fortress shortly before crash: http://dffd.wimbli.com/file.php?id=10245 [^]

No error log. Last lines in gamelog were
"The outpost liaison Dodok Rakustrithzam from Onol Memad has arrived.
 A caravan from Onol Memad has arrived."

kicking jay   
2014-12-13 11:53   
Possibly related? http://www.bay12games.com/dwarves/mantisbt/view.php?id=8443 [^]

Visited an abandoned fort as an adventurer and there were merchants and wagons everywhere. Imagine they'd still be there if I reclaimed.
2014-12-22 13:01   
I believe that 0008497 is related to this, as I unretired the fort not long before the crash occurred on that save.
2014-12-26 12:40   
(edited on: 2014-12-26 13:03)
New saves for DF 0.40.23
Pre-retire save: http://dffd.wimbli.com/file.php?id=10334 [^]
Post-retire save: http://dffd.wimbli.com/file.php?id=10336 [^]
Pre-crash save: http://dffd.wimbli.com/file.php?id=10337 [^]

Crashes on caravan arrival.

Toady One   
2014-12-30 13:48   
Yeah, the knowledge of plants/animals was not being initialized. Hopefully this'll be fixed now. It's unclear how many of the old crash reports will be affected.