GeyserMC / Geyser

A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
https://geysermc.org
MIT License
4.71k stars 675 forks source link

Index out of bounds #4384

Closed kphoenix137 closed 9 months ago

kphoenix137 commented 9 months ago

Describe the bug

Console spam. No clue what's causing it. My bedrock users are experiencing lag despite having good connections (restarting the server usually resolves it for the most part, and the lag is mostly prevalent for the Nintendo Switch user. Could just be the Nintendo Switch and not being wired via Ethernet), and they occasionally have the entire world turn invisible, but I'm not sure if that's related.

[21:31:09] [epollEventLoopGroup-3-1/INFO]: [Geyser-Spigot] /74.131.173.208:35303 tried to connect!
[21:31:10] [epollEventLoopGroup-3-3/INFO]: [Geyser-Spigot] Player connected with username RipleysMom28
[21:31:10] [defaultEventLoopGroup-6-3/INFO]: [Geyser-Spigot] RipleysMom28 (logged in as: RipleysMom28) has connected to the Java server
[21:31:11] [Geyser Spigot connection thread-5-4/INFO]: UUID of player RipleysMom28 is 00000000-0000-0000-0009-01fcc185b88c
[21:31:11] [Server thread/INFO]: [floodgate] Floodgate player logged in as RipleysMom28 joined (UUID: 00000000-0000-0000-0009-01fcc185b88c)
[21:31:11] [Server thread/INFO]: RipleysMom28 joined the game
[21:31:11] [Server thread/INFO]: RipleysMom28[/74.131.173.208:0] logged in with entity id 1604 at ([world]-288.7065, 76.0, -1598.0458)
[21:31:14] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:17] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:20] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:23] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:26] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:29] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:32] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:35] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:38] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:41] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:44] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:47] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:50] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:53] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:56] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:31:59] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:02] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:05] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:08] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:11] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:14] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:17] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:20] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:23] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:26] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:29] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:32] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:35] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:38] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:41] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:44] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:47] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:50] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:53] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:56] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4
[21:32:59] [defaultEventLoopGroup-6-3/WARN]: [Geyser-Spigot] Downstream packet error! Index 22 out of bounds for length 4

To Reproduce

Not sure this is relevant. Nintendo Switch user being connected causes this. The PS4 user doesn't.

Expected behaviour

No index out of bounds error

Screenshots / Videos

No response

Server Version and Plugins

Paper version git-Paper-381 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 07b956e) floodgate v2.2.2-SNAPSHOT (b85-71acc6c)

Geyser Dump

https://dump.geysermc.org/dRVE1LFlWt1WWzdxKNZFhUfmDPZ4Fg7q

Geyser Version

Geyser-Spigot v2.2.0-SNAPSHOT

Minecraft: Bedrock Edition Device/Version

V1.20.51, Nintendo Switch

Additional Context

The warning only appears while the user who is on the Nintendo Switch is in the server.

kphoenix137 commented 9 months ago

Not sure if this information is necessary, but I thought I'd include it:


[07.01 21:51:09] [Server] [INFO] There are 10 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [file/budding-amethyst.zip (world)], [file/armored elytra v1.0.9 (MC 1.20-1.20.4).zip (world)], [file/bat membranes v1.0.7 (MC 1.20-1.20.4).zip (world)], [file/cauldron concrete v2.0.9 (MC 1.20-1.20.4).zip (world)], [file/fast leaf decay v2.0.9 (MC 1.20-1.20.4).zip (world)], [file/player head drops v1.1.6 (MC 1.20-1.20.4).zip (world)], [file/unlock all recipes v2.0.7 (MC 1.20-1.20.4).zip (world)], [file/villager death messages v1.2.7 (MC 1.20-1.20.4).zip (world)]```
Konicai commented 9 months ago

Update Geyser - the issue has been fixed already and your build is 3 weeks behind.

I would expect the error to occur any time a clientbound explode packet is received

kphoenix137 commented 9 months ago

Update Geyser - the issue has been fixed already and your build is 3 weeks behind.

I would expect the error to occur any time a clientbound explode packet is received

Thank you! Sorry for any inconvenience

Konicai commented 9 months ago

np