-
Bug
-
Resolution: Unresolved
-
None
-
1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w10a, 21w13a, 21w14a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1, 22w15a, 22w16b, 22w17a, 22w18a, 22w19a, 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, 1.21, 1.21.3
-
None
-
Confirmed
-
Crash, Performance
-
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-189880 /locate biome can cause large amounts of server lag if the specified biome is very rare or non-existant
- Resolved
-
MC-190043 Bug / locatebiome mushroom fields
- Resolved
-
MC-194318 Locate biome command causes lags in certain reasons
- Resolved
-
MC-206306 /locatebiome command is extremely inefficient
- Resolved
-
MC-206327 (Server) Using /locate in customized worlds on a structure that is very far away or doesn't exist freezes the game
- Resolved
-
MC-212157 Glow Squids have an aneurism when you execute a faulty command
- Resolved
-
MC-214172 Hello Mojang in the new snapshot you fixed some bugs but you have another bug that is game freeze
- Resolved
-
MC-214530 Game freezes and stops responding when I do /locatebiome dripstone_caves
- Resolved
-
MC-218833 Game lags after doing /locatebiome lush_caves
- Resolved
-
MC-221992 When running /locatebiome command, singleplayer becomes unresponsive.
- Resolved
-
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
-
MC-271119 Locating structures in worlds without structures breaks the game
- Resolved
-
MC-274760 Cartographer villager teporarily frezzes game
- Resolved
- relates to
-
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-130449 Cartographer villager freezes or crashes the game when unlocking explorer maps
- Resolved
-
MC-201704 Leveling up a Cartographer to Journeyman or searching for a Woodland Mansion, Nether Fossil, or End City with /locate causes a tick freeze in custom worlds with no terrain
- Resolved
-
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