Skip to content

getBlock function sometimes fail servers, Its happend also on when player fluid. #412

@MiKDev

Description

@MiKDev

Stack trace

[09:25:17 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[09:25:17 ERROR]: ------------------------------
[09:25:17 ERROR]: Server thread dump (Look for plugins here before reporting to MultiPaper!):
[09:25:17 ERROR]: [ChunkTaskScheduler] Chunk wait task info below:
[09:25:17 ERROR]: [ChunkTaskScheduler] Chunk wait: [( 13,-28) in 'world']
[09:25:17 ERROR]: [ChunkTaskScheduler] Chunk holder: NewChunkHolder{world=world, chunkX=13, chunkZ=-28, entityChunkFromDisk=true, lastChunkCompletion={chunk_class=null,status=null}, currentGenStatus=null, requestedGenStatus=minecraft:full, generationTask=ChunkProgressionTask{class: io.papermc.paper.chunk.system.scheduling.ChunkLoadTask, for world: world, chunk: (13,-28), hashcode: 235394419, priority: BLOCKING, status: minecraft:empty, scheduled: true}, generationTaskStatus=minecraft:empty, priority=BLOCKING, priorityLocked=false, neighbourRequestedPriority=IDLE, effective_priority=BLOCKING, oldTicketLevel=33, currentTicketLevel=33, totalNeighboursUsingThisChunk=1, fullNeighbourChunksLoadedBitset=0, chunkStatusRaw=0, currentChunkStatus=INACCESSIBLE, pendingChunkStatus=INACCESSIBLE, is_unload_safe=ticket_level, killed=false}
[09:25:17 ERROR]: Ticking entity: minecraft:player, entity class: net.minecraft.server.level.EntityPlayer
[09:25:17 ERROR]: Entity status: removed: false, valid: true, alive: true, is passenger: false
[09:25:17 ERROR]: Entity UUID: db980f48-2728-370c-bb5f-33f59c0354ba
[09:25:17 ERROR]: Position: world: 'world' at location (216.83100486282729, 68.0, -440.69999998807907)
[09:25:17 ERROR]: Velocity: (0.0, 0.0, 0.0) (in blocks per tick)
[09:25:17 ERROR]: Entity AABB: AABB[216.53100485090636, 68.0, -441.0] -> [217.1310048747482, 69.79999995231628, -440.39999997615814]
[09:25:17 ERROR]: Move call information:
[09:25:17 ERROR]: Start position: (216.83100486282729, 68.0, -440.69999998807907)
[09:25:17 ERROR]: Move vector: (0.0, 0.0, 0.0)
[09:25:17 ERROR]: Total packets processed on the main thread for all players: 27
[09:25:17 ERROR]: ------------------------------
[09:25:17 ERROR]: Current Thread: Server thread
[09:25:17 ERROR]: PID: 45 | Suspended: false | Native: false | State: TIMED_WAITING
[09:25:17 ERROR]: Stack:
[09:25:17 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[09:25:17 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269)
[09:25:17 ERROR]: net.minecraft.util.thread.BlockableEventLoop.waitForTasks(BlockableEventLoop.java:149)
[09:25:17 ERROR]: net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:138)
[09:25:17 ERROR]: net.minecraft.server.level.ServerChunkCache.getChunk(ServerChunkCache.java:304)
[09:25:17 ERROR]: net.minecraft.world.level.Level.getChunk(Level.java:656)
[09:25:17 ERROR]: net.minecraft.world.level.Level.getBlockState(Level.java:931)
[09:25:17 ERROR]: net.minecraft.world.entity.Entity.move(Entity.java:1218)
[09:25:17 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.handleMovePlayer(ServerGamePacketListenerImpl.java:1674)
[09:25:17 ERROR]: net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.handle(ServerboundMovePlayerPacket.java:29)
[09:25:17 ERROR]: net.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PosRot.handle(ServerboundMovePlayerPacket.java:88)
[09:25:17 ERROR]: net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51)
[09:25:17 ERROR]: net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda/0x0000000081876000.run(Unknown Source)
[09:25:17 ERROR]: net.minecraft.server.TickTask.run(TickTask.java:18)
[09:25:17 ERROR]: net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:154)
[09:25:18 ERROR]: net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1422)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer.d(MinecraftServer.java:203)
[09:25:18 ERROR]: net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1399)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1392)
[09:25:18 ERROR]: net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:137)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1370)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1258)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:328)
[09:25:18 ERROR]: net.minecraft.server.MinecraftServer$$Lambda/0x0000000080bdc3c8.run(Unknown Source)
[09:25:18 ERROR]: [email protected]/java.lang.Thread.runWith(Thread.java:1596)
[09:25:18 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:1583)

Plugin and Datapack List

Advanced-Portals-0.9.3.jar
BrandBlocker-1.8.jar
Chunky-1.3.146.jar
Clearlag.jar
Dynmap-3.6-spigot.jar
EssentialsX-2.20.1.jar
FarmControl-1.3.0.jar
GSit-1.10.0.jar
MetaVigiland-1.0-SNAPSHOT.jar
RoseStacker-1.5.23.jar
SkinsRestorer.jar
SmileyPlayerTrader-1.7.15-SNAPSHOT.jar
TAB v4.1.6.jar
VigicityBloodMoon-1.0-SNAPSHOT.jar
VigicityChatControl-1.0-SNAPSHOT.jar
VigicityShopkeeper-1.0-SNAPSHOT.jar
Vulcan-2.9.0.jar
minecraft-prometheus-exporter-3.1.0.jar
voicechat-bukkit-2.5.20.jar
worldedit-bukkit-7.2.15.jar

Actions to reproduce (if known)

No response

MultiPaper version

multipaper-1.20.1-52.jar
multipaper-master-2.12.3-all.jar

Other

this kinds of error will happen when I have more than 1 worker on my cluster.
each worker had 9 cpu cores an 36GB of RAM, and using Aikar's flags and no gui argument, I'm using velocity for proxy server and haproxy for loadbalance players.
master node had 12 cpu cores and 16GB of ram using no flags, I also use TSC clock feature of CPU on all machines.
how should fix this kinds of crash?
I can contribute on project if you help me find issue?
In my investigate, I can't find anything useful.

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