Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-250276

The server sometimes freezes when attempting to locate structures or biomes that are far away

XMLWordPrintable

    • Icon: Bug 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:

      1. Launch the latest snapshot of Minecraft and create a new world with cheats enabled.
      2. Attempt to locate a savanna village by using the command provided below.
        /locate structure minecraft:village_savanna
      3. 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
      4. 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.

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            36 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              CHK: