box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Error on Fivem Server

Open SuryaRajgor opened this issue 3 years ago • 16 comments

Fivem Artifacts : https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/5562-25984c7003de26d4a222e897a782bb1f22bebedd/fx.tar.xz

Console :

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Box64 with Dynarec v0.1.9 6392550 built on Jun 11 2022 19:30:12 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 25 Env var Looking for /root/fivem/alpine/opt/cfx-server/ld-musl-x86_64.so.1 argv[1]="--library-path" argv[2]="/root/fivem/alpine/usr/lib/v8/:/root/fivem/alpine/lib/:/root/fivem/alpine/usr/lib/" argv[3]="--" argv[4]="/root/fivem/alpine/opt/cfx-server/FXServer" argv[5]="+set" argv[6]="citizen_dir" argv[7]="/root/fivem/alpine/opt/cfx-server/citizen/" 2157|SIGSEGV @0x6494cc10 (???(/usr/local/bin/box64+0x6494cc10)) (x64pc=0xffff99d61d8b//root/fivem/alpine/opt/cfx-server/ld-musl-x86_64.so.1:"???", rsp=0xffff99c87288, stack=0xffff99488000:0xffff99c88000 own=(nil) fp=(nil)), for accessing 0x13cc8 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil) Segmentation fault (core dumped)

SuryaRajgor avatar Jun 13 '22 03:06 SuryaRajgor

Same issues here, any updates on that?

MatStef132 avatar Jul 07 '22 23:07 MatStef132

screen.log My logs here

MatStef132 avatar Jul 07 '22 23:07 MatStef132

Ok, so I have to check, but I see this

Rename process to "ld-musl-x86_64.so.1"

This will not work with box64. Box will not emulate ld-musl or ld-linux. I'll check to add a workaround to avoid trying to emulate this.

ptitSeb avatar Jul 08 '22 06:07 ptitSeb

https://pastebin.com/6za3VPKZ

SuryaRajgor avatar Jul 15 '22 20:07 SuryaRajgor

I have the same error with all builds: https://pastebin.com/dViANHit I used the debian repo to install box64

QuintenQVD0 avatar Jul 17 '22 16:07 QuintenQVD0

I have added some musl support in box64, so the shell script can be used. Still musl support on box64 is very limited, so I don't expect things to run correctly for now.

ptitSeb avatar Jul 17 '22 17:07 ptitSeb

I have added some musl support in box64, so the shell script can be used. Still musl support on box64 is very limited, so I don't expect things to run correctly for now.

Atleast thx for the effort. but It currently still does not start. So we will wait for some more updates!

QuintenQVD0 avatar Jul 17 '22 17:07 QuintenQVD0

What is the expected output from that server launch?

ptitSeb avatar Jul 17 '22 18:07 ptitSeb

What is the expected output from that server launch?

IT should start with: afbeelding

QuintenQVD0 avatar Jul 23 '22 10:07 QuintenQVD0

These are the logs for fivem (fxserver). Yeah, it still doesn't start screen.log

MatStef132 avatar Aug 06 '22 16:08 MatStef132

@ptitSeb Do you still have any intrest of supporting / getting this game to run?

QuintenQVD0 avatar Aug 08 '22 10:08 QuintenQVD0

I'm interested in running everything, but I don't have much time for now. And the musl use is a complicated issue.

ptitSeb avatar Aug 08 '22 10:08 ptitSeb

You can use Box64 and Wine with Windows artifacts, I have not tested the performance, since a few months ago got banned from cfx.

Screenshot_5

LV-Soft avatar Aug 10 '22 06:08 LV-Soft

You can use Box64 and Wine with Windows artifacts, I have not tested the performance, since a few months ago got banned from cfx.

Screenshot_5

Can you please explain how you installed wine and what your startup cmd is? Can here or on discord Quinten#6775

QuintenQVD0 avatar Aug 10 '22 07:08 QuintenQVD0

Yes, no problem... now I'm going to sleep a little. tomorrow I'll write you a text on discord detailing what I did, it's not complicated but I really messed up with this (not really with fxserver but with running a vrising server in arm64, but it worked for this).

LV-Soft avatar Aug 10 '22 07:08 LV-Soft

Yes, no problem... now I'm going to sleep a little. tomorrow I'll write you a text on discord detailing what I did, it's not complicated but I really messed up with this (not really with fxserver but with running a vrising server in arm64, but it worked for this).

Thank you, have a good night.

QuintenQVD0 avatar Aug 10 '22 07:08 QuintenQVD0