Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006586Dwarf FortressDwarf Mode -- Idle Behaviorpublic2014-07-07 23:462016-08-03 11:39
needs feedbackopen 
0006586: Carpenter climbs multi-block trees to die
Carpenter (and possibly other) dwarves will climb on top of multi-block tree canopies and start falling to the ground from 1-2 z levels up, resulting in repeated injury and subsequent death.
Embark with a carpenter and multi-block trees.
AI, Climbing, falling
related to 0009252resolved Toady One Dwarves get stuck in trees 
has duplicate 0006726resolved Footkerchief Creatures injuring themselves pathing 
has duplicate 0006883resolved Footkerchief Dwarves falling randomly on the map surface 
has duplicate 0006909resolved Footkerchief Fortressmode pathing in the woods, it's raining dwarves 
has duplicate 0006675resolved Footkerchief Wood choppers cut from tops of trees 
has duplicate 0006722resolved Footkerchief Manager climbs a tree instead of going to office when management jobs are assigned. 
has duplicate 0007229resolved Footkerchief Dwarf dies soon after embark from impact damage 
has duplicate 0007339resolved Knight Otu Dwarves wounding themselves on completely uneeded tree stunts in fortress mode 
has duplicate 0007430resolved Footkerchief Random Mangled Falling Dwarf 
has duplicate 0007390resolved Dwarfu Militia Commander stuck in tree, does not do work as a civilian even after being removed from the position 
has duplicate 0008353resolved Footkerchief Hauler stuck in tree chasing chest 
has duplicate 0009644resolved Loci Miners teleported from the bottom of the channel into a tree 
has duplicate 0010656resolved Loci Dangerous terrain (water) caused carpenter to climb a tree buggily 
related to 0007055new  AI doesn't use Climbing to stop falls 
related to 0007066new  Depressed dwarf climbs down cliff, gets stuck, other dwarves join 
related to 0006898new  Dwarf fell asleep in a tree 
related to 0007209new  Dwarves climb through well and get stuck 
related to 0007217new  Cats fall out of trees and injure themselves 
related to 0007395new  Dwarf appears to be floating/ hovering/ flying/ climbing the wall laterally 
related to 0006625confirmed Footkerchief Merchants climb up tree and go insane 
related to 0007453new  Dwarves will not climb to return to burrow 
related to 0007170resolved Toady One Troglodytes get stuck while climbing 
related to 0007959resolved Loci Miner climb on tree for unknown reason and refuse to do his mining job 
related to 0008191new  Dwarf fails to find path back to surface; stuck in climbing mode? 
Issue History
2014-07-07 23:46.indigoNew Issue
2014-07-07 23:48gavjNote Added: 0024947
2014-07-07 23:50.indigoNote Added: 0024948
2014-07-08 06:57FootkerchiefNote Added: 0025021
2014-07-08 06:57FootkerchiefAssigned To => Footkerchief
2014-07-08 06:57FootkerchiefStatusnew => needs feedback
2014-07-08 09:09QubeNubNote Added: 0025052
2014-07-08 11:26ErendirNote Added: 0025099
2014-07-08 11:46ErendirNote Edited: 0025099bug_revision_view_page.php?bugnote_id=0025099#r9379
2014-07-08 15:53FootkerchiefRelationship addedhas duplicate 0006726
2014-07-09 10:31ArmokGoBNote Added: 0025349
2014-07-09 15:15FootkerchiefRelationship addedrelated to 0006883
2014-07-09 20:19FootkerchiefRelationship replacedhas duplicate 0006883
2014-07-09 20:19FootkerchiefRelationship addedhas duplicate 0006909
2014-07-09 21:06nshapterNote Added: 0025471
2014-07-10 13:12HaikonNote Added: 0025578
2014-07-10 16:02FootkerchiefRelationship addedhas duplicate 0006675
2014-07-10 21:26nshapterNote Added: 0025680
2014-07-11 01:59eliotcougarNote Added: 0025716
2014-07-11 02:03rhoramaNote Added: 0025717
2014-07-11 04:37JoeJoeNote Added: 0025730
2014-07-11 07:39FootkerchiefRelationship addedrelated to 0007055
2014-07-11 10:25ArmokGoBNote Added: 0025788
2014-07-11 10:33FootkerchiefRelationship addedrelated to 0007066
2014-07-11 10:41FootkerchiefRelationship addedrelated to 0006898
2014-07-11 12:04scribermanNote Added: 0025817
2014-07-11 12:05scribermanIssue Monitored: scriberman
2014-07-11 20:32FootkerchiefRelationship addedhas duplicate 0006722
2014-07-11 20:32FootkerchiefIssue Monitored: snateraar
2014-07-13 08:53FootkerchiefRelationship addedrelated to 0007209
2014-07-13 10:01FootkerchiefRelationship addedrelated to 0007217
2014-07-13 11:24KennelTag Attached: AI
2014-07-13 11:24KennelTag Attached: Climbing
2014-07-13 11:24KennelTag Attached: falling
2014-07-13 14:11FootkerchiefRelationship addedhas duplicate 0007229
2014-07-15 10:47Knight OtuRelationship addedhas duplicate 0007339
2014-07-15 10:48Knight OtuNote Added: 0026499
2014-07-16 14:57FootkerchiefRelationship addedrelated to 0007395
2014-07-17 15:08Toady OneNote Added: 0026783
2014-07-17 16:36FootkerchiefRelationship addedhas duplicate 0007430
2014-07-17 16:49FootkerchiefRelationship addedrelated to 0006625
2014-07-18 13:46FootkerchiefRelationship addedrelated to 0007453
2014-07-22 12:56KnossosNote Added: 0027240
2014-07-22 12:57KnossosNote View State: 0027240: private
2014-07-22 12:58KnossosNote Edited: 0027240bug_revision_view_page.php?bugnote_id=0027240#r10203
2014-07-23 03:54KnossosNote Deleted: 0027240
2014-07-26 02:08HaikonIssue Monitored: Haikon
2014-08-09 12:25FootkerchiefRelationship addedrelated to 0007170
2014-08-10 07:50FootkerchiefRelationship addedhas duplicate 0007390
2014-08-10 07:50FootkerchiefIssue Monitored: robbintt
2014-08-11 13:39FootkerchiefRelationship addedrelated to 0007959
2014-09-03 08:44FootkerchiefRelationship addedrelated to 0008191
2014-09-26 08:37FootkerchiefRelationship addedhas duplicate 0008353
2014-09-26 14:42PatrikLundellNote Added: 0030386
2014-09-29 11:34PatrikLundellNote Added: 0030449
2016-07-12 23:41LociRelationship addedrelated to 0009252
2016-08-03 11:39LociNote Added: 0035747
2016-08-03 11:44LociRelationship addedhas duplicate 0009644
2016-08-03 11:48LociNote Edited: 0035747bug_revision_view_page.php?bugnote_id=0035747#r14411
2018-03-22 11:08LociRelationship addedhas duplicate 0010656

2014-07-07 23:48   
I've been testing a ton of maps (20-30 of them) with standard embark profile and multitrees and carpenters, and have not seen this happen.

Was there anything else abnormal going on? Did you choose any options at all other than default?
2014-07-07 23:50   
I've had this happen 3 or 4 times in a row now. I'm using the embark profile of 2 proficient miners, 1 proficient carpenter, 1 proficient mason, 1 proficient mechanic, and 1 proficient planter. I'm going to start trying to isolate the cause by removing factors.
2014-07-08 06:57   
Please upload a save to http://dffd.wimbli.com/ [^] and post the link here.
2014-07-08 09:09   
I've got the same issue, 2 of the starter dwarves died, 1 stonecrafter and soon after the woodworker.

Uploaded my save here:

http://dffd.wimbli.com/file.php?id=8755 [^]
2014-07-08 11:26   
(edited on: 2014-07-08 11:46)
I got the same issue and don't think it's related to the skills, probably it's about being idle: my idle dwarfs are climbing trees and then jumping from one to another (at least I guess that's what I saw), falling to the ground from time to time.

I'll upload a save (it's 35Mb unfortunally) with my woodworker sitting on a tree for no reason (he has no job, only designations so far: gather plants and cut one tree far away from this particular one)

UPDATE: save: http://dffd.wimbli.com/file.php?id=8761 [^]

2014-07-09 10:31   
Can confirm. Wood cutter got his leg pulped by falling wood after falling 2 z-levels from a tree.
2014-07-09 21:06   
sorry for the dupe. I'm uploading before and after saves for analysis

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

after http://dffd.wimbli.com/file.php?id=8827 [^]
2014-07-10 13:12   
On my first immigration wave, I got a dwarf who climbed a tree and fell to their death before I could do anything with them. Other dwarves have fallen as well.

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

(Before this game, I had 5 out of 16 dwarves in the hospital from this. I restarted when my carpenter fell in the river and drowned.)
2014-07-10 21:26   
My latest observation of this appears to be related to changing seasons/foliage

Immediately after summer arrived the several ravens fell to their deaths in my latest save.

Dwarf pathing into trees can be prevented by cutting map edge trees as well as trees adjacent to z level changes, structures etc. I'm not sure if jumping or climbing will result in creatures stranded on a higher z level, in a tree.
2014-07-11 01:59   
I've noticed a strange thing that may be a "one off" calculation error in the source code:
If you designate a cut down trees area that spans multiple layers (i.e. forest on a slope) it designates sections of trunks that are one block above the surface, and not the actual bases of trees. That may force dwarfs to climb a tree first, if they can't reach the marked block from the ground.
2014-07-11 02:03   
nshapter I've seen that before with birds as well. I think it may be that after the leaves change, the birds are no longer sitting on anything?
2014-07-11 04:37   
I suspect it isn't directly related to trees, but to climbing/jumping in general. I've had several of my dwarves fall down trees, but now one of my miners fell down the canyon for no apparent reason, without any nearby trees.
2014-07-11 10:25   
My dwarves are just throwing themselves down holes to die for no reason whatsoever. I think they put the same weight on climbing as they do on regular walking, causing them to try to climb things that they shouldn't, but I'm not 100% sure. It led to me having to abandon my fort because half of my dwarves were mortally wounded from trying to path down my "staircase" which is basically ramps around a hole like you find in adventurer mode.
2014-07-11 12:04   
@eliotcougar Related to the designation "one off" calculation error, I have been testing that very thing today:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=7071 [^]
Knight Otu   
2014-07-15 10:48   
Robsoie posted a save at 0007339.
Toady One   
2014-07-17 15:08   
Idling dwarves with nowhere to hang out eventually convince themselves that they are stuck and need to climb. If you have lots of disconnected/burrowed meeting halls, they'll probably have trouble as well, since they don't always think about the right ones. I've worked on this now, and it should be quite a bit better for next time. I've also made them prioritize in a few ways to try to get them never to do the worst things (like climbing down into deep pits or up trees when they don't have to). Still, it's a difficult problem overall, so I'm going to leave this open until we get more confirmation that it is okay enough to close.
2014-09-26 14:42   
8353 redirect: Sorry, no, I didn't think to copy a save. I assume the current save (a long while later) is of no use?
2014-09-29 11:34   
My Hauler dwarf is stuck 5 levels up in a tree, presumably scared by a Kea. I've waited until all Keas have left the map, disabled and then enabled Hauling again, as well as created a burrow around the base of the tree, but to no avail, and she's getting hungry. After copying the save (http://dffd.wimbli.com/file.php?id=9819 [^]) I've chopped the tree down, and she didn't even get a scratch.
The same configuration as for 0008353 applies.
2016-08-03 11:39   
(edited on: 2016-08-03 11:48)
The fixes Toady mentioned above appear to have been included in v0.40.04.

PatrikLundell's save above claims to be from v0.40.13.

If anyone else has a save with dwarves climbing trees in a more recent version, please attach it below.

Note: I grouped multiple recent "dwarves stuck in trees" bugs under 0009252, so there are still cases of dwarves climbing trees.