Crash fréquent sur un serveur en ligne

gringos253

Aventurier
3 Janvier 2025
1
0
1
23
Bonjour, je poste ici car j'ai un crash fréquent sur Minecraft.

Voici le rapport de crash :

Code:
---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 2025-01-03 19:28:01
Description: Rendering entity in world

java.lang.ArrayIndexOutOfBoundsException: Index -2 out of bounds for length 0
    at gtd.a(SourceFile:124)
    at gtd.a(SourceFile:137)
    at gtd.a(SourceFile:65)
    at gtd.a(SourceFile:83)
    at hbp$b.a(SourceFile:170)
    at hbp.a(SourceFile:94)
    at grt$b.a(SourceFile:207)
    at grt$b.a(SourceFile:176)
    at grt.a(SourceFile:105)
    at grt$b.a(SourceFile:176)
    at gsd.a(SourceFile:162)
    at gsd.a(SourceFile:149)
    at glv.a(SourceFile:987)
    at glv.a(SourceFile:864)
    at glv.a(SourceFile:642)
    at fdz.a(SourceFile:67)
    at glv.a(SourceFile:552)
    at glq.a(SourceFile:733)
    at glq.a(SourceFile:493)
    at flk.c(SourceFile:1341)
    at flk.f(SourceFile:922)
    at net.minecraft.client.main.Main.main(SourceFile:267)


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

-- Head --
Thread: Render thread
Stacktrace:
    at gtd.a(SourceFile:124)
    at gtd.a(SourceFile:137)
    at gtd.a(SourceFile:65)
    at gtd.a(SourceFile:83)
    at hbp$b.a(SourceFile:170)
    at hbp.a(SourceFile:94)
    at grt$b.a(SourceFile:207)
    at grt$b.a(SourceFile:176)
    at grt.a(SourceFile:105)
    at grt$b.a(SourceFile:176)
    at gsd.a(SourceFile:162)
    at gsd.a(SourceFile:149)
    at glv.a(SourceFile:987)
    at glv.a(SourceFile:864)
    at glv.a(SourceFile:642)
    at fdz.a(SourceFile:67)
    at glv.a(SourceFile:552)
    at glq.a(SourceFile:733)

-- Entity being rendered --
Details:
    Entity Type: minecraft:item_display (buk.g)
    Entity ID: 24607201
    Entity Name: Item Display
    Entity's Exact location: 2003.99, 102.40, -24.97
    Entity's Block location: World: (2003,102,-25), Section: (at 3,6,7 in 125,6,-2; chunk contains blocks 2000,-64,-32 to 2015,319,-17), Region: (3,-1; contains chunks 96,-32 to 127,-1, blocks 1536,-64,-512 to 2047,319,-1)
    Entity's Momentum: 0.00, 0.00, 0.00
    Entity's Passengers: []
    Entity's Vehicle: buf['Area Effect Cloud'/24607200, l='ClientLevel', x=2003.99, y=101.90, z=-24.97]
Stacktrace:
    at gsd.a(SourceFile:162)
    at gsd.a(SourceFile:149)
    at glv.a(SourceFile:987)
    at glv.a(SourceFile:864)
    at glv.a(SourceFile:642)
    at fdz.a(SourceFile:67)
    at glv.a(SourceFile:552)
    at glq.a(SourceFile:733)
    at glq.a(SourceFile:493)
    at flk.c(SourceFile:1341)
    at flk.f(SourceFile:922)
    at net.minecraft.client.main.Main.main(SourceFile:267)

-- Renderer details --
Details:
    Assigned renderer: grt$b@4bb6e6cb
    Location: 3.58,-0.16,-10.91 - World: (3,-1,-11), Section: (at 3,15,5 in 0,-1,-1; chunk contains blocks 0,-64,-16 to 15,319,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
    Delta: 0.20000172
Stacktrace:
    at gsd.a(SourceFile:162)
    at gsd.a(SourceFile:149)
    at glv.a(SourceFile:987)
    at glv.a(SourceFile:864)
    at glv.a(SourceFile:642)
    at fdz.a(SourceFile:67)
    at glv.a(SourceFile:552)
    at glq.a(SourceFile:733)
    at glq.a(SourceFile:493)
    at flk.c(SourceFile:1341)
    at flk.f(SourceFile:922)
    at net.minecraft.client.main.Main.main(SourceFile:267)

-- Uptime --
Details:
    JVM uptime: 271.644s
    Wall uptime: 266.976s
    High-res time: 266.770s
    Client ticks: 4935 ticks / 246.750s
Stacktrace:
    at flk.d(SourceFile:2371)
    at flk.c(SourceFile:991)
    at flk.f(SourceFile:943)
    at net.minecraft.client.main.Main.main(SourceFile:267)

-- Affected level --
Details:
    All players: 3 total; [gkx['Gringos253'/22427028, l='ClientLevel', x=2000.58, y=100.94, z=-13.95], gky['SinbadOfficiel'/4001734, l='ClientLevel', x=2004.05, y=100.94, z=-24.93], gky['imzaryyy'/13201, l='ClientLevel', x=1994.92, y=100.94, z=2.72]]
    Chunk stats: 225, 98
    Level dimension: minecraft:farm
    Level spawn location: World: (0,100,0), Section: (at 0,4,0 in 0,6,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
    Level time: 156826784 game time, 79643423 day time
    Server brand: BungeeCord (git:BungeeCord-Bootstrap:1.21-R0.1-SNAPSHOT:15bd33b:1890) <- Purpur
    Server type: Non-integrated multiplayer server
    Tracked entity count: 13

-- Last reload --
Details:
    Reload number: 2
    Reload reason: manual
    Finished: Yes
    Packs: vanilla, server/00000000/0a919bd7-08d3-3c7c-bc0e-fc79753fd7aa

-- System Details --
Details:
    Minecraft Version: 1.21.4
    Minecraft Version ID: 1.21.4
    Operating System: Windows 11 (amd64) version 10.0
    Java Version: 21.0.3, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 276411784 bytes (263 MiB) / 1275068416 bytes (1216 MiB) up to 2147483648 bytes (2048 MiB)
    CPUs: 12
    Processor Vendor: GenuineIntel
    Processor Name: 13th Gen Intel(R) Core(TM) i5-13420H
    Identifier: Intel64 Family 6 Model 186 Stepping 2
    Microarchitecture: Raptor Lake
    Frequency (GHz): 2.61
    Number of physical packages: 1
    Number of physical CPUs: 8
    Number of logical CPUs: 12
    Graphics card #0 name: Intel(R) UHD Graphics
    Graphics card #0 vendor: Intel Corporation
    Graphics card #0 VRAM (MiB): 1024.00
    Graphics card #0 deviceId: VideoController1
    Graphics card #0 versionInfo: 31.0.101.4255
    Graphics card #1 name: NVIDIA GeForce RTX 2050
    Graphics card #1 vendor: NVIDIA
    Graphics card #1 VRAM (MiB): 4096.00
    Graphics card #1 deviceId: VideoController2
    Graphics card #1 versionInfo: 32.0.15.6636
    Memory slot #0 capacity (MiB): 16384.00
    Memory slot #0 clockSpeed (GHz): 5.60
    Memory slot #0 type: DDR5
    Memory slot #1 capacity (MiB): 16384.00
    Memory slot #1 clockSpeed (GHz): 5.60
    Memory slot #1 type: DDR5
    Virtual memory max (MiB): 37591.65
    Virtual memory used (MiB): 14339.69
    Swap memory total (MiB): 5120.00
    Swap memory used (MiB): 2.02
    Space in storage for jna.tmpdir (MiB): available: 207264.84, total: 464885.00
    Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 207264.84, total: 464885.00
    Space in storage for io.netty.native.workdir (MiB): available: 207264.84, total: 464885.00
    Space in storage for java.io.tmpdir (MiB): available: 207264.84, total: 464885.00
    Space in storage for workdir (MiB): available: 207264.84, total: 464885.00
    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.21.4
    Launcher name: minecraft-launcher
    Backend library: LWJGL version 3.3.3+5
    Backend API: NVIDIA GeForce RTX 2050/PCIe/SSE2 GL version 3.2.0 NVIDIA 566.36, NVIDIA Corporation
    Window size: 1920x1080
    GFLW Platform: win32
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages:
    Is Modded: Probably not. Client jar signature and brand is untouched
    Universe: 400921fb54442d18
    Type: Client (map_client.txt)
    Graphics mode: fancy
    Render Distance: 4/15 chunks
    Resource Packs: vanilla, server/00000000/0a919bd7-08d3-3c7c-bc0e-fc79753fd7aa (incompatible)
    Current Language: en_us
    Locale: fr_FR
    System encoding: Cp1252
    File encoding: UTF-8
    CPU: 12x 13th Gen Intel(R) Core(TM) i5-13420H


si vous avez une idée n'hésitez pas.

Merci
 
Dernière édition par un modérateur:
Bonsoir,

On dirait un bogue de logique du jeu ? Le pack de ressource du serveur est mal écrit, et ça fait crasher le jeu :

https://fr.minecraft.wiki/w/Modèle#Modèles_de_bloc
“tintindex” peut être négatif, et le jeu ne vérifie pas cela :
Java:
private static int getLayerColorSafe(int[] tintLayers, int index) {
    return index >= tintLayers.length ? -1 : tintLayers[index];
}

Il faudrait le remonter au serveur, pendant ce temps tu peux juste refuser le pack de ressource qu'il te propose de télécharger.

Cordialement,
ShE3py