mojira.dev
MC-139935

Infinite loop when a raid is searching for a spawn position

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

Attachments

Comments 0

No comments.

skyrising

coschevi

Unconfirmed

Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b

Minecraft 18w49a

Retrieved