mojira.dev
MC-231466

Minecraft crashes with message 'Index 335550507 out of bounds for length 8000' / java.lang.ArrayIndexOutOfBoundsException: Index 335550507 out of bounds for length 8000

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 07/07/2021, 18:11
Description: Tesselating block model

java.lang.ArrayIndexOutOfBoundsException: Index 335550507 out of bounds for length 8000
 at epy.a_(SourceFile:101)
 at eob$b.a(SourceFile:471)
 at eob.a(SourceFile:130)
 at eob.b(SourceFile:79)
 at eob.a(SourceFile:48)
 at enz.a(SourceFile:63)
 at epx$c$b.a(SourceFile:524)
 at epx$c$b.a(SourceFile:447)
 at epx$c.k(SourceFile:412)
 at epx.a(SourceFile:189)
 at eng.a(SourceFile:918)
 at eng.a(SourceFile:1142)
 at enb.a(SourceFile:1026)
 at enb.a(SourceFile:810)
 at dvp.f(SourceFile:1112)
 at dvp.e(SourceFile:728)
 at net.minecraft.client.main.Main.main(SourceFile:217)


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

-- Head --
Thread: Render thread
Stacktrace:
 at epy.a_(SourceFile:101)
 at eob$b.a(SourceFile:471)
 at eob.a(SourceFile:130)
 at eob.b(SourceFile:79)

-- Block model being tesselated --
Details:
 Block: Block\{minecraft:jungle_log}[axis=y]
 Block location: World: (-172,70,140), Section: (at 4,6,12 in -11,4,8; chunk contains blocks -176,0,128 to -161,255,143), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
 Using AO: true
Stacktrace:
 at eob.a(SourceFile:48)

-- Block being tesselated --
Details:
 Block: Block\{minecraft:jungle_log}[axis=y]
 Block location: World: (-172,70,140), Section: (at 4,6,12 in -11,4,8; chunk contains blocks -176,0,128 to -161,255,143), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Stacktrace:
 at enz.a(SourceFile:63)
 at epx$c$b.a(SourceFile:524)
 at epx$c$b.a(SourceFile:447)
 at epx$c.k(SourceFile:412)
 at epx.a(SourceFile:189)
 at eng.a(SourceFile:918)
 at eng.a(SourceFile:1142)
 at enb.a(SourceFile:1026)

-- Affected level --
Details:
 All players: 1 total; [emm['Wolfy0899'/183, l='ClientLevel', x=-168.70, y=68.00, z=140.64]]
 Chunk stats: 1225, 900
 Level dimension: minecraft:overworld
 Level spawn location: World: (-144,71,176), Section: (at 0,7,0 in -9,4,11; chunk contains blocks -144,0,176 to -129,255,191), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
 Level time: 125858 game time, 150340 day time
 Server brand: vanilla
 Server type: Integrated singleplayer server
Stacktrace:
 at eji.a(SourceFile:370)
 at dvp.c(SourceFile:2399)
 at dvp.e(SourceFile:747)
 at net.minecraft.client.main.Main.main(SourceFile:217)

-- Last reload --
Details:
 Reload number: 1
 Reload reason: initial
 Finished: Yes
 Packs: Default

-- System Details --
Details:
 Minecraft Version: 1.17.1
 Minecraft Version ID: 1.17.1
 Operating System: Windows 10 (amd64) version 10.0
 Java Version: 16.0.1, Microsoft
 Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
 Memory: 515677568 bytes (491 MiB) / 1845493760 bytes (1760 MiB) up to 2147483648 bytes (2048 MiB)
 CPUs: 12
 Processor Vendor: AuthenticAMD
 Processor Name: AMD Ryzen 5 3600X 6-Core Processor 
 Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
 Microarchitecture: Zen 2
 Frequency (GHz): 3.79
 Number of physical packages: 1
 Number of physical CPUs: 6
 Number of logical CPUs: 12
 Graphics card #0 name: NVIDIA GeForce RTX 2060
 Graphics card #0 vendor: NVIDIA (0x10de)
 Graphics card #0 VRAM (MB): 4095.00
 Graphics card #0 deviceId: 0x1e89
 Graphics card #0 versionInfo: DriverVersion=30.0.14.7111
 Memory slot #0 capacity (MB): 8192.00
 Memory slot #0 clockSpeed (GHz): 3.20
 Memory slot #0 type: DDR4
 Memory slot #1 capacity (MB): 8192.00
 Memory slot #1 clockSpeed (GHz): 3.20
 Memory slot #1 type: DDR4
 Virtual memory max (MB): 23240.59
 Virtual memory used (MB): 13062.18
 Swap memory total (MB): 6912.00
 Swap memory used (MB): 41.59
 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
 Launched Version: 1.17.1
 Backend library: LWJGL version 3.2.2 build 10
 Backend API: NVIDIA GeForce RTX 2060/PCIe/SSE2 GL version 3.2.0 NVIDIA 471.11, NVIDIA Corporation
 Window size: 1920x1017
 GL Caps: Using framebuffer using OpenGL 3.2
 GL debug messages: 
 Using VBOs: Yes
 Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
 Type: Integrated Server (map_client.txt)
 Graphics mode: fancy
 Resource Packs: vanilla
 Current Language: English (US)
 CPU: 12x AMD Ryzen 5 3600X 6-Core Processor 
 Player Count: 1 / 8; [abs['Wolfy0899'/183, l='ServerLevel[hardcore 2]', x=-168.69, y=68.00, z=140.64]]
 Data Packs: vanilla

Linked issues

Attachments

Comments 3

I got the same problem since quite some time, already with 1.16

I'm playing ob Ubuntu 20.04, same processor (Ryzen 5 3600) but different graphics card (RT1030)

The crashes appear randomly in time, sometimes i can play an hour, sometimes only few minutes. I found so far no systematic behavior, just that it is always the render thread that crashes. Its not the same block always (also seems random) 

Same world works on my Ubuntu Laptop (had it running over night there)

It seems to happen during higher load(e.g. when activating a farm), but randomly also during normal gameplay.

 

I also tried several Bios options (turn SMT of, idle current of Ryzen etc, nothing worked yet)

 

I could provide many logs if needed😉

 

 

I still had crashes on 1.18 and 1.18.1, but with sometimes different messages. But for me (Ubuntu 20.04) the update of the nvidia-kernel on Feb 7th 2022 to version 510 seems to have resolved the issue. No more crashes! So recommended action from my side would be to update the graphics card driver

Could someone reproduce this in 1.20.6/24w21b?

matthew phillips o connor

(Unassigned)

Plausible

Platform

Very Important

Crash

1.17.1

24w14a

Retrieved