-
Bug
-
Resolution: Unresolved
-
None
-
22w15a, 22w16b, 22w18a, 1.19 Pre-release 1, 1.19 Release Candidate 2, 1.19, 1.19.1 Pre-release 2, 1.19.1 Pre-release 3, 1.19.1 Pre-release 5, 1.19.1, 1.19.2, 22w42a, 22w43a, 22w46a, 1.19.3, 23w07a, 1.19.4, 23w16a, 23w18a, 1.20.1, 23w32a, 23w33a, 1.20.2 Pre-release 1, 1.20.2, 24w04a
-
None
-
Confirmed
-
Crash, Performance
-
Very Important
-
Platform
The Bug:
The server sometimes freezes when attempting to locate structures or biomes that are far away.
On several occasions, when I attempted to locate a village using the "/locate" command, the server would freeze and then eventually crash. In my testing, this issue only appeared to occur with structures that are far away such as badlands mineshafts and villages of specific kinds, as I tried to reproduce this with other structures such as mansions and igloos without success.
A crash report regarding this has been attached and can be found below.
Stack Trace:
Description: Watching Server java.lang.Error: Watchdog at java.base@17.0.2/jdk.internal.misc.Unsafe.park(Native Method) at java.base@17.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252) at awo.bq(SourceFile:152) at awo.c(SourceFile:142) at aeo.a(SourceFile:139) at cef.a(SourceFile:196) at cei.a(SourceFile:156) at cup.a(SourceFile:368) at cup.a(SourceFile:347) at cup.a(SourceFile:287) at abs.a(SourceFile:52) at abs.a(SourceFile:38) at abs$$Lambda$3680/0x0000000801395b60.run(Unknown Source) at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:263) at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:177) at dr.a(SourceFile:262) at afi.a(SourceFile:1270) at afi.a(SourceFile:1254) at afi.a(SourceFile:1237) at we.a(SourceFile:30) at we.a(SourceFile:7) at ry.a(SourceFile:22) at ry$$Lambda$5081/0x0000000801777558.run(Unknown Source) at aab.run(SourceFile:18) at awo.d(SourceFile:157) at aws.d(SourceFile:23) at net.minecraft.server.MinecraftServer.b(SourceFile:782) at net.minecraft.server.MinecraftServer.d(SourceFile:158) at awo.x(SourceFile:131) at net.minecraft.server.MinecraftServer.bf(SourceFile:764) at net.minecraft.server.MinecraftServer.x(SourceFile:758) at awo.bp(SourceFile:116) at net.minecraft.server.MinecraftServer.w(SourceFile:742) at net.minecraft.server.MinecraftServer.v(SourceFile:675) at net.minecraft.server.MinecraftServer.a(SourceFile:263) at net.minecraft.server.MinecraftServer$$Lambda$4253/0x000000080142d578.run(Unknown Source) at java.base@17.0.2/java.lang.Thread.run(Thread.java:833)
Steps to Reproduce:
- Launch the latest snapshot of Minecraft and create a new world with cheats enabled.
- Attempt to locate a savanna village by using the command provided below.
/locate structure minecraft:village_savanna
- If the server didn't crash, teleport yourself a fair distance away from your current location and attempt to locate another village again by using the commands provided below.
/tp @s ~10000 ~ ~
/locate structure minecraft:village_savanna
- Take note as to whether or not the server sometimes freezes when attempting to locate structures or biomes that are far away.
Observed Behavior:
The server freezes.
Expected Behavior:
The server would not freeze.
- is duplicated by
-
MC-251564 /locate minecraft:village_(biome) bugs out my minecraft
- Resolved
-
MC-252842 /locate structure freezing nearly everything in superflat singleplayer
- Resolved
-
MC-254224 /locate structure command crashes game
- Resolved
-
MC-256564 game hangs on structure/biome search
- Resolved
-
MC-257701 Using the /locate directive causes the chunk to stop loading
- Resolved
-
MC-257805 Game lags and crashes when generating world with no structures, when using locate structure command.
- Resolved
-
MC-261097 Woodland Mansion generation conditions are not configurable and lag /locate when not fulfilled
- Resolved
-
MC-262028 Every blocks cannot interact after typing command /locate structure minecraft:snowy_village
- Resolved
-
MC-264083 Mobs Freezes after I do /locate twice
- Resolved
-
MC-264325 Loading structures when there are none causes lag
- Resolved
-
MC-264464 Using /locate on a structure in a structureless void lags out game
- Resolved
-
MC-264747 Leaving while /locate-ing causes your game to freeze.
- Resolved
- relates to
-
MC-206327 (Server) Using /locate in customized worlds on a structure that is very far away or doesn't exist freezes the game
- Open
-
MC-126244 '/locate', explorer maps, and treasure maps can cause extreme TPS lag, even leading to a complete server freeze if structure generation is turned off
- Resolved
-
MC-189880 /locate biome can cause large amounts of server lag if the specified biome is very rare or non-existant
- Open
-
MC-249136 Freeze/server-side lag spike sometimes occurs when attempting to locate a buried treasure or opening/breaking a chest containing a map
- Resolved