View Issue Details

IDProjectCategoryView StatusLast Update
0005768Dwarf FortressDwarf Mode -- Militarypublic2015-03-29 18:58
Reporterbrucemo Assigned Touser6 
PrioritynormalSeveritycrashReproducibilityalways
Status confirmedResolutionunable to reproduce 
OSWindows 7 
Product Version0.34.06 
Summary0005768: Crash when assigning a dwarf to the fortress guard (which doesn't exist)
DescriptionI can crash DF in a couple of keystrokes by trying to add a dwarf to the fortress guard, when there is no fortress guard.

34.06, created under 34.06.
Steps To Reproduce1. Boot DF, load save. In my save I have one squad already, and it is possible for me to create a captain of the guard, but I do not have one. I suspect this will reproduce easily in any fortress that has been going for a few years, has a squad, but doesn't have a captain of the guard, i.e probably your current game. I can give you this save if you want it though.

2. m (military screen).

3. down-arrow once to get off "captain of the guard" and on to previously existing squad.

4. l (create squad appointed by this leader).

5. Select a uniform (doesn't seem to matter which) and press enter.

6. Notice that "captain of the guard" is selected, the "squad positions" list is for the first squad (not the fortress guard, which doesn't exist), and the "candidates" are the rest of the dwarves.

7. right-arrow twice to select the first candidate, and press enter.

8. GP fault.

Essentially this exploded when I tried to add a dwarf to a new squad without selecting the new squad first. If you have no captain of the guard, it is normally impossible to add dwarves to the palace guard, but if you have just created a squad, it becomes possible.
TagsNo tags attached.

Activities

brucemo

2012-08-28 00:16

reporter   ~0023498

This is repro in 34.11 and is a giant pain in the ass. I don't make a palace guard, and I often ending up crashing while making new squads.

user6

2015-01-08 08:53

  ~0031766

Is this problem still present in the latest version? If so, please upload a save that reproduces the problem to http://dffd.wimbli.com/ and post the link here.

user6

2015-03-29 08:18

  ~0032444

If anyone has a save that reproduces this problem in the latest version, please upload it to http://dffd.bay12games.com/ and PM a manager on the forums (or reopen the report).

user6

2015-03-29 18:58

  ~0032462

Reopening with a save from Detros: http://dffd.bay12games.com/file.php?id=10717

Add Note

Note

Issue History

Date Modified Username Field Change
2012-04-03 15:17 brucemo New Issue
2012-08-28 00:16 brucemo Note Added: 0023498
2015-01-08 08:53 user6 Note Added: 0031766
2015-01-08 08:53 user6 Assigned To => user6
2015-01-08 08:53 user6 Status new => feedback
2015-03-29 08:18 user6 Note Added: 0032444
2015-03-29 08:18 user6 Status feedback => resolved
2015-03-29 08:18 user6 Resolution open => unable to reproduce
2015-03-29 18:58 user6 Note Added: 0032462
2015-03-29 18:58 user6 Status resolved => confirmed