View Issue Details

IDProjectCategoryView StatusLast Update
0004741Dwarf FortressDwarf Mode -- Militarypublic2015-01-08 09:03
Reporternutzy Assigned Touser6 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionnot fixable 
PlatformPCOSWindows 7OS VersionHome Premium
Product Version0.31.25 
Summary0004741: Crash on assigning squads or positions a default uniform.
DescriptionI've had crashes several times on this map and lost part of a season. This one seems unavoidable from at least the start of winter.

There are some weird things going on that could be related. The crash happens right as the dwarven caravan leaves, but I don't know how that could have been the cause. At the same time, the liaison is in the process of being snubbed by a mayor who is waiting for traction. I tried killing the two of them with magma (via DFHack), but the crash still happens.

The save has been uploaded to DFFD: http://dffd.wimbli.com/file.php?id=4636
Steps To ReproduceLoad the region1 save
Unpause
Tagscaravan, crash, liaison, Mayor, Save Included, Save Needs Testing

Activities

user11

2011-07-08 22:42

  ~0018162

nutzy, for future reference, we only need the DF/data/save/region save folder, not the entire DF folder.

Caravan doesn't reach the edge of the map, so I doubt it has anything to do with them.

Since your Baron is also the mayor and has an infection, he may be dieing and that is causing the crash with the meeting.

AppCrash with no errorlog entries.

Replaced mayor with the broker/bookkeeper, but still get the crash, most likely because the meeting with the baron is already initiated.

Not seeing any raw errors, but I only checked the dates on the files, not the contents.

I'll relate this to a couple other liaison/diplomat/crash bugs and leave it open for further review.

nutzy

2011-07-09 12:29

reporter   ~0018181

Sorry for the overkill at DFFD.

I have noticed suggestions on several bug reports here and noticed that disbanding the military is often advised.

I gave it a shot and the crash was averted, so it could be that the mayor/liaison has nothing to do with it. If you look at the nobles screen, though, you will see that the only noble who can be replaced (before you disband the military) is the mayor. It doesn't make sense to me, but might mean something.

A little later, a goblin ambush arrives. I had an instant crash when I enlisted the civilians caught outside to die fighting. That crash occurs if and only if they are assigned uniforms. If this is related to an existing bug I haven't seen it.

user11

2011-07-09 13:35

  ~0018182

Reminder sent to: nutzy

Thanks for the follow-up.

Can you look at that save again? When I load it, every noble position except the baron can be replaced.

Was your baron/mayor ever in the military (he has skills, but may have arrived with them and I don't see combat reports or announcements for him)?

Also, what change did you make to your regional creature_standard raw file after the world was generated?


My further notes follow:

I've tried different schedules, deleting the burrows, stopping training, disbanding each squad in turn, etc. etc., but the crash continues.

Only when all 3 squads are disbanded does the crash avert.

nutzy

2011-07-09 19:20

reporter   ~0018191

Oops. I think I tried to vacate the mayor position and that was why I couldn't change any other nobles, so disregard that.

The mayor arrived in the first migration wave as a warrior taylor. I set him to work making bags, until the expedition had her skull caved in by a woman who went berserk when a macaque made off with her masterpiece billon goblet. Then he was appointed as sheriff and bashed her skull in for dwarven justice. That was his *only* combat experience in my fort.

The only change in the raw was to change the goblin CREATURE_TILE from 'g' to 'o'. Changing it back doesn't prevent the crash and had no effect on a previous fortress.

Disbanding the squads is not quite what prevents the crash. If you play with uniforms and set them all to be naked, the game is fine. As far as I can tell, after this *any* uniform assignment causes instant crash.

nutzy

2011-07-17 06:03

reporter   ~0018265

Last edited: 2011-07-17 06:04

One more update.

I don't think this is related to the liaison or mayor at all. I have continued playing this fortress for a while and even well after the mayor recovers the crash persists.

As far as I can tell, when anyone in the military is assigned a uniform with any kind of handwear, the game instantly crashes. I'm not sure what causes this, but I think it may be related to a pump operator who was in the military for a while, but has been retired since he lost the use of both arms to nerve damage. As a result, all he is good for is spamming cancellation messages.

I've tried drowning him, but even after he is dead, the crash continues. It could be that the crash isn't related to him, but I have no idea why having handwear assigned to soldiers could cause a crash.

Also, I updated the DFFD file so that it includes *only* the region save folder.

user11

2014-03-25 17:08

  ~0024632

Verified crash happens only when squad or position is assigned a uniform.

This save doesn't load in 34.xx.

user6

2015-01-08 09:03

  ~0031787

Since save compatibility has been broken since this report, it's hard to tell whether this crash has since been fixed. If anyone has a save that crashes under similar conditions in the latest version, please upload it to http://dffd.wimbli.com/ and PM a manager on the forums (or reopen the report).

Issue History

Date Modified Username Field Change
2011-07-06 18:53 nutzy New Issue
2011-07-06 18:56 nutzy Tag Attached: crash
2011-07-06 18:57 nutzy Tag Attached: Mayor
2011-07-06 18:58 nutzy Tag Attached: liaison
2011-07-06 18:58 nutzy Tag Attached: caravan
2011-07-08 22:42 user11 Note Added: 0018162
2011-07-08 22:42 user11 Tag Attached: Save Included
2011-07-08 22:42 user11 Tag Attached: Save Needs Testing
2011-07-08 22:43 user11 Relationship added related to 0003035
2011-07-08 22:43 user11 Relationship added related to 0001649
2011-07-09 02:41 user11 Relationship added related to 0000672
2011-07-09 12:29 nutzy Note Added: 0018181
2011-07-09 12:29 nutzy Note View State: 0018181: private
2011-07-09 12:29 nutzy Note View State: 0018181: public
2011-07-09 13:35 user11 Note Added: 0018182
2011-07-09 19:20 nutzy Note Added: 0018191
2011-07-17 06:03 nutzy Note Added: 0018265
2011-07-17 06:04 nutzy Note Edited: 0018265
2014-03-25 17:08 user11 Note Added: 0024632
2014-03-25 17:08 user11 Assigned To => user11
2014-03-25 17:08 user11 Status new => acknowledged
2014-03-25 17:09 user11 Category Dwarf Mode -- Diplomacy => Dwarf Mode -- Military
2014-03-25 17:09 user11 Summary Crash on caravan/liaison departure => Crash on assigning squads or positions a default uniform.
2014-03-25 17:09 user11 Relationship deleted related to 0003035
2014-03-25 17:09 user11 Relationship deleted related to 0001649
2014-03-25 17:09 user11 Relationship deleted related to 0000672
2015-01-08 09:03 user6 Note Added: 0031787
2015-01-08 09:03 user6 Status acknowledged => resolved
2015-01-08 09:03 user6 Resolution open => not fixable
2015-01-08 09:03 user6 Assigned To user11 => user6