SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.58k stars 1.11k forks source link

Bungeecord Compression Causes Fatal Crash #3717

Closed Fibbicles closed 3 months ago

Fibbicles commented 3 months ago

Bungeecord version

git:BungeeCord-Bootstrap:1.21-R0.1-SNAPSHOT:b64615e:1855

Server version

No response

Client version

No response

Bungeecord plugins

LuckPerms Geyser + Floodgate ForceResourcePacks BungeeReconnect

The bug

Upon trying to connect to the proxy the entire JVM crashes and lists the problematic frame as to do with bungeecord-compression.

Log output (links)

container@pelican~ java -Xms2G -XX:MaxRAMPercentage=95.0 -jar BungeeCord.jar
03:41:12 [INFO] Using mbed TLS based native cipher.
03:41:12 [INFO] Using zlib based native compressor.
03:41:12 [INFO] Enabled BungeeCord version git:BungeeCord-Bootstrap:1.21-R0.1-SNAPSHOT:b64615e:1855
03:41:12 [INFO] Not on Windows, attempting to use enhanced EpollEventLoop
03:41:12 [INFO] Epoll is working, utilising it!
03:41:12 [INFO] Discovered module: ModuleSpec(name=cmd_alert, file=modules/cmd_alert.jar, provider=JenkinsModuleSource())
03:41:12 [INFO] Discovered module: ModuleSpec(name=cmd_find, file=modules/cmd_find.jar, provider=JenkinsModuleSource())
03:41:12 [INFO] Discovered module: ModuleSpec(name=cmd_list, file=modules/cmd_list.jar, provider=JenkinsModuleSource())
03:41:12 [INFO] Discovered module: ModuleSpec(name=cmd_send, file=modules/cmd_send.jar, provider=JenkinsModuleSource())
03:41:12 [INFO] Discovered module: ModuleSpec(name=cmd_server, file=modules/cmd_server.jar, provider=JenkinsModuleSource())
03:41:12 [INFO] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules/reconnect_yaml.jar, provider=JenkinsModuleSource())
03:41:12 [INFO] Loaded plugin Reconnect version 1.6.12 by TauCubed (Development, commands & overhaul), 5zig (Initial Development), Krymonota (Contribution), Terrobility (Addition Config), dallasxfulcanelly (dynamic localization)
03:41:12 [INFO] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:13 [INFO] Loaded plugin LuckPerms version 5.4.137 by Luck
03:41:13 [INFO] Loaded plugin PartyAndFriends version 1.0.250-E by Simonsator
03:41:13 [INFO] [floodgate] Took 667ms to boot Floodgate
03:41:13 [INFO] Loaded plugin floodgate version 2.2.3-SNAPSHOT (b109-49bd564) by GeyserMC
03:41:14 [INFO] Loaded plugin ForceResourcepacks version 1.12.17 (build 745) by Phoenix616
03:41:14 [INFO] Loaded plugin cmd_list version git:cmd_list:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:14 [INFO] [Geyser-BungeeCord] Loading extensions...
03:41:14 [INFO] [Geyser-BungeeCord] Loaded 0 extension(s)
03:41:14 [INFO] Loaded plugin Geyser-BungeeCord version 2.4.0-SNAPSHOT by GeyserMC
03:41:14 [INFO] Loaded plugin Friends-API-MySQL-Proxy-Bridge version 1.6.3-RELEASE by Simonsator
03:41:14 [INFO] Loaded plugin cmd_find version git:cmd_find:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:14 [INFO] Loaded plugin cmd_server version git:cmd_server:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:14 [INFO] Loaded plugin cmd_alert version git:cmd_alert:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:14 [INFO] Loaded plugin HavenNetwork version 1.0 by Randamonium NZ Ltd., FlopsiBunny
03:41:14 [INFO] Loaded plugin cmd_send version git:cmd_send:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:14 [INFO] Loaded plugin AdvancedBungeeExpansionBridge version 1.0.1 by Tanguygab
03:41:14 [WARNING] Forced host server pvp is not defined
03:41:14 [WARNING] MinecraftForge support is currently unmaintained and may have unresolved issues. Please use at your own risk.
03:41:14 [INFO] Enabled plugin Reconnect version 1.6.12 by TauCubed (Development, commands & overhaul), 5zig (Initial Development), Krymonota (Contribution), Terrobility (Addition Config), dallasxfulcanelly (dynamic localization)
03:41:14 [INFO] Enabled plugin reconnect_yaml version git:reconnect_yaml:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:15 [INFO]         __    
03:41:15 [INFO]   |    |__)   LuckPerms v5.4.137
03:41:15 [INFO]   |___ |      Running on BungeeCord - BungeeCord
03:41:15 [INFO] [LuckPerms] Loading configuration...
03:41:15 [INFO] 
03:41:15 [INFO] [LuckPerms] Loading storage provider... [MARIADB]
03:41:15 [INFO] luckperms-hikari - Starting...
03:41:15 [INFO] luckperms-hikari - Start completed.
03:41:16 [INFO] [LuckPerms] Loading messaging service... [SQL]
03:41:16 [INFO] [LuckPerms] Loading internal permission managers...
03:41:17 [INFO] [LuckPerms] Performing initial data load...
03:41:17 [INFO] [LuckPerms] Successfully enabled. (took 2574ms)
03:41:17 [INFO] Enabled plugin LuckPerms version 5.4.137 by Luck
03:41:17 [INFO] HikariPool-1 - Starting...
03:41:17 [INFO] HikariPool-1 - Start completed.
03:41:17 [WARNING] Error: 1061-42000: Duplicate key name 'idx_friends_players_player_name'
03:41:19 [INFO] An update for Party-and-Friends-Extended-For-BungeeCord is available. The newest version is 1.0.251-E.
03:41:19 [INFO] Enabled plugin PartyAndFriends version 1.0.250-E by Simonsator
03:41:20 [INFO] Enabled plugin floodgate version 2.2.3-SNAPSHOT (b109-49bd564) by GeyserMC
03:41:20 [INFO] [ForceResourcepacks] Loading config!
03:41:20 [INFO] [ForceResourcepacks] Debug level: INFO
03:41:20 [INFO] [ForceResourcepacks] Found locale en
03:41:20 [INFO] [ForceResourcepacks] Loading packs:
03:41:20 [INFO] [ForceResourcepacks] game - http://php-scanner.gl.at.ply.gg:31840/generated.zip] - 
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] {url=http://php-scanner.gl.at.ply.gg:31840/generated.zip], uuid=8b4da4d4-4313-3b7f-aed4-cd75123165f3, hash=null, local-path=null, format=null, version=null, restricted=false, permission=resourcepacksplugin.pack.game, type=null, variants=null}
03:41:20 [INFO] [ForceResourcepacks] Empty pack - http://cdn.moep.tv/files/Empty.zip - 01517226212d27586ea0c5d6aff1aa5492dd2484
03:41:20 [INFO] [ForceResourcepacks] Loading global assignment...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Pack: game
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Send delay: 20
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Required: true
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Prompt message: &cYou have to accept the server resource pack in order to play!
03:41:20 [INFO] [ForceResourcepacks] global actions:
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] LOADED - MESSAGE: &aYou are now using the &e%pack%&a pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - KICK: &cYou have to accept the server resource pack in order to play!
&cVisit &ehttp://s.moep.tv/rp &cfor info on how to enable it!
03:41:20 [INFO] [ForceResourcepacks] global first join actions:
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] LOADED - MESSAGE: &aYou are now using the &e%pack%&a pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - KICK: &cYou have to accept the server resource pack in order to play!
&cVisit &ehttp://s.moep.tv/rp &cfor info on how to enable it!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Loaded PackActionAssignment{name=global, packs=[game], optionalPacks=[], sendDelay=20, required=true, promptMessage=&cYou have to accept the server resource pack in order to play!, statusMap=[=[LOADED=[MESSAGE=&aYou are now using the &e%pack%&a pack!, DECLINED=[KICK=&cYou have to accept the server resource pack in order to play!
&cVisit &ehttp://s.moep.tv/rp &cfor info on how to enable it!, firstJoinStatusMap=[=[LOADED=[MESSAGE=&aYou are now using the &e%pack%&a pack!, DECLINED=[KICK=&cYou have to accept the server resource pack in order to play!
&cVisit &ehttp://s.moep.tv/rp &cfor info on how to enable it!}
03:41:20 [INFO] [ForceResourcepacks] Loading server assignments...
03:41:20 [INFO] [ForceResourcepacks] Loading assignment for server example_lobby...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Required: false
03:41:20 [INFO] [ForceResourcepacks] example_lobby actions:
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] LOADED - MESSAGE: You are now using the &e%pack%&a pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - TITLE: &cPlease accept pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - SUBTITLE: &eIt looks a lot nicer with it!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - MESSAGE: &cVisit &ehttp://s.moep.tv/rp &cfor info on how to enable the server resource pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] FAILED - KICK: &ePlease try rejoining, you need the pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] ACCEPTED - MESSAGE: &cDownloading server resource pack...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] ACCEPTED - ACTION_BAR: &eDownload server resource pack...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Loaded server assignment PackActionAssignment{name=example_lobby, packs=[], optionalPacks=[], sendDelay=-1, statusMap=[=[LOADED=[MESSAGE=You are now using the &e%pack%&a pack!, DECLINED=[TITLE=&cPlease accept pack!, SUBTITLE=&eIt looks a lot nicer with it!, MESSAGE=&cVisit &ehttp://s.moep.tv/rp &cfor info on how to enable the server resource pack!, FAILED=[KICK=&ePlease try rejoining, you need the pack!, ACCEPTED=[MESSAGE=&cDownloading server resource pack..., ACTION_BAR=&eDownload server resource pack...}
03:41:20 [INFO] [ForceResourcepacks] Loading assignment for server example_minigame...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Regex: example_minigame_.*
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Required: false
03:41:20 [INFO] [ForceResourcepacks] example_minigame actions:
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - TITLE: &cYou need the pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - SUBTITLE: &3You cannot play without it!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] DECLINED - MESSAGE: &cVisit &ehttp://s.moep.tv/rp&c for info on how to enable the server resource pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] TIMEOUT - TITLE: &cPlease accept the pack!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] TIMEOUT - SUBTITLE: &eYou cannot play without it!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Loaded server assignment PackActionAssignment{name=example_minigame, packs=[], optionalPacks=[], sendDelay=-1, regex=example_minigame_.*, statusMap=[=[DECLINED=[TITLE=&cYou need the pack!, SUBTITLE=&3You cannot play without it!, MESSAGE=&cVisit &ehttp://s.moep.tv/rp&c for info on how to enable the server resource pack!, TIMEOUT=[TITLE=&cPlease accept the pack!, SUBTITLE=&eYou cannot play without it!}
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Stored packs override assignments: false
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Append hash to pack URL: true
03:41:20 [WARNING] [ForceResourcepacks] You have actions defined that should be run when a player joins for the first time but you are not storing joins. In order for a BungeeCord plugin being able to detect first joins we need to manually store all joined players. Either enable store-join in the config or run the plugin on a Bukkit server!
03:41:20 [INFO] [ForceResourcepacks] Update notifications are enabled!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Registering ResourcePackSendPacket in GAME phase...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] BungeeCord 1.9.4+ (767) detected!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.8+ GAME Protocol.ProtocolMapping(protocolVersion=47, packetID=72)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.9+ GAME Protocol.ProtocolMapping(protocolVersion=107, packetID=50)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.12+ GAME Protocol.ProtocolMapping(protocolVersion=335, packetID=51)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.12.1+ GAME Protocol.ProtocolMapping(protocolVersion=338, packetID=52)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.13+ GAME Protocol.ProtocolMapping(protocolVersion=393, packetID=55)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.14+ GAME Protocol.ProtocolMapping(protocolVersion=477, packetID=57)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.15+ GAME Protocol.ProtocolMapping(protocolVersion=573, packetID=58)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.16+ GAME Protocol.ProtocolMapping(protocolVersion=735, packetID=57)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.16.2+ GAME Protocol.ProtocolMapping(protocolVersion=751, packetID=56)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.17+ GAME Protocol.ProtocolMapping(protocolVersion=755, packetID=60)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.19+ GAME Protocol.ProtocolMapping(protocolVersion=759, packetID=58)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.19.1+ GAME Protocol.ProtocolMapping(protocolVersion=760, packetID=61)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.19.3+ GAME Protocol.ProtocolMapping(protocolVersion=761, packetID=60)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.19.4+ GAME Protocol.ProtocolMapping(protocolVersion=762, packetID=64)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.2+ GAME Protocol.ProtocolMapping(protocolVersion=764, packetID=66)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.3+ GAME Protocol.ProtocolMapping(protocolVersion=765, packetID=68)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.5+ GAME Protocol.ProtocolMapping(protocolVersion=766, packetID=70)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Registering ResourcePackSendPacket in CONFIGURATION phase...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] BungeeCord 1.9.4+ (767) detected!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.2+ CONFIGURATION Protocol.ProtocolMapping(protocolVersion=764, packetID=6)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.3+ CONFIGURATION Protocol.ProtocolMapping(protocolVersion=765, packetID=7)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.5+ CONFIGURATION Protocol.ProtocolMapping(protocolVersion=766, packetID=9)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Registering ResourcePackRemovePacket in GAME phase...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] BungeeCord 1.9.4+ (767) detected!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.3+ GAME Protocol.ProtocolMapping(protocolVersion=765, packetID=67)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.5+ GAME Protocol.ProtocolMapping(protocolVersion=766, packetID=69)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Registering ResourcePackRemovePacket in CONFIGURATION phase...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] BungeeCord 1.9.4+ (767) detected!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.3+ CONFIGURATION Protocol.ProtocolMapping(protocolVersion=765, packetID=6)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.5+ CONFIGURATION Protocol.ProtocolMapping(protocolVersion=766, packetID=8)
03:41:20 [INFO] [ForceResourcepacks] Detected Geyser-BungeeCord 2.4.0-SNAPSHOT
03:41:20 [INFO] [ForceResourcepacks] Detected floodgate 2.2.3-SNAPSHOT (b109-49bd564)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Registering ResourcePackStatusPacket in GAME phase...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] BungeeCord 1.9.4+ (767) detected!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.8+ GAME Protocol.ProtocolMapping(protocolVersion=47, packetID=25)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.9+ GAME Protocol.ProtocolMapping(protocolVersion=107, packetID=22)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.12+ GAME Protocol.ProtocolMapping(protocolVersion=335, packetID=24)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.13+ GAME Protocol.ProtocolMapping(protocolVersion=393, packetID=29)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.14+ GAME Protocol.ProtocolMapping(protocolVersion=477, packetID=31)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.16+ GAME Protocol.ProtocolMapping(protocolVersion=735, packetID=32)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.16.2+ GAME Protocol.ProtocolMapping(protocolVersion=751, packetID=33)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.19+ GAME Protocol.ProtocolMapping(protocolVersion=759, packetID=35)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.19.1+ GAME Protocol.ProtocolMapping(protocolVersion=760, packetID=36)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.2+ GAME Protocol.ProtocolMapping(protocolVersion=764, packetID=39)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.3+ GAME Protocol.ProtocolMapping(protocolVersion=765, packetID=40)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.5+ GAME Protocol.ProtocolMapping(protocolVersion=766, packetID=43)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Registering ResourcePackStatusPacket in CONFIGURATION phase...
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] BungeeCord 1.9.4+ (767) detected!
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.2+ CONFIGURATION Protocol.ProtocolMapping(protocolVersion=764, packetID=5)
03:41:20 [INFO] [ForceResourcepacks] [DEBUG] Found mapping for 1.20.5+ CONFIGURATION Protocol.ProtocolMapping(protocolVersion=766, packetID=6)
03:41:20 [INFO] Enabled plugin ForceResourcepacks version 1.12.17 (build 745) by Phoenix616
03:41:20 [INFO] Enabled plugin cmd_list version git:cmd_list:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:20 [INFO] Enabled plugin Geyser-BungeeCord version 2.4.0-SNAPSHOT by GeyserMC
03:41:20 [INFO] Enabled plugin Friends-API-MySQL-Proxy-Bridge version 1.6.3-RELEASE by Simonsator
03:41:20 [INFO] Enabled plugin cmd_find version git:cmd_find:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:20 [INFO] Enabled plugin cmd_server version git:cmd_server:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:20 [INFO] Enabled plugin cmd_alert version git:cmd_alert:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:20 [INFO] Enabled plugin HavenNetwork version 1.0 by Randamonium NZ Ltd., FlopsiBunny
03:41:20 [INFO] Enabled plugin cmd_send version git:cmd_send:1.21-R0.1-SNAPSHOT:b64615e:1855 by SpigotMC
03:41:20 [INFO] [Geyser-BungeeCord] ******************************************
03:41:20 [INFO] [Geyser-BungeeCord] 
03:41:20 [INFO] [Geyser-BungeeCord] Loading Geyser version 2.4.0-b614 (git-master-96f0098)
03:41:20 [INFO] [Geyser-BungeeCord] 
03:41:20 [INFO] [Geyser-BungeeCord] ******************************************
03:41:20 [INFO] Enabled plugin AdvancedBungeeExpansionBridge version 1.0.1 by Tanguygab
03:41:20 [INFO] Listening on /0.0.0.0:25565
container@panel~ Server marked as running...
03:41:22 [INFO] [Geyser-BungeeCord] Registered 667 custom items
03:41:26 [INFO] [Geyser-BungeeCord] Started Geyser on 0.0.0.0:25565
03:41:27 [INFO] [Geyser-BungeeCord] Done (6.605s)! Run /geyser help for help!
03:41:30 [INFO] [/192.168.1.104:54166] <-> InitialHandler has pinged
03:41:30 [INFO] [/172.18.0.1:57076] <-> InitialHandler has pinged
03:41:36 [INFO] [/192.168.1.104:54167] <-> InitialHandler has connected
03:41:39 [INFO] [Fibbicles] <-> ServerConnector [hub] has connected
>#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007a1339ff42e3, pid=34, tid=280
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.12+7 (17.0.12+7) (build 17.0.12+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (17.0.12+7, mixed mode, sharing, tiered, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [bungeecord-native-compress3421335355606816775.so+0x102e3]  adler32_simd_+0x247
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/container/core.34)
#
# An error report file with more information is saved as:
# /home/container/hs_err_pid34.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/entrypoint.sh: line 49:    34 Aborted                 (core dumped) java -Xms2G -XX:MaxRAMPercentage=95.0 -jar BungeeCord.jar

Checking

Fibbicles commented 3 months ago

I've attached the dump log here also: https://gist.github.com/FlopsiBunny/d2337ccee9dfa1bb852773b95e0e1b75

md-5 commented 3 months ago

AMD Opteron 6172

14 year old CPU without support for simd, oof

We need a way to detect this or at least a flag to disable natives (which thought we had tbh)

cc @lax1dude

Fibbicles commented 3 months ago

AMD Opteron 6172

14 year old CPU without support for simd, oof

We need a way to detect this or at least a flag to disable natives (which thought we had tbh)

cc @lax1dude

Does this mean this specific CPU won't be able to support it ever or is there a potential fix for this? It may be old but part of the reason I'm using it is because it's 24 cores.

md-5 commented 3 months ago

It'll be able to support bungee but not the optimised natives

lax1dude commented 3 months ago

cc @lax1dude

I'll see what I can do

lax1dude commented 3 months ago

Created #3718

Fibbicles commented 3 months ago

Created #3718

Tried that pull request, built it out and used the arguments you added but still hitting the same problem:

>#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007cf912e5a2e3, pid=1, tid=300
#
# JRE version: OpenJDK Runtime Environment Temurin-21.0.3+9 (21.0.3+9) (build 21.0.3+9-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (21.0.3+9-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [bungeecord-native-compress10317505227738964399.so+0x102e3]  adler32_simd_+0x247
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/container/core.1)
#
# An error report file with more information is saved as:
# /home/container/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007cf931d2f898]

Unfortunately also my earlier comment (I deleted because it was false) of using a hypervisor with a virtualized CPU made no difference as this from a virtual machine on the physical machine I've got.

lax1dude commented 3 months ago

@FlopsiBunny Are you sure you did it right? The offset into the executable is still 0x102e3 where the illegal instruction is, I'm not saying it's completely impossible but I feel like it's unlikely the offset into the executable of the instruction would be exactly the same after I completely rebuilt the binary from scratch and also added new functions.

Fibbicles commented 3 months ago

@FlopsiBunny Are you sure you did it right? The offset into the executable is still 0x102e3 where the illegal instruction is, I'm not saying it's completely impossible but I feel like it's unlikely the offset into the executable of the instruction would be exactly the same after I completely rebuilt the binary from scratch and also added new functions.

Possible I didn't build it right? Care to send me a build I could test.

lax1dude commented 3 months ago

Possible I didn't build it right? Care to send me a build I could test.

https://ftp.deev.is/cpuid-BungeeCord_3.jar

JAR from my test setup last night

lax1dude commented 3 months ago

@FlopsiBunny I gave you the wrong jar, the native-cipher binary was one I compiled against musl on alpine for a test instead of glibc, let me fix it

Edit: fixed

Edit: updated with latest changes

Fibbicles commented 3 months ago

@FlopsiBunny I gave you the wrong jar, the native-cipher binary was one I compiled against musl on alpine for a test instead of glibc, let me fix it

Edit: fixed

Edit: updated with latest changes

Sorry I was away from home last couple of days but have confirmed this works and is fixed.