mojira.dev
MC-155618

Exception ticking world / ConcurrentModificationException

We were in the middle of a raid and the server crashed. This is possibly related to MC-155345, but I'm not sure anyone "left" the raid.

I've attached crash-2019-06-29_12.31.20-server.txt which was generated.

And here is the relevant section from latest.log:

[12:31:20] [Server thread/ERROR]: Encountered an unexpected exception
m: Exception ticking world
        at net.minecraft.server.MinecraftServer.b(SourceFile:828) ~[server.jar:?]
        at ui.b(SourceFile:343) ~[server.jar:?]
        at net.minecraft.server.MinecraftServer.a(SourceFile:763) ~[server.jar:?]
        at net.minecraft.server.MinecraftServer.run(SourceFile:631) [server.jar:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) ~[?:1.8.0_212]
        at java.util.HashMap$KeyIterator.next(HashMap.java:1469) ~[?:1.8.0_212]
        at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1042) ~[?:1.8.0_212]
        at axf.y(SourceFile:259) ~[server.jar:?]
        at axf.o(SourceFile:389) ~[server.jar:?]
        at axh.a(SourceFile:72) ~[server.jar:?]
        at vi.a(SourceFile:325) ~[server.jar:?]
        at net.minecraft.server.MinecraftServer.b(SourceFile:824) ~[server.jar:?]
        ... 4 more
[12:31:20] [Server thread/ERROR]: This crash report has been saved to: /usr/local/minecraft-server/./crash-reports/crash-2019-06-29_12.31.20-server.txt
[12:31:20] [Server thread/INFO]: Stopping server
[12:31:20] [Server thread/INFO]: Saving players

The JVM also created its own log of the crash as hs_err_pid20640.log, which I've attached.

It also created a rather large java.core file, but it's 12GB and I'm not sure how I'd provide that to you. The problem is very repeatable, it happens every time I start the server, log in, and do much of anything. There's a ravager running about and I did strike it with a sword, which perhaps triggered the end of the raid, triggering the bug? I'll keep testing but it takes a long time when it creates the core file.

Attachments

Comments 5

We avoided killing the ravager and it didn't crash. I was being chased around by the ravager, ran out of town, the raid ended and the server didn't crash.

Going to avoid raids for the time being. I'll keep the java.core in case you think it's relevant. Hopefully this bug can be resolved with the information provided.

Yep i confirmed that bug. My friend and I were playing on the server, and our server also crashed during the "raid"

can confirm this bug. The same has happened on our server in connection with raid

Does this issue occur in the latest pre-release? (currently 1.14.4 pre 5)

Our server is not updated to the latest pre-release, so we can't test it.

BrkBrkr

(Unassigned)

Unconfirmed

Crash

Minecraft 1.14.3

Retrieved