ptitSeb / box64

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

Segmentation fault trying to run RoonServer on Asahi Linux #1988

Open tiehfood opened 4 weeks ago

tiehfood commented 4 weeks ago

I'm trying to run Roon Server (dotnet application) on Asahi Linux.
Had someone else tried it and had more success?
Can someone help me get it running?

Currently I get the following errors:

Error loading needed lib c.so
Warning: Cannot dlopen("c.so"/0xffff416fd750, 1)
9159|SIGSEGV @0x350931b8 (???(/opt/RoonServer/RoonDotnet/RoonServer+0x8931b8)) (x64pc=0x7ffe00000002/"???", rsp=0x7ffe8b9d783c, stack=0xfffe88790000:0xfffe88f90000 own=0xfffe88790000 fp=0x3000000030), for accessing 0x7ffe00000002 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x89c033d845894838 RSP-0x18:0x8b48d0758d48d045 RSP-0x10:0x90ff671c8de8d87d RSP-0x08:0x407f8b48f87d8b48
RSP+0x00:0xebffff0005e83f39 RSP+0x08:0x48c033f87d8b4800 RSP+0x10:0x7d8b4800eb404789 RSP+0x18:0x3390ffffff7ce890
RAX:0x00000100c0000005 RCX:0x0000000000000000 RDX:0x0000fffe88f8d0f0 RBX:0x0000fffe88f8d820 
RSP:0x00007ffe8b9d783c RBP:0x0000003000000030 RSI:0x0000fffe88f8d290 RDI:0x0000000000000000 
 R8:0x0000fffe88f8fb10  R9:0x00007ffe8b9d7801 R10:0x0000fffe88f8d1f8 R11:0x0000fffe88f8d290 
R12:0xffffffffffffffff R13:0x0000fffe88f8fb01 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0000 SS:0x002b DS:0x002b FS:0x0000 GS:0x0000 
Segmentation fault
Error loading needed lib c.so
Warning: Cannot dlopen("c.so"/0xffffbb56d750, 1)
Using emulated /opt/RoonServer/RoonDotnet/shared/Microsoft.NETCore.App/6.0.35/libSystem.Security.Cryptography.Native.OpenSsl.so
Using native(wrapped) libssl.so.3
Using native(wrapped) libcrypto.so.3
Look for SSL_state in loaded elfs
Warning, function SSL_state not found in lib libssl.so.3
Look for SSL_state in loaded elfs
Warning, function SSL_state not found in lib libssl.so.3
Look for SSL_state in loaded elfs
Warning, function SSL_state not found in lib libssl.so.3
Look for SSL_state in loaded elfs
Warning, function SSL_state not found in lib libssl.so.3
Cannot get required symbol ERR_pop_to_mark from libssl
NativeBT: /opt/RoonServer/RoonDotnet/RoonAppliance() [0x34a579e0]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffbb844870]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x7f200) [0xffffbb6cf200]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(raise+0x1c) [0xffffbb68a67c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xe4) [0xffffbb677130]
NativeBT: [0xffff883ef7e4]
EmulatedBT: box64(abort+0) [0x30040080]
EmulatedBT: /opt/RoonServer/RoonDotnet/shared/Microsoft.NETCore.App/6.0.35/libSystem.Security.Cryptography.Native.OpenSsl.so(CryptoNative_EnsureOpenSslInitialized+14) [0x7fff0c007f94]
EmulatedBT: ??? [0x7ffe8b2146d9]
EmulatedBT: /opt/RoonServer/RoonDotnet/shared/Microsoft.NETCore.App/6.0.35/libcoreclr.so+383657 [0x7fff04383657]
EmulatedBT: /opt/RoonServer/RoonDotnet/shared/Microsoft.NETCore.App/6.0.35/libcoreclr.so+1b8f16 [0x7fff041b8f16]
EmulatedBT: ??? [0xffff8a67c560]
EmulatedBT: ??? [0xffff80010b08]
9333|SIGABRT @0xffffbb6cf200 (???(/lib/aarch64-linux-gnu/libc.so.6+0x7f200)) (x64pc=0x30040080/"???", rsp=0xffff8a67c1e8, stack=0xffff89e80000:0xffff8a680000 own=0xffff89e80000 fp=0xffff8a67c440), for accessing 0x245c (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7fff044dd370
RSP-0x20:0x00007fff041ec99b RSP-0x18:0x0000ffff00000000 RSP-0x10:0x0000ffff80072a40 RSP-0x08:0x0000000000000002
RSP+0x00:0x00007fff0c0138a7 RSP+0x08:0x00000000300a08c0 RSP+0x10:0xb229bab891314800 RSP+0x18:0x0000ffff8a67c5d8
RAX:0x0000000000000001 RCX:0x0000ffffbb7ec4f8 RDX:0x0000000000000001 RBX:0x0000000000000000 
RSP:0x0000ffff8a67c1e8 RBP:0x0000ffff8a67c440 RSI:0x0000000000000037 RDI:0x00007fff0c019307 
 R8:0x0000ffff84015bb0  R9:0x0000000000000001 R10:0x000000000000000d R11:0x0000000000000008 
R12:0x0000ffff8a67c5d8 R13:0x0000000036ebf340 R14:0x0000ffff8a67c520 R15:0x0000ffff8a67c560 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
Aborted