View Issue Details

IDProjectCategoryView StatusLast Update
0003576Dwarf FortressDwarf Mode -- Invasionspublic2010-11-21 12:52
ReporterLangdon Assigned ToToady One  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformIntelOSWindows XPOS VersionXP SP3
Product Version0.31.17 
Fixed in Version0.31.18 
Summary0003576: Fortress mode game crash due to weapon traps
DescriptionThe game crashes shortly after a merchant caravan arrives and starts unloading. The provided save is just after the I have given orders to haul goods to the depot. I suspect there is also a goblin ambush on the map, and it is possible the crash occurs at the point where they unstealth.

I have had one goblin ambush in the previous year (all goblins killed with no dwarven casualties, no goblins caged).

I have tried the following (each on a separate load), and the crash still occurs:

- disbanding the military (two squads, one 4-man squad of melee and 5-man squad of marksdwarves) by removing all dwarves from the squads and disbanding the squads
- setting one or both of the squads to inactive
- reassigning new equipment to all active soldiers

I have not reached magma on this map, and am not melting anything. All smelters are fuel-based.

It is possible that this is related to 0003571 (crash when dwarf injured by wooden spike), if it is crashing when a bowgoblin popping out from ambush hits one of my dwarves (I have several woodcutters out and about on the surface).
Steps To ReproduceLoad provided save, wait a few minutes.
Tags31.17, traps

Relationships

has duplicate 0003588 resolvedLogical2u "Segmentation fault" when a giant olm walks in weapon trap 
has duplicate 0003604 resolvedLogical2u ambushes cause game to crash (maybe) 
has duplicate 0003615 resolvedToady One Enemy touches stone fall trap, game crashes 
child of 0003554 resolvedToady One Game crashes when upright spike traps hit dwarves. 

Activities

Langdon

2010-11-13 05:43

reporter   ~0013749

Last edited: 2010-11-13 05:58

Forgot to mention the save - it is uploaded at http://dffd.wimbli.com/file.php?id=3401

Edit:

I tried a bunch of stuff to get past the crash point (I wanted to save this fort).
By chance, a kitten exposed the goblin ambush squad before they could reach my gate. I noticed the game crashed just as the lead goblin stepped on a weapon trap (2x serrated steel discs).

Reloaded, and dismantled the weapon traps at the entrance. The game now continued as normal, the goblins appeared by the trade depot, no crash.

I exited using ctrl-alt-del, and reloaded, this time ordering all dwarves back to burrows and stationing melee dwarves by entrance. Again, the game crashes once a goblin hits a weapon trap.

Would it be possible to change the issue title to "Crash on triggering weapon trap"?

Vercingetorix

2010-11-13 10:17

reporter   ~0013766

I have a recurring crash right now involving a kobold; someone is interrupted by its appearance and then the game crashes. I was fortunate enough to save right before it happens, and it appears to happen every time.

I'll upload it soon.

Vercingetorix

2010-11-13 10:18

reporter   ~0013767

I'm not sure if weapon traps have anything to do with it, but perhaps the kobold's trap avoid ability plays in to a similar situation as with the goblins; otherwise, it may be a trigger related to the ambush mechanism.

takaratiki

2010-11-13 11:17

reporter   ~0013770

I'm having a similar issue when racoon's rush into my stone fall traps. First trigger of the trap crashes the game This is on a new fort gen'ed in 31.17. Repeated the crash three times, always when a stone fall trap is triggered. This is on the Linux distribution, Kubuntu 10.10.

Logical2u

2010-11-13 12:15

manager   ~0013775

ivze has this linux version save for us: http://ivze.sknt.ru/df_linux_olm_segfault.tar.lzma

reddit

2010-11-13 19:22

reporter   ~0013794

I can confirm that my .17 save is crashing when weapon traps are triggered. Cage traps are working fine.

When a Goblin ambush steps on my weapon traps with 1x serrated steel discs, the game immediately crashes. If the traps aren't triggered or I remove them, everything runs fine.

Toady One

2010-11-14 05:01

administrator   ~0013808

The weapon trap crash was coming from the new announcement colors... fixed for 0.31.18.

Issue History

Date Modified Username Field Change
2010-11-13 05:42 Langdon New Issue
2010-11-13 05:43 Langdon Note Added: 0013749
2010-11-13 05:58 Langdon Note Edited: 0013749
2010-11-13 08:54 Logical2u Summary Fortress mode game crash => Fortress mode game crash due to weapon traps
2010-11-13 08:55 Logical2u Relationship added child of 0003554
2010-11-13 10:17 Vercingetorix Note Added: 0013766
2010-11-13 10:18 Vercingetorix Note Added: 0013767
2010-11-13 11:17 takaratiki Note Added: 0013770
2010-11-13 12:15 Logical2u Relationship added has duplicate 0003588
2010-11-13 12:15 Logical2u Note Added: 0013775
2010-11-13 19:22 reddit Note Added: 0013794
2010-11-13 22:31 Langdon Tag Attached: 31.17
2010-11-13 22:31 Langdon Tag Attached: traps
2010-11-14 05:01 Toady One Note Added: 0013808
2010-11-14 05:01 Toady One Status new => resolved
2010-11-14 05:01 Toady One Fixed in Version => 0.31.18
2010-11-14 05:01 Toady One Resolution open => fixed
2010-11-14 05:01 Toady One Assigned To => Toady One
2010-11-14 07:27 Logical2u Relationship added has duplicate 0003604
2010-11-14 17:29 Logical2u Relationship added has duplicate 0003615