Skip to content

[BUG] 3 types of deadlocksย #191

Description

@misha2play

๐Ÿ› Describe the bug

after some random and relatively long period of time server freezes and crashes after 60 seconds

๐Ÿ“‹ Steps to reproduce*

  1. wait 2-8 hours with online of ~30 players
  2. done

โœ… Expected behavior

no deadlock

โŒ Actual behavior

watchdog crashes server due to timeout of 60 seconds

๐Ÿ–ฅ๏ธ Environment

  • ๐Ÿ”ง Async version: 0.2.4+alpha-26.2 (released on modrinth) and 0.24 from this action https://github.com/AxalotLDev/Async/actions/runs/29635073178
    (deadlocks are present on both, and there is shouldn't be any meaningful difference in them)
  • ๐ŸŽฎ Minecraft enviroment (Client or Server): Server
  • ๐ŸŽฎ Minecraft version: 26.2
  • โš™๏ธ Modloader & version: fabric 0.19.3
  • ๐Ÿ“ฆ Other mods installed: Concurrent Chunk Management Engine 0.4.1-beta.1.0+26.2, Lithium 0.25.2+mc26.2, ServerCore 1.5.19+26.2, ScalableLux 0.3.0-alpha.0.3+26.2, Very Many Players 0.2.0+beta.7.236+26.2, TT20 0.8.3b (main optimization mods, full list present in crash reports)

async confg:
disabled = false
maxThreads = -1
synchronizedEntities = ["minecraft:dragon_fireball", "minecraft:tnt", "minecraft:experience_orb", "minecraft:fireball", "minecraft:acacia_chest_boat", "minecraft:furnace_minecart", "minecraft:cherry_chest_boat", "minecraft:birch_chest_boat", "minecraft:hopper_minecart", "minecraft:tnt_minecart", "minecraft:arrow", "minecraft:chest_minecart", "minecraft:falling_block", "minecraft:pale_oak_chest_boat", "minecraft:spruce_chest_boat", "minecraft:bamboo_chest_raft", "minecraft:oak_chest_boat", "minecraft:wither", "minecraft:minecart", "minecraft:item", "minecraft:dark_oak_chest_boat"]
enableAsyncSpawn = true
enableAsyncRandomTicks = false

some of entries in synchronizedEntities were added as attempt to prevent deadlocks (but i don't think it helped at all)

๐Ÿ“œ Logs

there are more than 3 crash reports, but not all of them are identical. As far as i can tell there are 3 different causes of deadlocks

crash-2026-07-28_22.21.01-server.txt
crash-2026-07-28_22.22.18-server.txt
crash-2026-07-28_22.42.45-server.txt
crash-2026-07-29_13.21.58-server.txt
crash-2026-07-29_15.53.41-server.txt
crash-2026-07-29_18.02.39-server.txt
crash-2026-07-26_20.21.22-server.txt
crash-2026-07-28_12.55.20-server.txt
crash-2026-07-28_13.08.17-server.txt
crash-2026-07-28_17.01.51-server.txt

Good luck to fix that

Metadata

Metadata

Labels

S: Awaiting ResponseIssue needs clarification, confirmation it is still relevant or some other response.T: BugFixType: Bug and/or bug fixes.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions