CloudburstMC / Nukkit

Cloudburst Nukkit - Nuclear-Powered Minecraft: Bedrock Edition Server Software
https://cloudburstmc.org
GNU General Public License v3.0
1.22k stars 419 forks source link

NumberFormatException when running on a Linux kernel version with + in the name (6.6.13+bpo-amd64) #2178

Closed TheFlash787 closed 3 weeks ago

TheFlash787 commented 6 months ago

Expected Behavior

Nukkit should start up successfully without crashing on newer Linux versions (E.g Debian Bullseye), and kernel versions that contain + in the version name.

Actual Behavior

Nukkit will crash during startup with an error (NumberFormatException for input string "13+bpo") causing the process to exit.

Steps to Reproduce

Debug Information

Checklist:

PetteriM1 commented 6 months ago

Can you test if the issue exists on leveldb branch builds as those use a newer version of Raknet library? https://github.com/CloudburstMC/Nukkit/pull/2175

TheFlash787 commented 6 months ago

Hey @PetteriM1, we'll test this and I'll get back to you soon. Thanks for the response

TheFlash787 commented 6 months ago

@PetteriM1 That fixes the issue.

Our aim is to provide all major versions of Nukkit to our customers as server types in server hosting. However based on this, we'll only be able to support the newer versions of Nukkit only.

I assume there's not too much we can do about this, and our only other option is to move the kernel to a standard version?

Thanks so much