Skip to content

Persistent StackOverflowError in checkForRot (Dynamic Trees 1.20.1-1.4.11) on dedicated server #1217

Description

@JhonerSb

Hi, I'm running a dedicated server on Exaroton (Forge, Minecraft 1.20.1) with Dynamic Trees version 1.20.1-1.4.11, alongside Better Dungeons, Ice and Fire, and Cataclysm. My server crashes with a java.lang.StackOverflowError during "Exception ticking world," caused by infinite recursion in BasicBranchBlock.checkForRot → BranchBlock.rot → Species.rot → BranchBlock.breakDeliberate.

I already tried setting maxBranchRotRadius = 0 in dynamictrees-server.toml and restarted the server, but the exact same crash occurred again about 5 minutes later, with an identical stack trace. This suggests either the config isn't being respected in this scenario, or there's a corrupted branch/tree structure already saved in the world causing a recursive loop regardless of the rot radius setting.

Could you help me understand:

  1. Whether maxBranchRotRadius = 0 is expected to fully prevent this recursion, or if there are other code paths that trigger checkForRot regardless.

  2. If a already-generated tree structure (e.g., a cyclic branch reference) could cause this even after disabling rot, and how I could identify/remove it.

  3. Whether this is a known issue with other mods that touch WorldGenRegion (I see mixins from Better Dungeons, Ice and Fire, and Cataclysm in the crash trace) causing conflicts.

I can share the full crash report and my mod list if helpful. Thanks for your time and for maintaining this mod

  • appleskin 2.5.1+mc1.20.1
    • archeryexp 1.0.7.3
    • architectury 9.2.14
    • artifacts 9.5.19
    • expandability 9.0.4
    • atistructures 1.4.0
    • balm 7.3.38
    • kuma_api 20.1.12
    • betterdungeons 1.20-Forge-4.0.4
    • biomesoplenty 19.0.0.96
    • boh 0.0.9
    • bookshelf 20.2.15
    • born_in_chaos_v1 1.7.5
    • boss_checklist 5.2.0
    • carryon 2.1.2.7
    • cataclysm 3.31
    • cfm 7.0.0-pre36
    • citadel 2.6.3
    • cloth_config 11.1.136
    • cobweb 1.0.1
    • creativecore 2.12.39
    • curios 5.14.1+1.20.1
    • deeperdarker 1.3.3
    • dtbop 1.20.1-3.3.4
    • dtphc2 1.20.1-1.3.2
    • dungeonnowloading 2.2
    • dungeons_enhanced 5.4.3
    • dynamictrees 1.20.1-1.4.11
    • enchantmenttransfer 0.0.6
    • enhancedvisuals 1.8.29
    • epicpaladins 1.0.2-1.20.1-forge
    • explorerscompass 1.20.1-1.4.0-forge
    • ferritecore 6.0.1
    • forge 47.4.22
    • friendsandfoes 3.0.9
    • geckolib 4.8.4
    • glitchcore 0.0.1.1
    • globalxp 1.12
    • hammers 2.1.5
    • harvest_with_ease 9.4.0
    • iceandfire 2.1.13-1.20.1
    • immersive_aircraft 1.4.1+1.20.1
    • incendium 5.3.5
    • inventoryhud 3.4.26
    • inventoryprofilesnext 1.10.20
    • jade 11.13.2+forge
    • jei 15.20.0.132
    • konkrete 1.8.0
    • kotlinforforge 4.12.0
    • kurolib 0.4
    • legendary_monsters 1.20.1
    • libipn 4.0.2
    • lionfishapi 3.0
    • magistuarmory 10.11
    • minecraft 1.20.1
    • modernfix 5.27.66+mc1.20.1
    • mowziesmobs 1.7.3
    • mr_dungeons_andtaverns 3.0.3.f
    • mr_lukis_grandcapitals 1.1.3
    • naturescompass 1.20.1-1.12.0-forge
    • pamhc2trees 1.0.2
    • playeranimator 1.0.2-rc1+1.20
    • playerrevive 2.0.31
    • polymorph 0.49.10+1.20.1
    • spectrelib 0.13.17+1.20.1
    • puzzleslib 8.1.33
    • puzzlesaccessapi 20.1.1
    • sarosclearlag 1.0.1
    • securitycraft 1.10.2.1
    • sodiumdynamiclights 1.0.9
    • stable_anvil_cost 2.0.0
    • stalwart_dungeons 1.2.8
    • structure_gel 2.16.2
    • terrablender 3.0.1.10
    • tombstone 9.1.3
    • trashslot 15.1.5
    • travelersbackpack 9.1.55
    • vmod 1.1.21
    • w2w2 1.1
    • waystones 14.1.20
    • whisperwoods 1.20.1-2.1.2
    • xaerominimap 26.4.2
    • xaeroworldmap 1.44.2
    • xaerolib 1.7.1
    • yungsapi 1.20-Forge-4.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions