-
Bug
-
Resolution: Fixed
-
24w40a, 1.21.2 Pre-Release 4, 1.21.2 Pre-Release 5
-
None
-
Plausible
-
Crash
-
Important
-
Platform
I am unable to track down exactly what the cause of the crashes are but sometimes when a player is teleported to some location, the server stalls for a very long time and eventually crashes or has to be manually closed and restarted.
The Minecart Improvements and Winter Drop experiments were both enabled.
I have attached the crash report which we got on a vanilla dedicated server in 24w40a.
The code section that caused the crash was refactored a bit in 24w39a which is likely the cause.
This was on a very old server so could be any number of things such as maps, large amounts of items, large amounts of data in items/blocks, etc.
This was the error in the log when running the vanilla server:
[18:47:30] [Server thread/ERROR]: Error executing task on Chunk source main thread executor for minecraft:overworld z: Exception generating new chunk at arm.a(SourceFile:654) ~[server-24w40a.jar:?] at brt.d(SourceFile:164) ~[server-24w40a.jar:?] at ase$b.d(SourceFile:596) ~[server-24w40a.jar:?] at brt.B(SourceFile:138) ~[server-24w40a.jar:?] at ase$b.B(SourceFile:605) ~[server-24w40a.jar:?] at ase.d(SourceFile:277) ~[server-24w40a.jar:?] at net.minecraft.server.MinecraftServer.bv(SourceFile:877) ~[server-24w40a.jar:?] at net.minecraft.server.MinecraftServer.B(SourceFile:865) ~[server-24w40a.jar:?] at brt.b(SourceFile:147) ~[server-24w40a.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:829) ~[server-24w40a.jar:?] at net.minecraft.server.MinecraftServer.x_(SourceFile:836) ~[server-24w40a.jar:?] at net.minecraft.server.MinecraftServer.y(SourceFile:719) ~[server-24w40a.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:292) ~[server-24w40a.jar:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -4194008 out of bounds for length 315 at ecu$c.a(SourceFile:527) ~[server-24w40a.jar:?] at ecu$c.a(SourceFile:304) ~[server-24w40a.jar:?] at edm.a(SourceFile:193) ~[server-24w40a.jar:?] at emq.calculate(SourceFile:14) ~[server-24w40a.jar:?] at edm.e(SourceFile:225) ~[server-24w40a.jar:?] at edl.a(SourceFile:215) ~[server-24w40a.jar:?] at edl.a(SourceFile:124) ~[server-24w40a.jar:?] at dzj.c(SourceFile:583) ~[server-24w40a.jar:?] at eoc.a(SourceFile:176) ~[server-24w40a.jar:?] at eqp.a(SourceFile:37) ~[server-24w40a.jar:?] at eoc.b(SourceFile:239) ~[server-24w40a.jar:?] at eoc.a(SourceFile:160) ~[server-24w40a.jar:?] at dzj.a(SourceFile:517) ~[server-24w40a.jar:?] at dzj.a(SourceFile:499) ~[server-24w40a.jar:?] at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] at dzj.a(SourceFile:452) ~[server-24w40a.jar:?] at eal.b(SourceFile:37) ~[server-24w40a.jar:?] at eam.a(SourceFile:33) ~[server-24w40a.jar:?] at arm.a(SourceFile:639) ~[server-24w40a.jar:?] at ary.a(SourceFile:98) ~[server-24w40a.jar:?] at arj.a(SourceFile:148) ~[server-24w40a.jar:?] at arj.a(SourceFile:125) ~[server-24w40a.jar:?] at arj.d(SourceFile:76) ~[server-24w40a.jar:?] at arj.a(SourceFile:61) ~[server-24w40a.jar:?] at arm.b(SourceFile:673) ~[server-24w40a.jar:?] at aro.a(SourceFile:88) ~[server-24w40a.jar:?] at brz.a(SourceFile:21) ~[server-24w40a.jar:?] at ae.a(SourceFile:292) ~[server-24w40a.jar:?] at brs.f(SourceFile:50) ~[server-24w40a.jar:?] at brs.run(SourceFile:62) ~[server-24w40a.jar:?] at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1423) ~[?:?] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]
And this is the error we get from the same kind of crash but when running a Fabric server:
[05:43:50] [Server thread/ERROR]: Error executing task on Chunk source main thread executor for minecraft:overworld net.minecraft.class_148: Exception generating new chunk at net.minecraft.class_3898.method_60445(class_3898.java:654) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_18859(class_1255.java:164) ~[server-intermediary.jar:?] at net.minecraft.class_3215$class_4212.method_18859(class_3215.java:596) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_16075(class_1255.java:138) ~[server-intermediary.jar:?] at net.minecraft.class_3215$class_4212.method_16075(class_3215.java:605) ~[server-intermediary.jar:?] at net.minecraft.class_3215.method_19492(class_3215.java:277) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:877) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:865) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_18857(class_1255.java:147) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_18857(MinecraftServer.java:829) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:836) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:719) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:292) ~[server-intermediary.jar:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -12582616 out of bounds for length 315 at net.minecraft.class_6350$class_5832.method_33738(class_6350.java:527) ~[server-intermediary.jar:?] at net.minecraft.class_6350$class_5832.method_38317(class_6350.java:304) ~[server-intermediary.jar:?] at net.minecraft.class_6568.method_40530(class_6568.java:193) ~[server-intermediary.jar:?] at net.minecraft.class_6582.calculate(class_6582.java:14) ~[server-intermediary.jar:?] at net.minecraft.class_6568.method_40536(class_6568.java:225) ~[server-intermediary.jar:?] at net.minecraft.class_3754.method_26263(class_3754.java:215) ~[server-intermediary.jar:?] at net.minecraft.class_3754.method_16397(class_3754.java:124) ~[server-intermediary.jar:?] at net.minecraft.class_2794.method_18028(class_2794.java:583) ~[server-intermediary.jar:?] at net.minecraft.class_3195.method_41612(class_3195.java:176) ~[server-intermediary.jar:?] at net.minecraft.class_2956.method_38676(class_2956.java:21) ~[server-intermediary.jar:?] at net.minecraft.class_3195.method_47932(class_3195.java:239) ~[server-intermediary.jar:?] at net.minecraft.class_3195.method_41614(class_3195.java:160) ~[server-intermediary.jar:?] at net.minecraft.class_2794.method_41044(class_2794.java:517) ~[server-intermediary.jar:?] at net.minecraft.class_2794.method_41041(class_2794.java:470) ~[server-intermediary.jar:?] at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] at net.minecraft.class_2794.method_16129(class_2794.java:452) ~[server-intermediary.jar:?] at net.minecraft.class_9310.method_57601(class_9310.java:37) ~[server-intermediary.jar:?] at net.minecraft.class_9770.method_60560(class_9770.java:33) ~[server-intermediary.jar:?] at net.minecraft.class_3898.method_60442(class_3898.java:639) ~[server-intermediary.jar:?] at net.minecraft.class_9761.method_60461(class_9761.java:98) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60428(class_9759.java:148) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60427(class_9759.java:125) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60432(class_9759.java:76) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60424(class_9759.java:61) ~[server-intermediary.jar:?] at net.minecraft.class_3898.method_60446(class_3898.java:673) ~[server-intermediary.jar:?] at net.minecraft.class_10171.method_63554(class_10171.java:88) ~[server-intermediary.jar:?] at net.minecraft.class_10178.method_63604(class_10178.java:21) ~[server-intermediary.jar:?] at net.minecraft.class_156.method_64122(class_156.java:292) ~[server-intermediary.jar:?] at net.minecraft.class_10174.method_63592(class_10174.java:50) ~[server-intermediary.jar:?] at net.minecraft.class_10174.run(class_10174.java:62) ~[server-intermediary.jar:?] at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1423) ~[?:?] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?] [05:43:50] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.class_148: Exception generating new chunk at net.minecraft.class_3898.method_60445(class_3898.java:654) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_18859(class_1255.java:164) ~[server-intermediary.jar:?] at net.minecraft.class_3215$class_4212.method_18859(class_3215.java:596) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_16075(class_1255.java:138) ~[server-intermediary.jar:?] at net.minecraft.class_3215$class_4212.method_16075(class_3215.java:605) ~[server-intermediary.jar:?] at net.minecraft.class_3215.method_19492(class_3215.java:277) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:877) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:865) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_18857(class_1255.java:147) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_18857(MinecraftServer.java:829) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:836) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:719) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:292) ~[server-intermediary.jar:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -12582616 out of bounds for length 315 at net.minecraft.class_6350$class_5832.method_33738(class_6350.java:527) ~[server-intermediary.jar:?] at net.minecraft.class_6350$class_5832.method_38317(class_6350.java:304) ~[server-intermediary.jar:?] at net.minecraft.class_6568.method_40530(class_6568.java:193) ~[server-intermediary.jar:?] at net.minecraft.class_6582.calculate(class_6582.java:14) ~[server-intermediary.jar:?] at net.minecraft.class_6568.method_40536(class_6568.java:225) ~[server-intermediary.jar:?] at net.minecraft.class_3754.method_26263(class_3754.java:215) ~[server-intermediary.jar:?] at net.minecraft.class_3754.method_16397(class_3754.java:124) ~[server-intermediary.jar:?] at net.minecraft.class_2794.method_18028(class_2794.java:583) ~[server-intermediary.jar:?] at net.minecraft.class_3195.method_41612(class_3195.java:176) ~[server-intermediary.jar:?] at net.minecraft.class_2956.method_38676(class_2956.java:21) ~[server-intermediary.jar:?] at net.minecraft.class_3195.method_47932(class_3195.java:239) ~[server-intermediary.jar:?] at net.minecraft.class_3195.method_41614(class_3195.java:160) ~[server-intermediary.jar:?] at net.minecraft.class_2794.method_41044(class_2794.java:517) ~[server-intermediary.jar:?] at net.minecraft.class_2794.method_41041(class_2794.java:470) ~[server-intermediary.jar:?] at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] at net.minecraft.class_2794.method_16129(class_2794.java:452) ~[server-intermediary.jar:?] at net.minecraft.class_9310.method_57601(class_9310.java:37) ~[server-intermediary.jar:?] at net.minecraft.class_9770.method_60560(class_9770.java:33) ~[server-intermediary.jar:?] at net.minecraft.class_3898.method_60442(class_3898.java:639) ~[server-intermediary.jar:?] at net.minecraft.class_9761.method_60461(class_9761.java:98) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60428(class_9759.java:148) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60427(class_9759.java:125) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60432(class_9759.java:76) ~[server-intermediary.jar:?] at net.minecraft.class_9759.method_60424(class_9759.java:61) ~[server-intermediary.jar:?] at net.minecraft.class_3898.method_60446(class_3898.java:673) ~[server-intermediary.jar:?] at net.minecraft.class_10171.method_63554(class_10171.java:88) ~[server-intermediary.jar:?] at net.minecraft.class_10178.method_63604(class_10178.java:21) ~[server-intermediary.jar:?] at net.minecraft.class_156.method_64122(class_156.java:292) ~[server-intermediary.jar:?] at net.minecraft.class_10174.method_63592(class_10174.java:50) ~[server-intermediary.jar:?] at net.minecraft.class_10174.run(class_10174.java:62) ~[server-intermediary.jar:?] at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1423) ~[?:?] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]