Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001434Dwarf FortressMiscellaneous Crashespublic2010-04-22 10:542012-02-28 19:56
WINE/NativeLinux/Windows2.6.33/Windows 7
0001434: Crash for no apparent reason with save
Save - http://static.dollchan.ru/misc/region5.1058.spr.tar.bz2 [^]
Note: Quite a resource intensive map!

When i designate weapon traps to be done, it sometimes crashes upon assigning the job to dwarf.
Most likely it is caused by inaccessible weapons (in cages with goblins, for example), but I'm not sure.
Unpause the game - within 1-2 in game days, the game should crash.
crash, Save Included, trap, weapon
duplicate of 0002299resolved Toady One Unhandled Win 32 Exception crash in Fortress mode, also crashes on attempts to reclaim.  
related to 0003140new  Old mayor's mandates still active 
Issue History
2010-04-22 10:54RusAnonNew Issue
2010-04-22 11:26FootkerchiefNote Added: 0004622
2010-04-22 11:37KennelTag Attached: crash
2010-04-22 11:37KennelTag Attached: trap
2010-04-22 11:37KennelTag Attached: weapon
2010-04-22 15:38RusAnonNote Added: 0004645
2010-04-22 17:22FootkerchiefNote Added: 0004654
2010-04-22 17:22FootkerchiefSummaryCrash when making weapon trap => Crash for no apparent reason
2010-04-27 16:22Logical2uIssue Monitored: Logical2u
2010-04-27 17:13Logical2uNote Added: 0005433
2010-04-27 17:28MalicusNote Added: 0005443
2010-04-27 17:37FootkerchiefNote Added: 0005446
2010-04-27 19:36RusAnonNote Added: 0005452
2010-04-27 19:37RusAnonNote Edited: 0005452bug_revision_view_page.php?bugnote_id=0005452#r1964
2010-04-29 08:00Logical2uNote Added: 0005662
2010-04-29 08:00Logical2uTag Attached: AWAITING UPDATE
2010-04-29 18:33RusAnonNote Added: 0005723
2010-04-29 18:37Logical2uTag Detached: AWAITING UPDATE
2010-04-30 14:08RusAnonNote Added: 0005771
2010-04-30 15:38Logical2uNote Added: 0005779
2010-04-30 15:43Logical2uReproducibilitysometimes => always
2010-04-30 15:43Logical2uCategoryDwarf Mode -- Traps => General
2010-04-30 15:43Logical2uOSLinux => Linux/Windows
2010-04-30 15:43Logical2uOS Version2.6.33 => 2.6.33/Windows 7
2010-04-30 15:43Logical2uPlatformWINE => WINE/Native
2010-04-30 15:43Logical2uSummaryCrash for no apparent reason => Crash for no apparent reason with save
2010-04-30 15:43Logical2uDescription Updatedbug_revision_view_page.php?rev_id=2130#r2130
2010-04-30 15:43Logical2uSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2132#r2132
2010-04-30 15:43Logical2uAdditional Information Updatedbug_revision_view_page.php?rev_id=2134#r2134
2010-06-15 03:28RusAnonNote Added: 0008482
2010-07-08 08:18FootkerchiefCategoryGeneral => Miscellaneous Crashes
2011-11-10 21:48DwarfuRelationship addedrelated to 0003140
2011-11-10 21:49DwarfuNote Added: 0018973
2011-11-10 21:49DwarfuRelationship addedduplicate of 0002299
2011-11-10 21:49DwarfuStatusnew => resolved
2011-11-10 21:49DwarfuResolutionopen => duplicate
2011-11-10 21:49DwarfuAssigned To => Dwarfu
2011-11-10 21:49DwarfuTag Attached: Save Included
2012-02-28 19:56Logical2uIssue End Monitor: Logical2u

2010-04-22 11:26   
A crashing save would be very helpful. You can upload to http://dffd.wimbli.com/ [^]
2010-04-22 15:38   
Here's the save, http://static.dollchan.ru/misc/region2.tar.bz2 [^]
1. It is NOT related to weapon traps. Turns out, those were just a coincidence, now it reliably crashes even without them.
2. I tried to get as close to crash as possible. Crashes in about 50 seconds at 20 fps speed here.
2010-04-22 17:22   
Cool, thanks for uploading. I'll retitle the thread.
2010-04-27 17:13   
I didn't experience any crashes before spring arrived. Does the crash occur after that point, RusAnon?

(Also, that is one memory intensive map!)
2010-04-27 17:28   
I didn't do anything, but I got to spring without a crash as well.

(Also, what's with all the stairs?)
2010-04-27 17:37   
I wonder if this one's Wine-specific (as reported for a non-crash bug at 0000219:0000726). Might be good if another Wine user checked whether they get a crash with this save.
2010-04-27 19:36   
(edited on: 2010-04-27 19:37)
I'll try to run it on windows myself and see if it works.
It crashes here before next season.

2010-04-29 08:00   
Any updates, RusAnon? (Or was that 'It crashes here before next season' after testing it on Windows?)
2010-04-29 18:33   
Just tried it on windows.
1. It did crash, in same timeframe as on linux (1-2 in-game days).
2. Just noticed, it is 14th granite, early spring in the save (so obviously it is after spring arrived). I'll re-check, maybe i uploaded wrong save instance.
2010-04-30 14:08   
Duh, its wrong save indeed. Git archived some old commit instead of head, sorry.
Here's correct one, it should be 14th granite 1058.
Crashes at 15th-16th granite.
http://static.dollchan.ru/misc/region5.1058.spr.tar.bz2 [^]
2010-04-30 15:38   
I'm getting the crash here, too. Doesn't appear to be military or melt related, so it's something new.

I'm going to update the description to include the proper save file.
2010-06-15 03:28   
Hmmm, this MAY be actually same as 0002299, since i changed bodyparts of some creatures after worldgen (added SHELL to mountain goats and modified elves).
But changing raws to original did not help.
2011-11-10 21:49   
Removed shell references from the mountain goats (creature_large_mountain);
Removed milk & cheese and pet tag from elves (creature_standard);
Changed dwarf child back to 12 (creature_standard).

It is probably some combination of those. There are already elves and mountain goats generated on the map, so Toady would have to look at which flags they are missing.

Getting a BEX error in 31.12.

Loaded it into 31.25 to see if any changes fixed the problem.
Unit has misaligned bp modifiers. Adjusting.
So it looks like the original user-induced raw-edit crash was fixed.

Time will progress a bit further but then we get an APPCrash, which is probably related to another bug - like the fact that there is 4 mayors with active mandates or the arsenal dwarf (I removed him from office).

Since the original reported crash was fixed, I'm resolving this as a duplicate of 0002299.

I will add a relation to 0003140 and cross-post the save there.