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

Infinite loop when a raid is searching for a spawn position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w49a
    • Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b
    • None
    • Unconfirmed

      When having the bad omen effect and walking into a (player built) village in an almost void world the triggered raid searches for a spawn position on a circle approx. 2*village_radius around the village center. If there are no spawnable blocks there it will stay in an infinite loop and freeze the server thread.

       

      Thread dump for the server thread (18w47a):

      java.lang.Thread.State: RUNNABLE
           at fm.f(SourceFile:198)
           at fm.n(SourceFile:210)
           at akz.a(SourceFile:178)
           at arg.b(SourceFile:462)
           at arg.h(SourceFile:281)
           at ari.a(SourceFile:78)
           at ug.a(SourceFile:206)
           at net.minecraft.server.MinecraftServer.b(SourceFile:772)
           at net.minecraft.server.MinecraftServer.a(SourceFile:709)
           at dnu.a(SourceFile:128)
           at net.minecraft.server.MinecraftServer.run(SourceFile:575)
           at java.lang.Thread.run(Thread.java:748)
      

      The while loop is in arg.h

            cojomax99 [Mojang] Cory Scheviak
            skyrising skyrising (Simon Wanner)
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: