Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009888Dwarf FortressDwarf Mode -- Invasionspublic2016-07-05 13:352017-11-22 15:33
Reportermdotterer 
Assigned ToToady One 
PriorityhighSeveritycrashReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformMacOSOSXOS Version10.10.5
Product Version0.43.04 
Target VersionFixed in Version0.44.01 
Summary0009888: Wear-related crash when triggerring a weapon trap
DescriptionI had my first siege in 0.43.04 and as the first goblin stepped on the first weapon trap the game crashed. The last lines of the gamelog are as follows:

The spinning large, serrated green glass disc misses the goblin axeman!
The goblin axeman jumps away from The spinning large, serrated green glass disc!
The spinning large, serrated green glass disc misses the goblin axeman!
The goblin axeman blocks The spinning large, serrated green glass disc with the ({iron shield})!
The spinning large, serrated green glass disc misses the goblin axeman!
The X*large, serrated green glass disc*X strikes the goblin axeman in the left upper leg, bruising the muscle through the x({giant cave spider silk cloak})x!
The force pulls the left hip, tearing apart the muscle and bruising the bone and tearing apart the muscle and bruising the bone!
A ligament has been torn and a tendon has been torn!
The XX*large, serrated green glass disc*XX strikes the goblin axeman in the head, but the attack is deflected by the goblin axeman's ({Æcopper helmØ})!
The force bends the neck, tearing apart the fat and bruising the muscle and tearing apart the upper spine's nervous tissue!
A tendon in the upper spine has been torn!
Additional InformationSaves:
http://dffd.bay12games.com/file.php?id=12264 [^] (0.43.05, small)
http://dffd.bay12games.com/file.php?id=12278 [^] (0.43.05, small)
http://dffd.bay12games.com/file.php?id=12346 [^] (0.43.05, 0009968)
http://dffd.bay12games.com/file.php?id=12384 [^] (0.43.05, large)
http://dffd.bay12games.com/file.php?id=12434 [^] (0.43.05)
http://dffd.bay12games.com/file.php?id=12463 [^] (0.43.05, 0010021)
http://dffd.bay12games.com/file.php?id=12486 [^] (0.43.05)
http://dffd.bay12games.com/file.php?id=12510 [^] (0.43.05, large)
http://dffd.bay12games.com/file.php?id=12521 [^] (0.43.05, 0010048, small)
http://dffd.bay12games.com/file.php?id=12638 [^] (0.43.05, large)
http://dffd.bay12games.com/file.php?id=12653 [^] (0.43.05, 0010114)
http://dffd.bay12games.com/file.php?id=12688 [^] (0.43.05, 0010125, large)
http://dffd.bay12games.com/file.php?id=12744 [^] (0.43.05, 0010153)
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0009891resolvedLoci Crash after trap trigger during seige 
has duplicate 0009904resolvedLoci Trap trigger during invasion causes creash 
has duplicate 0009968resolvedLoci Game Crashes as enemies from siege run into traps 
has duplicate 0010001resolvedLoci Crashes during siege when enemies are pathing into trapped tunnel 
has duplicate 0010009resolvedLoci Crash during invasion - segfault, core dump 
has duplicate 0010021resolvedLoci Crash when undead travels over weapon trap. 
has duplicate 0010048resolvedLoci Undead invader hits a trap and crashes game. 
has duplicate 0010091resolvedLoci Goblin invasion crashes on hitting traps 
has duplicate 0010114resolvedLoci Crash during invasion 
has duplicate 0010125resolvedLoci Game crashes to desktop as soon as a goblin steps on a weapon trap 
has duplicate 0010153resolvedlethosor After goblins gets into a maze full of traps, it crashes to deskop. 
has duplicate 0010177resolvedlethosor Crash during invasion 
has duplicate 0010265resolvedLoci Game crashes when invaders die from traps 
has duplicate 0010308resolvedDwarfu Crash when invader triggers either Weapon trap or Cage trap while using Tileset. 
related to 0010028resolvedToady One Repeatable Crash - Shooting enemy with ballista 
related to 0010067resolvedToady One Game immediately crashes when entering combat with elven caravan. 

-  Notes
(0035623)
Loci (manager)
2016-07-13 19:57

Please upload a save which consistently crashes to http://dffd.bay12games.com/ [^] for testing and verification.
(0035635)
Warlock (reporter)
2016-07-15 15:00

My game crashed also when a goblin triggered a trap. See: http://dffd.bay12games.com/file.php?id=12264 [^] .Game will crash within 30 seconds. Tested in 0.43.04 and 0.43.05. Platform: Windows 10, Ironhand graphics.
(0035660)
HansBr (reporter)
2016-07-19 07:58

An other example for this bug in Linux, game created in .43.04, replicated in .43.05. this is a save from 43.05

Trolls trigger traps just fine. Sometimes goblins also trigger traps without crash. Until one goblin/trap triggers the crash, not long after this save starts.

http://dffd.bay12games.com/file.php?id=12278 [^]
(0035675)
Loci (manager)
2016-07-22 21:01

The new weapon-wear code may be destroying a weapon unsafely mid-attack.
(0035786)
Loci (manager)
2016-08-13 05:35

v0.43.05: thraxarious posted a save in 0009968:

http://dffd.bay12games.com/file.php?id=12346 [^]
(0035812)
Christes (reporter)
2016-08-26 11:22

Here's another save, if it helps:

http://dffd.bay12games.com/file.php?id=12384 [^]

(43.05)
(0035814)
Coledash (reporter)
2016-08-27 05:40
edited on: 2016-08-27 05:40

v0.43.05
I killed 2 Forgotten Beasts with same set of 4 upright spear/spike trap, each trap built from 10 menacing spikes made from iron, no crashes. I tried defending from goblin invasion with large serrated disc traps made from glass, but only 1-3 goblins die before a crash happens reliably. When I inspected the traps just before the crash, the weapons started to be worn down. I then built a trap with already worn down weapons and every single goblin that triggered the trap caused a crash reliably.

(0035843)
thraxarious (reporter)
2016-09-03 18:19
edited on: 2016-09-03 18:20

The weapon wear is on the traps? Yowch. Might be a problem for some of my trap designs if the weapons cannot be replaced without removing mechanisms. I have a spike pit that is linked to my water cistern, and a repeater. Having to redo 20 rows of 10 spikes each, all linked into a pressure plate connected to floodgates and a kill switch to turn the pit active...

(0035845)
ejtttje (reporter)
2016-09-06 17:45

I'm seeing this as well :(
I've uploaded my save: http://dffd.bay12games.com/file.php?id=12434 [^]
Doesn't always crash on the same troll, but always before 3 or 4 have entered the traps.

If this is related to weapon wear in the trap, can we disable that in a settings file somewhere until the bug is fixed?
(0035914)
Loci (manager)
2016-09-27 07:35

v0.43.05: BSRowe posted a save in 0010021:

http://dffd.bay12games.com/file.php?id=12463 [^] [^]
(0035951)
emodwarf (reporter)
2016-10-06 12:31

I'm also having this problem.

Windows 7 Pro 64-bit
DF 0.43.05 (Windows SDL 64-bit)
- using same version from world gen to embark to this save
- vanilla; no mods; no external tools

This is an archived save game of a situation where the game will crash once the
invading force during a siege will reach and start triggering the many weapon traps placed in their path:
http://dffd.bay12games.com/file.php?id=12486 [^]
(0035983)
sapphon (reporter)
2016-10-18 18:43

Have encountered what I believe to be this issue as well. Weapon traps with wooden spiked balls (4 per) versus gobbos this time.

Save is here, crashes very soon after load:
http://dffd.bay12games.com/file.php?id=12510 [^]
(0035992)
Loci (manager)
2016-10-23 07:28

0.43.05: telok posted a save in 0010048:

http://dffd.bay12games.com/file.php?id=12521 [^]
(0036048)
rmillet42 (reporter)
2016-11-13 07:55

I think I have the same issue (df 43.05 linux64).

Here are the gamelog printed at the moment of the crash:

The (�iron short sword�) strikes the goblin lasher in the lower body, but the attack is deflected by the goblin lasher's ({�iron breastplate�})!
The goblin lasher bats The spinning (copper battle axe) aside with the ({copper whip})!
The (-copper battle axe-) strikes the goblin lasher in the left lower arm, bruising the fat through the ({pond grabber leather cloak})!
The force pulls the left elbow and the part splits in gore!
A ligament has been torn and a tendon has been torn!
The goblin lasher jumps away from The spinning (�bronze spear�)!
The (+bronze mace+) strikes the goblin lasher in the upper body, bruising the muscle and bruising the right lung through the ({pond grabber leather cloak})!
The goblin lasher is having trouble breathing!
The (steel spear) strikes the goblin lasher in the lower body, but the attack is deflected by the goblin lasher's x({�iron breastplate�})x!
The (steel battle axe) strikes the goblin lasher in the left upper leg and the injured part is smashed into the body, an unrecognizable mass!
An artery has been opened by the attack!
The force bends the left hip, tearing apart the muscle and bruising the bone and tearing apart the muscle and bruising the bone!
A ligament has been torn and a tendon has been torn!
The (menacing iron spike) strikes the goblin lasher in the upper body, bruising the muscle and shattering the left true ribs through the x({pond grabber leather cloak})x!
The x(large, serrated bismuth bronze disc)x strikes the goblin lasher in the left upper arm and the injured part is cloven asunder!
An artery has been opened by the attack!
The force bends the left shoulder, shattering the bone and shattering the bone!
A ligament has been torn and a tendon has been torn!
The XX(large, serrated bismuth bronze disc)XX strikes the goblin lasher in the lower body, but the attack is deflected by the goblin lasher's X({�iron breastplate�})X!


And here is the backtrace I got with gdb:

Thread 3 "Dwarf_Fortress" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fe04d855700 (LWP 4322)]
0x000000000041515c in ?? ()
(gdb) bt
#0 0x000000000041515c in ?? ()
0000001 0x00000000004d53bb in ?? ()
0000002 0x00000000004a7b8c in ?? ()
0000003 0x0000000000492775 in ?? ()
0000004 0x0000000000744b1a in ?? ()
0000005 0x00007fe059fb3322 in interfacest::loop() () from /media/games/df_43_05_linux/libs/libgraphics.so
0000006 0x000000000096624e in mainloop() ()
0000007 0x00007fe059f96f25 in enablerst::async_loop() () from /media/games/df_43_05_linux/libs/libgraphics.so
0000008 0x00007fe059f97240 in call_loop(void*) () from /media/games/df_43_05_linux/libs/libgraphics.so
0000009 0x00007fe05a59f0b8 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000010 0x00007fe05a5def59 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000011 0x00007fe057fdf70a in start_thread (arg=0x7fe04d855700) at pthread_create.c:333
0000012 0x00007fe05946882d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(0036124)
Morten (reporter)
2017-01-02 05:35
edited on: 2017-01-04 13:05

Another save that reproduces the crash: http://dffd.bay12games.com/file.php?id=12638 [^] This one uses 10 copper serrated discs in each trap.

I agree with one of the above posters that the bug might be related to trap components being worn out, since there isn't always a crash the first time a trap is triggered.

EDIT: Giving goblins the [TRAPAVOID] tag in the raws fixes the crash. As an added benefit, this will cause lots of fun since my fortress' main line of defence is now useless.

(0036167)
Loci (manager)
2017-01-12 14:33

0.43.05: Lanina posted a save in 0010114:

http://dffd.bay12games.com/file.php?id=12653 [^]
(0036228)
Loci (manager)
2017-01-27 18:02

0.43.05: dglidden posted a save in 0010125:

http://dffd.bay12games.com/file.php?id=12688 [^]
(0036298)
lethosor (manager)
2017-02-27 11:17

Save from 0010153: http://dffd.bay12games.com/file.php?id=12744 [^]

- Issue History
Date Modified Username Field Change
2016-07-05 13:35 mdotterer New Issue
2016-07-13 19:53 Loci Relationship added has duplicate 0009891
2016-07-13 19:53 Loci Relationship added has duplicate 0009904
2016-07-13 19:57 Loci Note Added: 0035623
2016-07-15 14:27 Warlock Issue Monitored: Warlock
2016-07-15 15:00 Warlock Note Added: 0035635
2016-07-19 07:58 HansBr Note Added: 0035660
2016-07-22 21:01 Loci Note Added: 0035675
2016-07-22 21:01 Loci Assigned To => Loci
2016-07-22 21:01 Loci Status new => confirmed
2016-08-13 05:34 Loci Relationship added has duplicate 0009968
2016-08-13 05:35 Loci Note Added: 0035786
2016-08-26 11:22 Christes Note Added: 0035812
2016-08-26 11:22 Christes Issue Monitored: Christes
2016-08-27 05:40 Coledash Note Added: 0035814
2016-08-27 05:40 Coledash Note Edited: 0035814 View Revisions
2016-08-29 04:54 Coledash Issue Monitored: Coledash
2016-09-03 18:19 thraxarious Note Added: 0035843
2016-09-03 18:20 thraxarious Note Edited: 0035843 View Revisions
2016-09-06 17:45 ejtttje Note Added: 0035845
2016-09-06 17:46 ejtttje Issue Monitored: ejtttje
2016-09-09 03:51 Loci Relationship added has duplicate 0010001
2016-09-09 03:51 Loci Issue Monitored: azrael4h
2016-09-16 21:31 Loci Relationship added has duplicate 0010009
2016-09-27 07:34 Loci Relationship added has duplicate 0010021
2016-09-27 07:35 Loci Note Added: 0035914
2016-10-03 18:36 Loci Relationship added related to 0010028
2016-10-06 12:31 emodwarf Note Added: 0035951
2016-10-18 18:43 sapphon Note Added: 0035983
2016-10-23 07:27 Loci Relationship added has duplicate 0010048
2016-10-23 07:28 Loci Note Added: 0035992
2016-11-13 07:55 rmillet42 Note Added: 0036048
2016-11-13 07:56 rmillet42 Issue Monitored: rmillet42
2016-11-18 21:39 mongrelarchitect Note Added: 0036056
2016-11-19 18:56 mongrelarchitect Note Deleted: 0036056
2016-12-17 09:25 Loci Relationship added has duplicate 0010091
2017-01-02 05:35 Morten Note Added: 0036124
2017-01-02 06:00 Morten Note Edited: 0036124 View Revisions
2017-01-04 13:05 Morten Note Edited: 0036124 View Revisions
2017-01-12 14:24 Loci Relationship added has duplicate 0010114
2017-01-12 14:33 Loci Note Added: 0036167
2017-01-12 14:38 Loci Reproducibility have not tried => sometimes
2017-01-12 14:38 Loci Summary Crash during invasion when triggerring a trap => Wear-related crash when triggerring a weapon trap
2017-01-15 15:34 Huntthetroll Issue Monitored: Huntthetroll
2017-01-27 18:00 Loci Relationship added has duplicate 0010125
2017-01-27 18:00 Loci Issue Monitored: dglidden
2017-01-27 18:02 Loci Note Added: 0036228
2017-02-20 08:41 lethosor Sticky Issue No => Yes
2017-02-27 11:16 lethosor Relationship added has duplicate 0010153
2017-02-27 11:17 lethosor Note Added: 0036298
2017-02-27 11:17 lethosor Issue Monitored: lethosor
2017-02-27 11:24 lethosor Additional Information Updated View Revisions
2017-03-01 09:42 argh226 Issue Monitored: argh226
2017-03-28 20:35 lethosor Relationship added has duplicate 0010177
2017-05-27 15:03 Toady One Status confirmed => resolved
2017-05-27 15:03 Toady One Fixed in Version => Next Version
2017-05-27 15:03 Toady One Resolution open => fixed
2017-05-28 08:46 lethosor Assigned To Loci => Toady One
2017-07-10 00:37 Loci Relationship added has duplicate 0010265
2017-11-18 02:59 Dwarfu Relationship added has duplicate 0010308
2017-11-22 15:33 Dwarfu Sticky Issue Yes => No
2017-12-04 09:06 Huntthetroll Issue End Monitor: Huntthetroll
2018-05-08 18:54 Loci Relationship added related to 0010067


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker