ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.75k stars 267 forks source link

Palworld Dedicated Server stopped loading #1342

Closed tiagojofran closed 7 months ago

tiagojofran commented 7 months ago

I believe some changes to box64 code during the last week have broken the compatibility with Palworld server. Everything was working fine with the latest versions of v0.2.7, but now the server does not load and gets stuck in an endless loop when I try to load it. This is what I get from systemd logs:

Mar 07 06:16:41 oci-server systemd[1]: Started Palworld Server.
Mar 07 06:16:44 oci-server PalServer.sh[1775]: MessageBox: Message : Failed to read file ../../../Pal/Pal.uproject
Mar 07 06:16:45 oci-server PalServer.sh[1775]: Shutdown handler: initalize.
Mar 07 06:16:45 oci-server PalServer.sh[1775]: Increasing per-process limit of core file size to infinity.
Mar 07 06:16:45 oci-server PalServer.sh[1775]: OODLE ERROR : LZ corruption : DecodeOneQuantum fail!
Mar 07 06:16:45 oci-server PalServer.sh[1775]: OODLE ERROR : LZ corruption : OodleLZ_Decompress failed (0 != 5179)
Mar 07 06:16:45 oci-server PalServer.sh[1775]: Exiting abnormally (error code: 1)
Mar 07 06:16:45 oci-server systemd[1]: palworld.service: Deactivated successfully.
Mar 07 06:16:45 oci-server systemd[1]: palworld.service: Consumed 3.671s CPU time.
Mar 07 06:16:45 oci-server systemd[1]: palworld.service: Scheduled restart job, restart counter is at 4.
Mar 07 06:16:45 oci-server systemd[1]: Stopped Palworld Server.
Mar 07 06:16:45 oci-server systemd[1]: palworld.service: Consumed 3.671s CPU time.
Mar 07 06:16:45 oci-server systemd[1]: Started Palworld Server.
Mar 07 06:16:48 oci-server PalServer.sh[2158]: MessageBox: Message : Failed to read file ../../../Pal/Pal.uproject
Mar 07 06:16:48 oci-server PalServer.sh[2158]: Shutdown handler: initalize.
Mar 07 06:16:48 oci-server PalServer.sh[2158]: Increasing per-process limit of core file size to infinity.
Mar 07 06:16:48 oci-server PalServer.sh[2158]: OODLE ERROR : LZ corruption : DecodeOneQuantum fail!
Mar 07 06:16:48 oci-server PalServer.sh[2158]: OODLE ERROR : LZ corruption : OodleLZ_Decompress failed (0 != 5179)
Mar 07 06:16:48 oci-server PalServer.sh[2158]: Exiting abnormally (error code: 1)
Mar 07 06:16:48 oci-server systemd[1]: palworld.service: Deactivated successfully.
Mar 07 06:16:48 oci-server systemd[1]: palworld.service: Consumed 3.249s CPU time.
Mar 07 06:16:49 oci-server systemd[1]: palworld.service: Scheduled restart job, restart counter is at 5.
Mar 07 06:16:49 oci-server systemd[1]: Stopped Palworld Server.
Mar 07 06:16:49 oci-server systemd[1]: palworld.service: Consumed 3.249s CPU time.

I was using ryanfortner apt repository to update my package once or twice a week, so unfortunately I haven't tested all the daily releases and I don't know how to determine exactly which version ended up causing the issue. Downgrading back to the latest v0.2.6 release solves the issue and the server loads normally as expected. I'm running an OCI Ampere instance with ubuntu 22.04, by the way. I can add additional info if someone could guide me into collecting others logs. Thank you.

ptitSeb commented 7 months ago

If you can try with latest version (sorry, ticket autoclosed).

tiagojofran commented 7 months ago

If you can try with latest version (sorry, ticket autoclosed).

Yes, I just upgraded to version v0.2.7 55c2c9ee, and now the game server seems to be running just like before, the logs are now clean from those errors. Thank you for the fix, you guys are great :)

ptitSeb commented 7 months ago

Good. Closing the issue then :) Thanks for the repport.