Server freezes
KostromDan opened this issue ยท 8 comments
M-Tech modpack 1.7.0
Install canary(I've temprorary removed it)
Create world with seed -3531681273743420041, fly in this direction, randomly locating biomes with nature compass, after some time server will completely freeze.
Crash will happen even without this actions, but I'm saying that I've done.
If we rejoin world, already crashed it will crash again less 1 minute.
Removing Canary fixes problem.
Removing Smooth Chunks with enabled canary doesn't fix problem,.
crash-2023-11-07_03.55.59-server.txt
experiencing a very similar issue, but can't reproduce it so effectively
experiencing a very similar issue, but can't reproduce it so effectively
add https://www.curseforge.com/minecraft/mc-mods/fullstack-watchdog and try to reproduce it again, by default vanilla cuts off the needed information in the crash report
for me reason is:
"Worker-Main9" daemon prio=1 Id=148 WAITING on java.util.concurrent.CompletableFuture$Signaller@47326b1d
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.CompletableFuture$Signaller@47326b1d
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
at [email protected]/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1864)
at [email protected]/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3449)
at [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3432)
at [email protected]/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1898)
at [email protected]/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2117)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerChunkCache.m_7587_(ServerChunkCache.java:113)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.m_6522_(Level.java:179)
at TRANSFORMER/[email protected]/net.minecraft.world.level.LevelReader.m_46819_(LevelReader.java:129)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.m_6325_(Level.java:174)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.m_8055_(Level.java:352)
at TRANSFORMER/[email protected]/net.minecraft.world.level.LevelReader.m_46855_(LevelReader.java:153)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.m_6914_(Mob.java:806)
at TRANSFORMER/[email protected]/com.github.alexthe666.alexsmobs.entity.EntityElephant.canSpawnWithTraderHere(EntityElephant.java:996)
at TRANSFORMER/[email protected]/com.github.alexthe666.alexsmobs.event.ServerEvents.onEntityJoinWorld(ServerEvents.java:494)
at TRANSFORMER/[email protected]/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/[email protected]/net.minecraftforge.event.ForgeEventFactory.doSpecialSpawn(ForgeEventFactory.java:201)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.lambda$addEntitiesToWorld$5(StructureTemplate.java:423)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate$$Lambda$35076/0x00000008041b1fd8.accept(Unknown Source)
at [email protected]/java.util.Optional.ifPresent(Optional.java:178)
For my modpack reproduction is:
- seed: -3531681273743420041
- /tp 100 150 -5300
- freeze
Initially thought that Canary causes this, but it only increased chance of this problem.
additionally, i can now say that the crash often occurs when a player joins the server. after this happens the server runs just fine
additionally, i can now say that the crash often occurs when a player joins the server. after this happens the server runs just fine
We have different reasons.
for you reason is:
"Server thread" prio=8 Id=157 TIMED_WAITING on java.lang.String@1d588f73
at java.base@17.0.8/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.lang.String@1d588f73
at java.base@17.0.8/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.util.thread.BlockableEventLoop.m_5667_(BlockableEventLoop.java:152)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:142)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.ServerChunkCache.getChunkBlocking(ServerChunkCache.java:2262)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.ServerChunkCache.m_7587_(ServerChunkCache.java:2158)
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.Level.m_6325_(Level.java:4049)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.PlayerRespawnLogic.m_183928_(PlayerRespawnLogic.java:23)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.ServerPlayer.m_9201_(ServerPlayer.java:272)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.ServerPlayer.<init>(ServerPlayer.java:246)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.players.PlayerList.m_215624_(PlayerList.java:407)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:138)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_9933_(ServerLoginPacketListenerImpl.java:75)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.network.Connection.m_129483_(Connection.java:248)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:143)
- locked java.util.Collections$SynchronizedRandomAccessList@53babb82
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:880)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:292)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244)
at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer$$Lambda$34510/0x00007f11c37ec248.run(Unknown Source)
at java.base@17.0.8/java.lang.Thread.run(Thread.java:833)
```
experiencing a very similar issue, but can't reproduce it so effectively
crash-2023-11-04_19.25.30-server.txtadd https://www.curseforge.com/minecraft/mc-mods/fullstack-watchdog and try to reproduce it again, by default vanilla cuts off the needed information in the crash report
for me reason is:
"Worker-Main9" daemon prio=1 Id=148 WAITING on java.util.concurrent.CompletableFuture$Signaller@47326b1d at [email protected]/jdk.internal.misc.Unsafe.park(Native Method) - waiting on java.util.concurrent.CompletableFuture$Signaller@47326b1d at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211) at [email protected]/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1864) at [email protected]/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3449) at [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3432) at [email protected]/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1898) at [email protected]/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2117) at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerChunkCache.m_7587_(ServerChunkCache.java:113) at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.m_6522_(Level.java:179) at TRANSFORMER/[email protected]/net.minecraft.world.level.LevelReader.m_46819_(LevelReader.java:129) at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.m_6325_(Level.java:174) at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.m_8055_(Level.java:352) at TRANSFORMER/[email protected]/net.minecraft.world.level.LevelReader.m_46855_(LevelReader.java:153) at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.m_6914_(Mob.java:806) at TRANSFORMER/[email protected]/com.github.alexthe666.alexsmobs.entity.EntityElephant.canSpawnWithTraderHere(EntityElephant.java:996) at TRANSFORMER/[email protected]/com.github.alexthe666.alexsmobs.event.ServerEvents.onEntityJoinWorld(ServerEvents.java:494) at TRANSFORMER/[email protected]/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/[email protected]/net.minecraftforge.event.ForgeEventFactory.doSpecialSpawn(ForgeEventFactory.java:201) at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.lambda$addEntitiesToWorld$5(StructureTemplate.java:423) at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate$$Lambda$35076/0x00000008041b1fd8.accept(Unknown Source) at [email protected]/java.util.Optional.ifPresent(Optional.java:178)
looks like a very useful mod to have. here's the same crash, this time with the mod: