Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003840Dwarf FortressDwarf Mode -- Combatpublic2010-12-24 13:372010-12-24 15:41
steve296 
Logical2u 
lowcrashalways
resolvedduplicate 
Linuxkernel:2.6.35-23
0.31.18 
 
0003840: Crash when target creature (target of militia squad) escapes play area
The game crashes when a creature, that a militia squad is assigned to attack and kill, exits the map tile in which the fortress is in. So, when the target goes over the edge of the play area in fortress mode.
1. Select random creature to kill via squad-command interface, preferably one that is close to edge of map.
2. Wait until soldiers come close enough to make the creature flee, and pray that it exits the map area by crossing the edge.

It worked with zombie giant eagles, kobold thieves, and mountain goats; so it's not connected to a specific type of creature.
If you cancel the attack order before the creature exits the screen, the game won't crash, that's why I reckon it's a low priority bug. I think it's a (lack of) exception handling thing in the target tracking part of code. I'd be curious about what kind of value the "position of target" returns when it exits the play area (NULL?) ...
No tags attached.
duplicate of 0003555resolved Toady One Escaping units with kill orders on them cause segmentation fault on Linux/Mac 
Issue History
2010-12-24 13:37steve296New Issue
2010-12-24 15:41Logical2uNote Added: 0014698
2010-12-24 15:41Logical2uRelationship addedduplicate of 0003555
2010-12-24 15:41Logical2uStatusnew => resolved
2010-12-24 15:41Logical2uResolutionopen => duplicate
2010-12-24 15:41Logical2uAssigned To => Logical2u

Notes
(0014698)
Logical2u   
2010-12-24 15:41   
We know.