Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000156Dwarf FortressDwarf Mode -- Interface, Military Screenpublic2010-04-02 10:542010-06-09 06:46
Toady One 
PCWindows Vista
0000156: Schedule grid / inactive causes crash
The STR pretty much says it all here. It's very easy to reproduce. It's an immediate crash.
1. (m)ilitary
2. (s)chedule
3. (tab) to the schedule grid
4. (*) repeat as necessary until...
5. Crash!
crash, military screen
has duplicate 0000209closed Footkerchief Crash on squad schedules screen 
has duplicate 0001014closed Footkerchief Crash when changing alerts on squad scheduling screen 
Issue History
2010-04-02 10:54DoctorZuberNew Issue
2010-04-02 11:59arcanerTag Attached: crash
2010-04-02 11:59arcanerTag Attached: military screen
2010-04-03 09:04FootkerchiefRelationship addedhas duplicate 0000209
2010-04-03 15:26FootkerchiefCategoryGeneral => Dwarf Mode -- Military
2010-04-03 15:28FootkerchiefCategoryDwarf Mode -- Military => Dwarf Mode -- Interface, Military Screen
2010-04-07 14:11DoctorZuberNote Added: 0001850
2010-04-07 14:52KumquatNote Added: 0001859
2010-04-07 15:09PhydauxIssue Monitored: Phydaux
2010-04-07 15:35Draco18sNote Added: 0001869
2010-04-11 17:42NobuNote Added: 0002920
2010-04-11 17:43NobuIssue Monitored: Nobu
2010-04-11 18:25FootkerchiefRelationship addedhas duplicate 0001014
2010-04-11 18:25FootkerchiefIssue Monitored: Footkerchief
2010-04-12 07:11Toady OneNote Added: 0003039
2010-04-12 07:11Toady OneStatusnew => resolved
2010-04-12 07:11Toady OneFixed in Version => 0.31.03
2010-04-12 07:11Toady OneResolutionopen => fixed
2010-04-12 07:11Toady OneAssigned To => Toady One
2010-04-12 15:25NobuIssue End Monitor: Nobu
2010-04-14 09:26PhydauxIssue End Monitor: Phydaux
2010-06-09 06:46Toady OneStatusresolved => closed

2010-04-07 14:11   
should sticky this or something to make sure toady sees it since it is an easily reproducible crash.
2010-04-07 14:52   
Another very easy way to reproduce this crash is to make a month with 'no scheduled order', copy it, and then paste it on top of a 'train' order.
2010-04-07 15:35   
@Kumquat: that's issue 0000035
2010-04-11 17:42   
It doesn't matter what alerts are involved; you just need to highlight the order instead of the schedule grid, then press * or / (default binding to move to the next alert) one or more times. When you try to move past the last alert or before the first alert, you get an instant crash.

It's probably not wrapping around to the other end of the alerts list correctly, and is trying to load an nonexistant alert. Just a guess from my programming experience.
Toady One   
2010-04-12 07:11   
Okay, this is fixed for 0.31.03.