Integrated Dungeons and Structures

Integrated Dungeons and Structures

9M Downloads

Deadlock by official configuration datapacks.

KostromDan opened this issue ยท 0 comments

commented

crash-2023-11-09_18.09.30-server (3).txt

"Worker-Main9" daemon prio=1 Id=148 WAITING on java.util.concurrent.CompletableFuture$Signaller@47326b1d
	at java.base@17.0.6/jdk.internal.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.CompletableFuture$Signaller@47326b1d
	at java.base@17.0.6/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
	at java.base@17.0.6/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1864)
	at java.base@17.0.6/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3449)
	at java.base@17.0.6/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3432)
	at java.base@17.0.6/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1898)
	at java.base@17.0.6/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2117)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.ServerChunkCache.m_7587_(ServerChunkCache.java:113)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.Level.m_6522_(Level.java:179)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.LevelReader.m_46819_(LevelReader.java:129)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.Level.m_6325_(Level.java:174)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.Level.m_8055_(Level.java:352)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.LevelReader.m_46855_(LevelReader.java:153)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.entity.Mob.m_6914_(Mob.java:806)
	at TRANSFORMER/alexsmobs@1.21.1/com.github.alexthe666.alexsmobs.entity.EntityElephant.canSpawnWithTraderHere(EntityElephant.java:996)
	at TRANSFORMER/alexsmobs@1.21.1/com.github.alexthe666.alexsmobs.event.ServerEvents.onEntityJoinWorld(ServerEvents.java:494)
	at TRANSFORMER/alexsmobs@1.21.1/com.github.alexthe666.alexsmobs.event.__ServerEvents_onEntityJoinWorld_SpecialSpawn.invoke(.dynamic)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus$$Lambda$4392/0x00000008016fae78.invoke(Unknown Source)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/forge@43.3.2/net.minecraftforge.event.ForgeEventFactory.doSpecialSpawn(ForgeEventFactory.java:201)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.lambda$addEntitiesToWorld$5(StructureTemplate.java:423)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate$$Lambda$35076/0x00000008041b1fd8.accept(Unknown Source)
	at java.base@17.0.6/java.util.Optional.ifPresent(Optional.java:178)

~6 months ago included idas to my modpack, also applied official configuration data packs.
Now after updating Regions Unexplored to latest version started experiencing server freezes (deadlocks) in tropical biomes.
By binary search found what mod applying data packs causing this.
By binary search in data packs found what idas data packs causing this.
Cleaning up datapack files (deleted not changed files) fixed issue.
This is a very time-consuming process to identify the cause. I spent 10 hours to find out the true reason. I think my experience will be useful to other users.
Reproduction:
M-Tech modpack 1.7.0

  1. seed: -3531681273743420041
  2. /tp 100 150 -5300
  3. freeze
    Initially thought that Canary causes this, but it only increased chance of this problem.
    AbdElAziz333/Canary#180
    This structure caused this:
    image