Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000406Dwarf FortressDwarf Mode -- Roomspublic2010-04-04 09:252010-06-09 06:46
Reporteraxus 
Assigned ToToady One 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
Platformx86OSWindowsOS VersionServer 2003
Product Version0.31.01 
Target VersionFixed in Version0.31.02 
Summary0000406: Crash after removing barracks on weapon rack
DescriptionI've got a guy who's stuck in "Individual Combat Training". He'll take breaks to eat. I removed Training from the barracks, and removed him from the squad, but that's all he's interested in doing.

So, I decide to remove the barracks. I free the room, as soon as I exit the menu, Dwarf Frotress crashes.
Steps To ReproduceLoad game, 'q', select weapon rack for barracks, 'f', exit the menu while guy is training.

I can get it to NOT crash if I free the room while he's taking a drink or eating.
Tagstraining
Attached Files

- Relationships
related to 0001529resolvedFootkerchief remove military cabinet and game crashed to desktop 

-  Notes
(0000879)
DoctorZuber (reporter)
2010-04-04 09:39
edited on: 2010-04-04 10:12

so... it only happens if he's training, not drinking or eating. I'll have to see if I can verify that, seems simple enough.

I was unable to generate a crash, here is the process I tried using. If this process is wrong, or if you can offer a better process for generating this crash, please update.

1. (b-r) build weapon rack
2. (q) select weapon rack
3. (t) select one or more squads to train here
4. Wait, verify from (u) user menu and from observation that one or more dwarves is here doing an "individual combat drill"
5. (q) select weapon rack
6. (x) remove weapon rack

(0000882)
axus (reporter)
2010-04-04 10:10

Hah, I saved it after I freed the zone and he was drinking. Now about 10-20 seconds after I reload, it crashes. If I re-enable the zone, it doesn't crash. So it's looking very likely that it's this guy crashing me when he tries to train ;p
(0000913)
Footkerchief (manager)
2010-04-04 13:27

axus, it sounds like it the crash may depend on the circumstances of that save. It might be helpful if you uploaded your save to the DFFD. http://dffd.wimbli.com/ [^]
(0000930)
axus (reporter)
2010-04-04 13:58

I did a (f)ree room, not a (x) remove weapon rack. I'll have to try that ;p

Thanks for the link. I've made an upload, it is here:
http://dffd.wimbli.com/file.php?id=1983 [^]
(0001411)
axus (reporter)
2010-04-06 06:19

Removing the weapon rack crashes ... creating a burrow away from the weapon rack and restricting him to it crashes... Maybe he knew something I didn't, because a large goblin invasion came and with his well-trained skills he was the only one who was not dead or dying at the end. I'm pretty sure that he activated with everyone else when I told his group to kill goblins. After the fight was over I cancelled the orders and he went right back to training.

I've noticed that usually the training job is yellow, same color as "No Job", but sometimes its a dark cyan color. Also, he has a tendency to hold on to alcohol barrels after he drinks, but if I mark them as forbidden eventually he'll drop them.
(0001418)
DoctorZuber (reporter)
2010-04-06 06:43

for the alcohol hauling behavior refer to 0000300
(0001784)
axus (reporter)
2010-04-07 10:32

Another note, not sure if it helps... The goblins finally killed that fort, all the extra training did help stave them off though :) I embarked a new one, and had similar problems with people doing individual combat training over and over. I heard that it might be tied to their personality? Anyways, I (f)reed the bed that the barracks was defined on, and then everyone stopped training, and there was no crash. They seem to be not very interested in civilian jobs, but they aren't stuck in a training loop either.
(0001856)
SirPenguin (reporter)
2010-04-07 14:29

Well sir, just wanted to congratulate you on have the most dwarfiest fortress I've ever seen. Not 10 seconds into loading I notice a War Gorilla and a War Leopard fight a pair of horses in your entrance. There is blood everywhere. 3 of the military captains are dead. A baby claims he is too insane to clean himself.

Well done.

I've tried all sorts of combinations and different tricks to get this dwarf to stop caring about the weapon stand. Changing squads, removing him from squads, making another barracks for him, etc., all don't work. Comically, he'll allow the room to be resized and he'll obey its size. He was training on top of the damn weapon rack when I set the size to 1 tile.

Still gonna look at it, though.
(0002008)
Toady One (administrator)
2010-04-08 06:38

Okay, this should be fixed for next time. Thanks for the save!

- Issue History
Date Modified Username Field Change
2010-04-04 09:25 axus New Issue
2010-04-04 09:36 DoctorZuber Note Added: 0000878
2010-04-04 09:38 DoctorZuber Note Deleted: 0000878
2010-04-04 09:39 DoctorZuber Note Added: 0000879
2010-04-04 10:10 DoctorZuber Note Edited: 0000879 View Revisions
2010-04-04 10:10 axus Note Added: 0000882
2010-04-04 10:11 DoctorZuber Note Edited: 0000879 View Revisions
2010-04-04 10:12 DoctorZuber Note Edited: 0000879 View Revisions
2010-04-04 13:27 Footkerchief Note Added: 0000913
2010-04-04 13:58 axus Note Added: 0000930
2010-04-04 17:22 Qloos Tag Attached: training
2010-04-06 06:19 axus Note Added: 0001411
2010-04-06 06:43 DoctorZuber Note Added: 0001418
2010-04-07 10:32 axus Note Added: 0001784
2010-04-07 14:29 SirPenguin Note Added: 0001856
2010-04-08 06:38 Toady One Note Added: 0002008
2010-04-08 06:38 Toady One Status new => resolved
2010-04-08 06:38 Toady One Fixed in Version => 0.31.02
2010-04-08 06:38 Toady One Resolution open => fixed
2010-04-08 06:38 Toady One Assigned To => Toady One
2010-06-09 06:46 Toady One Status resolved => closed
2011-04-01 07:58 Footkerchief Relationship added related to 0001529


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker