Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000869Dwarf FortressDwarf Mode -- Militarypublic2010-04-09 04:402010-07-19 13:45
MiuGu 
Toady One 
highcrashalways
resolvedduplicate 
0.31.01 
0.31.11 
0000869: Game crashes on accessing squad menu with individual dwarf order assigned
The game seems to always crashes when trying to access the squad screen (s) after I've assigned an order to an individual dwarf that is not in squad 1. In the case of squad 2 the game freezes and in the case of squad 3 upwards (tested with 3&4 with two different saves) the game just gets an error and outright crashes.
Reproduction, atleast in my case, is really easy. Just assign random people to squad 1 and any other squad(s). Then give an individual order to a single dwarf that is not in squad 1. I've tried this on two different saves and been able to reproduce it in both cases identically. You can assign multiple individual orders to squad 1 members and squad wide orders to any squads and the game works fine. But as soon as you assign an individual order to a dwarf from any other squad and try to access squad menu again (game works fine until that) it either freezes(in the case of squad 2) or crashes (in the case of 3&4 that I've reproduced).
I've reproduced this bug in both 31.01 (at the time unknowingly) and in 31.02(the build with which I've done all the testing).
Squad menu
has duplicate 0002645resolved Footkerchief Individual assignment station using "s" key results in crash when pushing "s" key after assignment 
child of 0000706resolved Toady One Trying to access the squad screen mid-combat caused a complete game hang 
Issue History
2010-04-09 04:40MiuGuNew Issue
2010-04-09 04:45Rafal99Note Added: 0002298
2010-04-09 05:19Rafal99Tag Attached: Squad menu
2010-04-09 05:20Rafal99Note Edited: 0002298bug_revision_view_page.php?bugnote_id=0002298#r716
2010-04-09 09:18FootkerchiefRelationship addedrelated to 0000706
2010-04-09 09:47FootkerchiefRelationship replacedchild of 0000706
2010-04-11 08:36JimiDNote Added: 0002807
2010-04-11 08:41JimiDNote Edited: 0002807bug_revision_view_page.php?bugnote_id=0002807#r912
2010-05-04 22:25RusAnonIssue Monitored: RusAnon
2010-05-04 22:28RusAnonNote Added: 0006139
2010-05-30 13:13philomoryNote Added: 0007496
2010-06-01 17:27ChickenLipsNote Added: 0007547
2010-07-11 22:23FootkerchiefRelationship addedhas duplicate 0002645
2010-07-11 22:23FootkerchiefSticky IssueNo => Yes
2010-07-13 05:37Toady OneNote Added: 0010119
2010-07-13 05:37Toady OneStatusnew => resolved
2010-07-13 05:37Toady OneFixed in Version => 0.31.11
2010-07-13 05:37Toady OneResolutionopen => fixed
2010-07-13 05:37Toady OneAssigned To => Toady One
2010-07-13 06:03FootkerchiefResolutionfixed => duplicate
2010-07-13 21:33RusAnonIssue End Monitor: RusAnon
2010-07-14 04:23magimasterTag Attached: 32.11
2010-07-14 04:23magimasterTag Detached: 32.11
2010-07-19 13:45FootkerchiefSticky IssueYes => No

Notes
(0002298)
Rafal99   
2010-04-09 04:45   
(edited on: 2010-04-09 05:20)
Yeah, I can confirm this. Happened to me too.

Related to: 0000706

(0002807)
JimiD   
2010-04-11 08:36   
(edited on: 2010-04-11 08:41)
I have had a similar experience.

I have two squads. I assigned one dwarf to kill some Elk Birds, and shortly afterwards it crashes. Detailed instuctions accompany the DFFD file:

"Crashes when a single dwarf is given a kill order.

Select squad 'b', and dwarf Ingiz Idennosing, and give a kill order on the Elk Birds in the first cavern layer (can be found through the announcement list, or down a few levels from the F2 hot key zoom location.

I can confirm that it doesnt crash when the squad is given a similar kill order."

File on DFFD here:

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

Edit: No mods, but I did copy the save from 31.01 to 31.02s, including the raws to the save game folder.

(0006139)
RusAnon   
2010-05-04 22:28   
Had this happen several times here, reproduces each time i assign individual station order, leave screen, and try to open it again.
However, if i save the game after station order, load it, and access the squad menu, it works fine.
(0007496)
philomory   
2010-05-30 13:13   
Can confirm that this happens to me to. 0.31.3 here.
(0007547)
ChickenLips   
2010-06-01 17:27   
I can confirm it at .04

I see pretty consistent crashing when I give an individual member of a squad an order, ESC fully out of the menu, go back into it, and try to assign a different order. But it does seem to become safe as long as I properly back out of the individual orders menu and switch it back to Squad.
(0010119)
Toady One   
2010-07-13 05:37   
This one has been fixed for 0.31.11. Until then, when you give individual orders to squads, it'll be safest if you unselect any individuals before leaving the squad menu. The crash can come when it tries to make your old selection persist and a loop is indexed wrong.