mojira.dev
MC-148876

Exception ticking world while loading chunks

While loading chunks in a straight line out from 0,0 at a relatively fast pace, server crashes with "Exception ticking world". Crash frequency appears to be directly related to the rate at which world loading occurs.

Time: 4/20/19 1:11 PM
Description: Exception ticking world
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
at java.util.ArrayList$Itr.next(ArrayList.java:859)
at bhu.a(SourceFile:72)
at vg.a(SourceFile:317)
at net.minecraft.server.MinecraftServer.b(SourceFile:827)
at ug.b(SourceFile:343)
at net.minecraft.server.MinecraftServer.a(SourceFile:764)
at net.minecraft.server.MinecraftServer.run(SourceFile:632)
at java.lang.Thread.run(Thread.java:748)

Environment

Minecraft Version: 1.14 Pre-Release 5, Operating System: Linux (amd64) version 4.4.0-141-generic Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 693334976 bytes (661 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)

i7 7700k, 64gb ram, 500gb SSD, ubuntu 16.04 server

Linked issues

Comments 4

Happens in 1.14 Full Release when either server is under some load or lots of players online.

 

Time: 4/23/19 7:43 PM
Description: Exception ticking world
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
at java.util.ArrayList$Itr.next(ArrayList.java:859)
at bhu.a(SourceFile:72)
at vg.a(SourceFile:317)
at net.minecraft.server.MinecraftServer.b(SourceFile:827)
at ug.b(SourceFile:343)
at net.minecraft.server.MinecraftServer.a(SourceFile:764)
at net.minecraft.server.MinecraftServer.run(SourceFile:632)
at java.lang.Thread.run(Thread.java:748)

spreadplayers also crashes the server with the same exception.

Can also confirm this is an issue when using the spigot API to pre-generate the world. However, this issue is not related to Spigot.  This seems to happen when the server gets behind and tries to catch up.

Confirming for 1.14 Multiplayer server


Minecraft Crash Report ----
// Sorry 😞

Time: 4/24/19 9:55 AM
Description: Exception ticking world

java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
at java.util.ArrayList$Itr.next(ArrayList.java:859)
at bhu.a(SourceFile:72)
at vg.a(SourceFile:317)
at net.minecraft.server.MinecraftServer.b(SourceFile:827)
at ug.b(SourceFile:343)
at net.minecraft.server.MinecraftServer.a(SourceFile:764)
at net.minecraft.server.MinecraftServer.run(SourceFile:632)
at java.lang.Thread.run(Thread.java:748)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

migrated

(Unassigned)

Unconfirmed

Minecraft 1.14 Pre-Release 5, Minecraft 1.14

Retrieved