View Issue Details

IDProjectCategoryView StatusLast Update
0000913Dwarf FortressDwarf Mode -- Militarypublic2010-08-26 17:49
ReporterZeffrin Assigned Touser11 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
PlatformPhenom II 3.0GHz 4GB DDR2OSWindowsOS Version7
Summary0000913: 0.31.02 Crash when squad has training scheduled and you use weapon rack to tell them to train
DescriptionCrash seems to be when squad is scheduled to train and they're told to train by using weapon rack. Order doesn't seem to matter, I've tried using t in weapon rack first and then changing squad alert level and vice versa, occurs every time.

Save file to help speed things along:
Steps To ReproduceLoad the save file, then:
press q
select weapon rack in barracks
r (make room, oops sorry should've done that before save but ohwell)
press a
press t
press b
press t (this tells both squads to train, since I dont know which one is scheduled it works this way)

press s
press a
press t
press b
press t (puts both squads into Training alert).

now simply unpause and crash will occur shortly after... you can do this in either order, set their alert level and then tell them to train using weapon rack, this will also crash
Additional InformationI've got a windows 7 crash dump if you want it and some other debugging info

Exception code: 0xc0000417
Fault offset: 0x005fdb09

Actually stops at 009fdb09 with my debugger... looks like it's trying to add 20 to some unknown value on the stack

Hope this all helps!
TagsSave Included

Activities

Zeffrin

2010-04-09 23:07

reporter   ~0002521

Oops forgot link to save file which is at:
http://dffd.wimbli.com/file.php?id=2050

Zeffrin

2010-04-10 01:25

reporter   ~0002530

Actually it's something else to do with alerts... after trying to resume again I found it doesn't matter if you set training on the weapon rack or not but if you put both squads into alert active/training it crashes

I am able to get to train using the weapon rack and schedule as not active

user11

2010-08-26 17:49

  ~0012096

Last edited: 2010-08-26 17:50

This had to do with squad problems, which have been fixed at some point.

errorlog.txt shows:
Repairing squad info for Unit [hash]3056

I loaded this in 31.12 and no longer get the crash (FYI fort generated in 31.02).

Zeffrin, if you are still able to reproduce this crash, please upload a current save, reopen this report and post your new findings.

Issue History

Date Modified Username Field Change
2010-04-09 23:06 Zeffrin New Issue
2010-04-09 23:07 Zeffrin Note Added: 0002521
2010-04-10 01:25 Zeffrin Note Added: 0002530
2010-08-26 17:38 user11 Tag Attached: Save Included
2010-08-26 17:49 user11 Note Added: 0012096
2010-08-26 17:49 user11 Status new => resolved
2010-08-26 17:49 user11 Resolution open => no change required
2010-08-26 17:49 user11 Assigned To => user11
2010-08-26 17:50 user11 Note Edited: 0012096