GeyserMC / Geyser

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

can't load new chunks as correctly on 1.12.2 / 1.16.5 servers #4556

Open CayanNet opened 7 months ago

CayanNet commented 7 months ago

Describe the bug

this is happening when the bedrock players (1.20.40 ~ 1.20.73) tried to load new chunks on 1.12.2 / 1.16.5 server they get messive fps drops with high pings and lead the timeout the player and memory & cpu usages as high as it can (geyser velocity)

To Reproduce

  1. join the 1.12.2 / 1.16.5 server
  2. try to load the new chunks
  3. get messive fps drops + high pings and get timeout + velocity goes crash with java heap spaces (high ram & cpu usages as almost 100%)

Expected behaviour

https://github.com/GeyserMC/Geyser/assets/153404271/06a48732-ab0d-4ff9-afd0-2147882dfc58

after i get fps drops / high pings i get timeout from server and velocity goes high cpu & memory usages to crash itself

latest.log this is the 1.12.2 server log with rtm516 when we tested about this issue and yeah u can see he got timeout after that

https://pastebin.com/C9Vz1kXC this is the velocity log after when rtm516 got timeout ofc it kicked all of players in other servers since of velocity got crashed (i was allowcate the ram of velocity has 2gb it can deal the more than100 players in 1.20.4 as i tested with 2gb but how the 1 player in 1.12.2 / 1.16.5 server can crash velocity)

Screenshots / Videos

https://github.com/GeyserMC/Geyser/assets/153404271/06a48732-ab0d-4ff9-afd0-2147882dfc58

after i get fps drops / high pings i get timeout from server and velocity goes high cpu & memory usages to crash itself

latest.log this is the 1.12.2 server log with rtm516 when we tested about this issue and yeah u can see he got timeout after that

https://pastebin.com/C9Vz1kXC this is the velocity log after when rtm516 got timeout ofc it kicked all of players in other servers since of velocity got crashed

Server Version and Plugins

(backend) This server is running Reaper version git-Reaper-"9a4051b" (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT) i tried on normal paper and spigot as well but still not fixed

Plugins (15): 2b2tHelp, AnarchyExploitFixes, antiRedstoneClock, BungeeGuard, CommandWhitelist, floodgate, LuckPerms, PistonChat, PlaceholderAPI, ProtocolLib, TAB, ViaBackwards, ViaRewind, ViaVersion, WorldBorder

(proxy) velocity-3.3.0-SNAPSHOT-375.jar

image

Geyser Dump

https://dump.geysermc.org/jRJT95ZoGY1kFKF2uiBUFGl5dotBFAja

Geyser Version

2.2.3-SNAPSHOT (git-master-fa2e4e5)

Minecraft: Bedrock Edition Device/Version

1.20.71 (rtm516) / 1.20.73 (me) window 10 edition pc

Additional Context

i was getting this issue since of 2023 march or older than that so i hope this issue goes fix

CayanNet commented 7 months ago

openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) this is my java version

CayanNet commented 7 months ago

cpu info 12th Gen Intel(R) Core(TM) i5-12600

CayanNet commented 7 months ago

tested on newest jdk 17 openjdk version "17.0.11" 2024-04-16 OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9) OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing) but still same issue

AJ-Ferguson commented 7 months ago

We've identified the cause of this bug and are working on a solution.

adalmo commented 7 months ago

Oh good to hear

kimoVoid commented 6 months ago

+1, having this issue on Geyser for Velocity and it kills the server. Using WorldEdit when there are Bedrock players online also keeps slowly filling up the memory usage until it crashes, not sure if that's related to this bug.

Monutchuan commented 2 months ago

It still exists today, hopefully this bug has not been forgotten.