Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001222Dwarf FortressTechnical -- Generalpublic2010-04-15 23:092010-06-13 02:09
darkdragon 
Toady One 
highcrashalways
resolvedduplicate 
DesktopWindows7
0.31.03 
0.31.07 
0001222: Reproduceable Military Screen Crash (with savegame)
Sometime upon entering the second year I will experience a crash (have not narrowed down the cause of this initial crash yet, but it is likely upon opening the military screen as that is what causes the subsequent crashes).

After reverting to my earlier save, and usually after experiencing a season change, I can no longer open the military menu. Attempting to do so results in an immediate crash to desktop with a watson error report.

Occasionally I will get a C++ runtime error as well.

I do not have exact steps, there could be multiple things that influence this crash.

Generally it occurs after the game crashes sometime during the second year. This is usually the first and only crash I have experienced in this fort.

After reloading the save from whenever I had last saved, opening the military menu will usually cause a crash, a season change may be necessary to induce it, but once it has crashed, attempting to open the menu at the same point again will always reproduce the crash.
Savegame:

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

Error Report Contents:

Problem signature:
  Problem Event Name: APPCRASH
  Application Name: dwarfort.exe
  Application Version: 0.0.0.0
  Application Timestamp: 4bc3c470
  Fault Module Name: dwarfort.exe
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp: 4bc3c470
  Exception Code: 40000015
  Exception Offset: 0060259e
  OS Version: 6.1.7600.2.0.0.256.48
  Locale ID: 1033
  Additional Information 1: c480
  Additional Information 2: c48066217a370b098ff86281594365cb
  Additional Information 3: db64
  Additional Information 4: db647ce1d37137d547c62ab675d1e21e
crash, military screen
child of 0000378resolved Toady One Crash when selecting specific squad in military screen (daggers) 
Issue History
2010-04-15 23:09darkdragonNew Issue
2010-04-22 16:17darkdragonNote Added: 0004648
2010-04-22 16:18darkdragonNote Edited: 0004648bug_revision_view_page.php?bugnote_id=0004648#r1584
2010-04-22 16:54KennelTag Attached: crash
2010-04-22 16:54KennelTag Attached: military screen
2010-04-22 16:57Logical2uNote Added: 0004651
2010-04-22 16:59Logical2uNote Edited: 0004651bug_revision_view_page.php?bugnote_id=0004651#r1586
2010-04-23 21:10darkdragonNote Added: 0004838
2010-04-23 22:10DoctorZuberNote Added: 0004845
2010-04-26 20:08codeManJonesIssue Monitored: codeManJones
2010-04-29 17:37FootkerchiefRelationship addedchild of 0000378
2010-04-29 18:20FootkerchiefAdditional Information Updatedbug_revision_view_page.php?rev_id=2108#r2108
2010-06-13 01:20Toady OneStatusnew => resolved
2010-06-13 01:20Toady OneFixed in Version => 0.31.07
2010-06-13 01:20Toady OneResolutionopen => fixed
2010-06-13 01:20Toady OneAssigned To => Toady One
2010-06-13 02:09FootkerchiefResolutionfixed => duplicate
2010-06-29 07:38FootkerchiefCategoryTechnical => Technical -- General

Notes
(0004648)
darkdragon   
2010-04-22 16:17   
(edited on: 2010-04-22 16:18)
Just started a 3rd fort to test this issue. Was very slow about building up, just wanted to see if I could get past year 2.

Year 2 spring rolls around, autosave kicks in, and I press 'm' for military menu.

Boom, instant crash.

I have not breached the caverns, I haven't even seen another wild animal other than the tame ones my dwarves and the caravan brought, and the only military related thing I have dealt with was briefly conscripting someone to fight off a kobold.

I also have no smelter, so it's not the 'melting' bug other people have mentioned.

I brought the save to my rooommates PC which has much more RAM and it still crashed. Also tested on one of our Windows XP computers, it still crashed.

How am I the only one with this issue? I see plenty of reports of people making it to the point in the game where they are getting sieges/forgotten beasts, but I can't even get out of the first year.

(0004651)
Logical2u   
2010-04-22 16:57   
(edited on: 2010-04-22 16:59)
Not quite the same crash as the other military crashes I've looked at, just judging by the error codes.

Edit: Have you tried the "Knife user" fix? See http://www.bay12games.com/dwarves/mantisbt/view.php?id=378 [^]

(0004838)
darkdragon   
2010-04-23 21:10   
I discovered the knife thing the other day and have been testing to make sure it fixed it.

It is definately the cause. Explains why it happens at year 2, as that's generally when kobolds start showing up with daggers.
(0004845)
DoctorZuber   
2010-04-23 22:10   
soo... this is probably a duplicate of 0000378 again.