Giter VIP home page Giter VIP logo

Comments (22)

ptitSeb avatar ptitSeb commented on June 10, 2024 1

I wasn't home lately, didn't had much time to look into this. I will try to have a better look this weekend and next week.

from box64.

josch avatar josch commented on June 10, 2024

In case the game manages to get into the menu, the crash looks different:

Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffff80fbbe30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/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
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/liblwjgl_lz4.so
1528388|Double SIGSEGV (code=1, pc=0xfffeffe16fb0, addr=0x8b01caa0, prot=00)!
Error (-1) in dlclose
NativeBT: ./Stardew Valley() [0x34a12718]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff812b37c0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x80a10) [0xffff81110a10]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(gsignal+0x1c) [0xffff810ca76c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xf0) [0xffff810b74bc]
NativeBT: [0xffff7fa64740]
EmulatedBT: box64(fprintf+0) [0x50f40]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so+2f2c4 [0x7fff0502f2c4]
EmulatedBT: box64(ExitEmulation+0) [0x10080]
EmulatedBT: ??? [0xffff80fbca60]
EmulatedBT: ??? [0x7ffe8cca44b8]
EmulatedBT: ??? [0x8b48c30174c08548]
1528388|SIGABRT @0xffff81110a10 (???(/lib/aarch64-linux-gnu/libc.so.6+0x80a10)) (x64pc=0x50f53/???:"???", rsp=0xffff80fbca10, stack=0xffff807c0000:0xffff80fc0000 own=(nil) fp=0xffff80fbca18), for accessing 0x3e800175244 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7fff044dcff0
RSP-0x20:0x0000000061cf5d10 RSP-0x18:0x0000ffff80fbca28 RSP-0x10:0x0000000000000001 RSP-0x08:0x0000000000000000
RSP+0x00:0x00007fff0502f2c4 RSP+0x08:0x0000ffff80fbca28 RSP+0x10:0x0000000000010080 RSP+0x18:0x00007ffe8ce1ed08
RAX:0x0000000000000016 RCX:0x0000ffff812316e0 RDX:0x00000000ffffffff RBX:0x0000000061cf5d10 
RSP:0x0000ffff80fbca10 RBP:0x0000ffff80fbca18 RSI:0x00007fff0505301d RDI:0x0000ffff81231520 
 R8:0x00007fff06057038  R9:0x0000000000453a65 R10:0x0000000000003a00 R11:0x00007ffe8b9c7a58 
R12:0x0000000000000001 R13:0x0000000000000000 R14:0x00000000600a13a0 R15:0x0000000000000000 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
./StardewValley: line 27: 1528388 Aborted                 ./"Stardew Valley" $@

from box64.

ptitSeb avatar ptitSeb commented on June 10, 2024

I don't think you need all those libs like /lib/x86_64-linux-gnu/liblttng-ust.so.0. It works fine without them.

from box64.

josch avatar josch commented on June 10, 2024

Are you saying that it is harmful for the game to have them installed? I'd like not having to uninstall them as I need those shared libs for other work I do on that machine. Probably there is some box64 environment variable i can set to ignore them?

from box64.

ptitSeb avatar ptitSeb commented on June 10, 2024

Are you saying that it is harmful for the game to have them installed? I'd like not having to uninstall them as I need those shared libs for other work I do on that machine. Probably there is some box64 environment variable i can set to ignore them?

I don't know. What I'm saying is that I don't have those libs installed on my side and it works without them. Those seems quite uncommon libs btw.

from box64.

josch avatar josch commented on June 10, 2024

I think my thought of needing those comes from this post which lists libttng, libnuma and friends:

#531 (comment)

To test, I removed the library. I now get some "Error loading needed lib" errors but the crashing behaviour did not change. Here is the updated output:

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 e32a78a9 built on Apr  1 2024 14:51:09
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffadd8cb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffadd8cb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffadd8cb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffadd8cb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffadd8cb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffadd8cb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffffadd8cb30, 1)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffadd8cb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
BOX64: Warning, size difference in block between pass2 (1544) & pass3 (1424)!
Dump of 68 x64 opcodes:
0x7fff04518747:	4 -> 4
0x7fff04518747:	4 -> 4
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
0x7fff04518747:	0 -> 0
Table64 	96 -> 96
 ------------
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffffadd8be30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
1645811|0x61e3737c: Unimplemented Opcode (78 F3 E0 8C) FE 7F 00 00 68 89 B5 61 00 00 00 00 90 00 00
NativeBT: ./Stardew Valley() [0x34a12718]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffae0827c0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x80a10) [0xffffadee0a10]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(gsignal+0x1c) [0xffffade9a76c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xf0) [0xffffade874bc]
NativeBT: [0xffff3312f09c]
EmulatedBT: box64(sigaction+0) [0x519e0]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+5129fb [0x7fff045129fb]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+4ddbc8 [0x7fff044ddbc8]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+518747 [0x7fff04518747]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+2a84a9 [0x7fff042a84a9]
EmulatedBT: ??? [0x41082ae0]
1645745|SIGABRT @0xffffadee0a10 (???(/lib/aarch64-linux-gnu/libc.so.6+0x80a10)) (x64pc=0x519f3/???:"???", rsp=0xffffadd8dbf8, stack=0xffffad590000:0xffffadd90000 own=(nil) fp=0xffffadd8dc10), for accessing 0x3e800191cb1 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x00000000410b6e10 RSP-0x10:0x00000000415753f0 RSP-0x08:0x0000ffffadd8dc10
RSP+0x00:0x00007fff045129fb RSP+0x08:0x0000000000000003 RSP+0x10:0x0000ffff1b7d9f00 RSP+0x18:0x0000ffffadd8dc30
RAX:0x0000000000000000 RCX:0x0000000041105450 RDX:0x0000000000000000 RBX:0x0000000000000006 
RSP:0x0000ffffadd8dbf8 RBP:0x0000ffffadd8dc10 RSI:0x00007fff047242b0 RDI:0x0000000000000006 
 R8:0x0000ffffadd8dc48  R9:0x0000000041139390 R10:0x0000000000000000 R11:0x000000006138a020 
R12:0x000000004c9577f0 R13:0x0000000000000000 R14:0x00000000410b6e10 R15:0x00000000415753f0 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
./StardewValley: line 27: 1645745 Aborted                 ./"Stardew Valley" $@

from box64.

ptitSeb avatar ptitSeb commented on June 10, 2024

Ok, I did a few changes. Can you update and try again?

from box64.

josch avatar josch commented on June 10, 2024

Thank you! I'm getting this now:

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffff9169cb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffff9169cb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffff9169cb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffff9169cb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffff9169cb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffff9169cb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffff9169cb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffff9169cb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Warning, table64 bigger than expected 3 vs 3
BOX64: Warning, size difference in block between pass2 (240) & pass3 (200)!
Dump of 15 x64 opcodes:
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
0x7fff042a8060:	0 -> 0
Table64 	24 -> 32
 ------------
1706335|Double SIGSEGV (code=1, pc=0x34a1a4c8, addr=0x13, prot=00)!

Just in case: this is on a banana pi amlogic a311d on Debian bookworm and i compiled box64 with RM_DYNAREC=1.

from box64.

ptitSeb avatar ptitSeb commented on June 10, 2024

Try again, and it might just work. There seems to be some unstability with the dynarec, I'm looking at it.

from box64.

josch avatar josch commented on June 10, 2024

You are right, it does not always crash when starting. It works now. I'll probably be playing a few ingame days tonight. If I get any crashes while playing I'll send them your way.

Thank you so much for all your efforts. This is really outstanding work you are doing. ❤️

from box64.

josch avatar josch commented on June 10, 2024

After trying a couple of times to start it, the following crash happened during the first ingame day that I played after about 20 minutes of play time:

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffff948acb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffff948acb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffff948acb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffff948acb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffff948acb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffff948acb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffff948acb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffff948acb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffff948abe30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/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
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/liblwjgl_lz4.so
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xffff948aac60, 1)
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xffff948aac60, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.IO.Compression.Native.so
Using native(wrapped) libz.so.1
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Game1.<>c__DisplayClass974_0.<DrawMenu>b__0() in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 15354
   at StardewValley.Mods.ModHooks.TryDrawMenu(IClickableMenu menu, Action draw_menu_action) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\Farmer\Farmer\Mods\ModHooks.cs:line 46
   at StardewValley.Game1.DrawMenu(GameTime time, RenderTarget2D target_screen) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 15354
   at StardewValley.Game1._draw(GameTime gameTime, RenderTarget2D target_screen) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 15271
   at StardewValley.Game1.Draw(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 14995
   at StardewValley.GameRunner.Draw(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 618
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 932
   at Microsoft.Xna.Framework.Game.Tick() in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 661
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\SDL\SDLGamePlatform.cs:line 91
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 481
   at StardewValley.Program.Main(String[] args) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 200
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff94ba87c0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x80a10) [0xffff94a00a10]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(gsignal+0x1c) [0xffff949ba76c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xf0) [0xffff949a74bc]
NativeBT: ./Stardew Valley() [0x34f72a28]
NativeBT: ./Stardew Valley() [0x349fbee8]
NativeBT: ./Stardew Valley() [0x34a11df8]
NativeBT: ./Stardew Valley() [0x34a127f0]
NativeBT: ./Stardew Valley() [0x34a13390]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff94ba87c0]
NativeBT: [0xffff618c1718]
EmulatedBT: box64(abort+0) [0x50080]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+5129fb [0x7fff045129fb]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+512930 [0x7fff04512930]
EmulatedBT: ??? [0xffffff01]
1712024|SIGABRT @0xffff94a00a10 (???(/lib/aarch64-linux-gnu/libc.so.6+0x80a10)) (x64pc=0x50093/???:"???", rsp=0xffff948ac698, stack=0xffff940b0000:0xffff948b0000 own=(nil) fp=0xffff948ac6b0), for accessing 0x3e8001a1f98 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000ffff948acd10 RSP-0x18:0x0000000000000001 RSP-0x10:0x0000ffff948ad850 RSP-0x08:0x0000ffff948ac6b0
RSP+0x00:0x00007fff045129fb RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000001 RSP+0x18:0x0000ffff948ac6e0
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000006 
RSP:0x0000ffff948ac698 RBP:0x0000ffff948ac6b0 RSI:0x00007fff047242b0 RDI:0x0000000000000006 
 R8:0x0000ffff948ac0b0  R9:0x0000000000000000 R10:0x00007ffe8b00e418 R11:0x0000000000000082 
R12:0x0000ffff948af140 R13:0x0000ffff948acd10 R14:0x0000000000000001 R15:0x0000ffff948ad850 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
./StardewValley: line 27: 1712024 Aborted                 ./"Stardew Valley" $@

from box64.

ptitSeb avatar ptitSeb commented on June 10, 2024

Mmmm, a null reference. Not sure what's happening here.
Next time, can you use BOX64_SHOWSEGV=1 also when you launch Stardew Valley, it will gives more logs to the console if it crashes again. I'll try to see tomorrow if I can debug this more on my side.

from box64.

josch avatar josch commented on June 10, 2024

Okay, so we are playing some SDV tonight and here is the first segmentation fault with BOX64_SHOWSEGV=1 in the environment:

Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffff81b4be30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
1939454|SIGSEGV @0xfffeddf0f9c8 (???(0xfffeddf0f9c8)) (x64pc=0xffff48a8c6d0/???:"???", rsp=0xffff81b4d0a0, stack=0xffff81350000:0xffff81b50000 own=(nil) fp=0xffff81b4cfb0), for accessing (nil) (code=1/prot=0), db=0xfffeddedd618(0xfffeddf0f9c8:0xfffeddf0fa48/0xffff48a8c6d0:0xffff48a8c6d5/???:clean, hash:1c2f111/1c2f111) handler=0x7fff044dd240
RAX:0x0000000000000000 RCX:0xffffffffffffffff RDX:0x00007fff04383c0d RBX:0x0000ffff490f5850 
RSP:0x0000ffff81b4d0a0 RBP:0x0000ffff81b4d130 RSI:0x0000ffff81c47c20 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000ffff81b4cd58 R10:0x0000000000000000 R11:0x00000000000000ff 
R12:0x0000ffff48c8c478 R13:0x00007ffe8c097610 R14:0x0000ffff48cce958 R15:0x0000ffff4910d6a0 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000ffff4910d6a0 RSP-0x18:0x0000ffff490f5850 RSP-0x10:0x0000ffff81b4d130 RSP-0x08:0x0000ffff48a8c6d0
RSP+0x00:0x000001a500000003 RSP+0x08:0x0000000b00000060 RSP+0x10:0x00000000ffffffff RSP+0x18:0x000001d800000001
1939454|Double SIGSEGV (code=1, pc=0xfffeddf0f9c8, addr=(nil), prot=00)!
Sigfault/Segbus while quitting, exiting silently

from box64.

ptitSeb avatar ptitSeb commented on June 10, 2024

can you use BOX64_SHOWBT=1 and BOX64_DLSYM_ERROR=1 next time also?

Also, you can try to use BOX64_DYNAREC_STRONGMEM=1 to see if it help removing the segfault.

from box64.

josch avatar josch commented on June 10, 2024

Absolutely! I'll probably be playing again tomorrow evening and will set those environment variables and see what happens. :)

from box64.

josch avatar josch commented on June 10, 2024

I'm now running:

BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley

And just got this:

Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffffbde2be30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
FillBlock triggered a segfault at 0x18a00000001 from 0x34fa9f78
FillBlock at 0x18a00000001 triggered a segfault, canceling
FillBlock triggered a segfault at 0x18a00000001 from 0x34fa9f78
FillBlock at 0x18a00000001 triggered a segfault, canceling
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffbe12b7c0]
NativeBT: ./Stardew Valley() [0x34f6ee58]
NativeBT: ./Stardew Valley() [0x349edd60]
NativeBT: ./Stardew Valley(my___libc_start_main+0x23c) [0x34a00c2c]
NativeBT: ./Stardew Valley() [0x34a43af0]
NativeBT: ./Stardew Valley() [0x34f72a28]
NativeBT: ./Stardew Valley() [0x349e8fbc]
NativeBT: ./Stardew Valley() [0x349e4168]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x27780) [0xffffbdf27780]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0x98) [0xffffbdf27858]
NativeBT: ./Stardew Valley(_start+0x30) [0x349e41b0]
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffbe12b7c0]
NativeBT: ./Stardew Valley() [0x349f29ac]
NativeBT: ./Stardew Valley(my_backtrace_symbols+0xa4) [0x34eba7e4]
NativeBT: ./Stardew Valley() [0x34a138a8]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffbe12b7c0]
NativeBT: ./Stardew Valley() [0x34f6ee58]
NativeBT: ./Stardew Valley() [0x349edd60]
NativeBT: ./Stardew Valley(my___libc_start_main+0x23c) [0x34a00c2c]
NativeBT: ./Stardew Valley() [0x34a43af0]
NativeBT: ./Stardew Valley() [0x34f72a28]
NativeBT: ./Stardew Valley() [0x349e8fbc]
NativeBT: ./Stardew Valley() [0x349e4168]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x27780) [0xffffbdf27780]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0x98) [0xffffbdf27858]
NativeBT: ./Stardew Valley(_start+0x30) [0x349e41b0]
1986495|Double SIGSEGV (code=1, pc=0x349f29ac, addr=0x18a00000000, prot=87)!
Sigfault/Segbus while quitting, exiting silently

from box64.

josch avatar josch commented on June 10, 2024

The last crash was from the menu where one can select to join a game over network. I now have a crash that happened during actual gameplay. I was just running across town when this happened:

Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffffadfdbe30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/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
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/liblwjgl_lz4.so
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffee6e6afd0, 1)
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffee6e6afd0, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.IO.Compression.Native.so
Using native(wrapped) libz.so.1
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffae2e07c0]
NativeBT: [0xffff60d820f8]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+3658aa [0x7fff043658aa]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+357a2a [0x7fff04357a2a]
EmulatedBT: ??? [(nil)]
1986739|SIGSEGV @0xffff60d820f8 (???(0xffff60d820f8)) (x64pc=0x7fff043658aa//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so:"/home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x365890", rsp=0xfffee6e6d420, stack=0xfffee666e000:0xfffee6e6e000 own=0xfffee666e000 fp=0xfffee6e6d560), for accessing 0x1017518e140 (code=1/prot=0), db=0xffff9807e4f0(0xffff60d820a8:0xffff60d82c90/0x7fff04365890:0x7fff04365cce//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x365890:clean, hash:50cae039/50cae039) handler=0x7fff044dd240
RAX:0x0000ffff7d8ca7c0 RCX:0x000001017518e140 RDX:0x0000ffff7d8ca778 RBX:0x0000ffff7d8ca7c0 
RSP:0x0000fffee6e6d420 RBP:0x0000fffee6e6d560 RSI:0x000000000000006b RDI:0x00000007fffbec66 
 R8:0x0000ffff7d8ca7c0  R9:0x0000ffff7d8cae58 R10:0x00000007fffbec66 R11:0x0000fffee6e6d50c 
R12:0x0000ffff73ffe000 R13:0x0000ffff7d8cae58 R14:0x0000000000000000 R15:0x00007fff0470b130 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000ffff7d8ca740 RSP-0x18:0x00007ffe8d388450 RSP-0x10:0x0000fffee6e6d560 RSP-0x08:0x00007fff04365c45
RSP+0x00:0x0000ffff7d8cae58 RSP+0x08:0x0000000000000001 RSP+0x10:0xffffffe060188044 RSP+0x18:0x00000000e6e6d580
1986739|Double SIGSEGV (code=1, pc=0xffff60d820f8, addr=0x1017518e140, prot=00)!
Sigfault/Segbus while quitting, exiting silently

from box64.

josch avatar josch commented on June 10, 2024

I played more and gathered a lot more crashes. Click on the details below.

2144719|Double SIGSEGV (code=1, pc=0x349f29ac, addr=0x7ffe00000000, prot=87)!
josch@reform:~$ env --chdir=/home/josch/Downloads/stardew16/data/noarch/game BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley
./StardewValley: line 7: sw_vers: command not found
Dynarec will try to emulate a strong memory model with limited performance loss
Show Segfault signal even if a signal handler is present
Show a Backtrace when a Segfault signal is caught
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffbb7ccb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffbb7ccb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffbb7ccb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffbb7ccb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffbb7ccb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffbb7ccb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffffbb7ccb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffbb7ccb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffffbb7cbe30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
FillBlock triggered a segfault at 0x7ffe00000000 from 0x34fa9f78
FillBlock at 0x7ffe00000000 triggered a segfault, canceling
FillBlock triggered a segfault at 0x7ffe00000000 from 0x34fa9f78
FillBlock at 0x7ffe00000000 triggered a segfault, canceling
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffbbac77c0]
NativeBT: ./Stardew Valley() [0x34f6ee58]
NativeBT: ./Stardew Valley() [0x349edd60]
NativeBT: ./Stardew Valley() [0x34a16584]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x7ee58) [0xffffbb91ee58]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0xe7f9c) [0xffffbb987f9c]
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffbbac77c0]
NativeBT: ./Stardew Valley() [0x349f29ac]
NativeBT: ./Stardew Valley(my_backtrace_symbols+0xa4) [0x34eba7e4]
NativeBT: ./Stardew Valley() [0x34a138a8]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffbbac77c0]
NativeBT: ./Stardew Valley() [0x34f6ee58]
NativeBT: ./Stardew Valley() [0x349edd60]
NativeBT: ./Stardew Valley() [0x34a16584]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x7ee58) [0xffffbb91ee58]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0xe7f9c) [0xffffbb987f9c]
2144719|Double SIGSEGV (code=1, pc=0x349f29ac, addr=0x7ffe00000000, prot=87)!
Sigfault/Segbus while quitting, exiting silently
2144829|Double SIGSEGV (code=1, pc=0xffff3b182400, addr=(nil), prot=00)!
josch@reform:~$ env --chdir=/home/josch/Downloads/stardew16/data/noarch/game BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley
./StardewValley: line 7: sw_vers: command not found
Dynarec will try to emulate a strong memory model with limited performance loss
Show Segfault signal even if a signal handler is present
Show a Backtrace when a Segfault signal is caught
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffb28bcb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffb28bcb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffb28bcb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffb28bcb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffb28bcb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffb28bcb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffffb28bcb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffb28bcb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffb2bb17c0]
NativeBT: [0xffff3b182400]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+4f3f49 [0x7fff044f3f49]
EmulatedBT: ??? [0x7ffe8c42025a]
EmulatedBT: ??? [0x10]
2144829|SIGSEGV @0xffff3b182400 (???(0xffff3b182400)) (x64pc=0x7fff044f3f49//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so:"/home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x4f3f49", rsp=0xffffb28bdf50, stack=0xffffb20c0000:0xffffb28c0000 own=(nil) fp=0xffffb28bde60), for accessing (nil) (code=1/prot=0), db=0xffff3b1717f8(0xffff3b182400:0xffff3b182470/0x7fff044f3f49:0x7fff044f3f4d//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x4f3f49:clean, hash:3f3b9b/3f3b9b) handler=0x7fff044dd240
RAX:0x0000000000000000 RCX:0xffffffffffffffff RDX:0x0000000000000007 RBX:0x00000000618136c8 
RSP:0x0000ffffb28bdf50 RBP:0x0000ffffb28be030 RSI:0x0000ffffb29b7c20 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000ffffb28bdc08 R10:0x0000000000000080 R11:0x0000000000000000 
R12:0x0000000000000274 R13:0x0000000061828d88 R14:0x00000000618124d8 R15:0x0000000061828d48 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000000061828d48 RSP-0x18:0x00000000618136c8 RSP-0x10:0x0000ffffb28be030 RSP-0x08:0x00007fff044f3f49
RSP+0x00:0x00000000000023f8 RSP+0x08:0x00000000618136d0 RSP+0x10:0x0000000061828d88 RSP+0x18:0x0000000000000000
2144829|Double SIGSEGV (code=1, pc=0xffff3b182400, addr=(nil), prot=00)!
2144901|Double SIGSEGV (code=1, pc=0xffff7ea99558, addr=(nil), prot=00)!
josch@reform:~$ env --chdir=/home/josch/Downloads/stardew16/data/noarch/game BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley
./StardewValley: line 7: sw_vers: command not found
Dynarec will try to emulate a strong memory model with limited performance loss
Show Segfault signal even if a signal handler is present
Show a Backtrace when a Segfault signal is caught
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffb3b1cb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffb3b1cb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffb3b1cb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffb3b1cb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffb3b1cb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffb3b1cb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffffb3b1cb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffb3b1cb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffffb3b1be30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffb3e207c0]
NativeBT: [0xffff7ea99558]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+4f3f49 [0x7fff044f3f49]
EmulatedBT: ??? [0x7ffe8ce6dc3d]
EmulatedBT: ??? [0x7ffe8ce6dba0]
EmulatedBT: ??? [0x7ffe8ce81c40]
EmulatedBT: ??? [0x1b81852ff087a]
2144901|SIGSEGV @0xffff7ea99558 (???(0xffff7ea99558)) (x64pc=0x7fff044f3f49//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so:"/home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x4f3f49", rsp=0xffffb3b1d2f0, stack=0xffffb3320000:0xffffb3b20000 own=(nil) fp=0xffffb3b1d200), for accessing (nil) (code=1/prot=0), db=0xffff7ea7e770(0xffff7ea99558:0xffff7ea995c8/0x7fff044f3f49:0x7fff044f3f4d//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x4f3f49:clean, hash:3f3b9b/3f3b9b) handler=0x7fff044dd240
RAX:0x0000000000000000 RCX:0xffffffffffffffff RDX:0x00000000600713a0 RBX:0x0000000060d90988 
RSP:0x0000ffffb3b1d2f0 RBP:0x0000ffffb3b1e020 RSI:0x0000ffffb3c17c20 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000ffffb3b1cfa8 R10:0x0000000000000009 R11:0x00000000000000ff 
R12:0x0000000000000003 R13:0x0000000000000000 R14:0x0000000060d68fe0 R15:0x0000000000000000 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000060d90988 RSP-0x10:0x0000ffffb3b1e020 RSP-0x08:0x00007fff044f3f49
RSP+0x00:0x0000000000000001 RSP+0x08:0x0000027e000005ad RSP+0x10:0x00000000000000c3 RSP+0x18:0x0000ffffb3b1d2f0
2144901|Double SIGSEGV (code=1, pc=0xffff7ea99558, addr=(nil), prot=00)!
Sigfault/Segbus while quitting, exiting silently
2175007|Double SIGSEGV (code=1, pc=0x349f9ff8, addr=0xffffffffffffffd8, prot=00)!
josch@reform:~$ env --chdir=/home/josch/Downloads/stardew16/data/noarch/game BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley
./StardewValley: line 7: sw_vers: command not found
Dynarec will try to emulate a strong memory model with limited performance loss
Show Segfault signal even if a signal handler is present
Show a Backtrace when a Segfault signal is caught
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffff8ddecb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffff8ddecb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffff8ddecb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffff8ddecb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffff8ddecb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffff8ddecb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffff8ddecb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffff8ddecb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffff8ddebe30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/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
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/liblwjgl_lz4.so
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff8e0e67c0]
NativeBT: [0xfffecb87cf88]
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff8e0e67c0]
NativeBT: ./Stardew Valley() [0x349f9ff8]
NativeBT: ./Stardew Valley(my_backtrace_ip+0xc4) [0x34eba5c8]
NativeBT: ./Stardew Valley() [0x34a13894]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff8e0e67c0]
NativeBT: [0xfffecb87cf88]
2175007|Double SIGSEGV (code=1, pc=0x349f9ff8, addr=0xffffffffffffffd8, prot=00)!
Sigfault/Segbus while quitting, exiting silently
2175073|Double SIGSEGV (code=1, pc=0xffff74cad4c8, addr=0x1b0000001a, prot=00)!
josch@reform:~$ env --chdir=/home/josch/Downloads/stardew16/data/noarch/game BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley
./StardewValley: line 7: sw_vers: command not found
Dynarec will try to emulate a strong memory model with limited performance loss
Show Segfault signal even if a signal handler is present
Show a Backtrace when a Segfault signal is caught
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffb493cb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffb493cb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffb493cb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffb493cb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffb493cb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffb493cb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffffb493cb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffb493cb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
FillBlock triggered a segfault at (nil) from 0x34f9da30
FillBlock at 0x7fff04518747 triggered a segfault, canceling
2175073|Double SIGSEGV (code=1, pc=0xffff74cad4c8, addr=0x1b0000001a, prot=00)!
Sigfault/Segbus while quitting, exiting silently
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffefe646400, 1)
josch@reform:~$ env --chdir=/home/josch/Downloads/stardew16/data/noarch/game BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley
./StardewValley: line 7: sw_vers: command not found
Dynarec will try to emulate a strong memory model with limited performance loss
Show Segfault signal even if a signal handler is present
Show a Backtrace when a Segfault signal is caught
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 Cortex-A73 with 6 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 3d211143 built on Apr  2 2024 16:28:00
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/home/josch/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffb7fecb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffb7fecb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffb7fecb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffb7fecb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffb7fecb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffb7fecb30, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffffb7fecb30, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffb7fecb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Warning, no wrapper for glMakeCurrent
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffffb7febe30, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/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
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Look for ERR_put_error in loaded elfs
Warning, function ERR_put_error not found in lib libcrypto.so.3
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/liblwjgl_lz4.so
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffb82e17c0]
NativeBT: [0xffff2a8ad848]
EmulatedBT: ??? [0x7ffe8d07dab4]
EmulatedBT: ??? [(nil)]
2175262|SIGSEGV @0xffff2a8ad848 (???(0xffff2a8ad848)) (x64pc=0x7ffe8d07dab4/???:"???", rsp=0xfffefe649aa0, stack=0xfffefde4a000:0xfffefe64a000 own=0xfffefde4a000 fp=0xfffefe6498c0), for accessing (nil) (code=1/prot=0), db=0xffff2a8bec60(0xffff2a8ad7f8:0xffff2a8ad8f0/0x7ffe8d07da89:0x7ffe8d07dabb/???:clean, hash:d264582b/d264582b) handler=0x7fff044dd240
RAX:0x00007fff046f8cb0 RCX:0x0000fffefe649da0 RDX:0x0000fffefe649a90 RBX:0x00000000ffffffff 
RSP:0x0000fffefe649aa0 RBP:0x00000000618ad0a0 RSI:0x00000000618ad060 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000fffefe649668 R10:0x00007ffe8d565e20 R11:0x00007ffe8d43b6d8 
R12:0x0000000000000000 R13:0x0000fffefe649da0 R14:0x00000000618ad018 R15:0x00000000611f0c38 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x00007fff04383c0d RSP-0x18:0x00000000618ad018 RSP-0x10:0x00000000618ad0a0 RSP-0x08:0x00007ffe8d07d9d9
RSP+0x00:0x0000fffefe649aa0 RSP+0x08:0x000000006a742b18 RSP+0x10:0x00000000611f2110 RSP+0x18:0x00000000611f0f58
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffefe646400, 1)
Using emulated /home/josch/Downloads/stardew16/data/noarch/game/libSystem.IO.Compression.Native.so
Using native(wrapped) libz.so.1
./StardewValley: line 27: 2175134 Killed                  ./"Stardew Valley" $@

from box64.

josch avatar josch commented on June 10, 2024

I have the subjective impression that the crashes are becoming more frequent. It says on the box64 website that you are a freelance developer. Would you be available for a paid commission to fix up box64 so that stardew valley crashes less often? If yes, what would be your rates?

Using emulated /home/josch/Downloads/stardew16/data/noarch/game/liblwjgl_lz4.so
NativeBT: ./Stardew Valley() [0x34a13708]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffb34447c0]
NativeBT: [0xffff233b9de0]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+2a9be9 [0x7fff042a9be9]
EmulatedBT: ??? [0xffff0f7ef920]
EmulatedBT: ??? [0x66a05cf0]
EmulatedBT: ??? [0x48d88b480006b903]
2613932|SIGSEGV @0xffff233b9de0 (???(0xffff233b9de0)) (x64pc=0x7fff042a9be9//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so:"/home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x2a9bc4", rsp=0xffff0f7ef8f0, stack=0xffff0eff0000:0xffff0f7f0000 own=0xffff0eff0000 fp=0xffff0f7ef900), for accessing 0x42 (code=1/prot=0), db=0xffff23379cc8(0xffff233b9d58:0xffff233b9ea8/0x7fff042a9bc4:0x7fff042a9c2c//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x2a9bc4:clean, hash:ca69da9b/ca69da9b) handler=0x7fff044dd240
RAX:0x0000000048367ff0 RCX:0x00007fff042a9bc4 RDX:0x0000000000000038 RBX:0x0000000066a05cf0 
RSP:0x0000ffff0f7ef8f0 RBP:0x0000ffff0f7ef900 RSI:0x00000000358a0700 RDI:0x0000ffffb32a0540 
 R8:0x0000000000000000  R9:0x0000ffff0f7ef5a8 R10:0x00007ffe8d2df3e8 R11:0x00007ffe8d36b768 
R12:0x0000000000000002 R13:0x0000ffff0f7efda0 R14:0x0000000000000002 R15:0x0000000000000000 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000000066a05cf0 RSP-0x18:0x0000000066a05cf0 RSP-0x10:0x0000ffff0f7ef900 RSP-0x08:0x00007fff042a9bd7
RSP+0x00:0x0000000000000000 RSP+0x08:0x0000000200000002 RSP+0x10:0x0000ffff0f7ef920 RSP+0x18:0x00007ffe8d3001a1
2613932|Double SIGSEGV (code=1, pc=0xffff233b9de0, addr=0x42, prot=00)!
Sigfault/Segbus while quitting, exiting silently

from box64.

ptitSeb avatar ptitSeb commented on June 10, 2024

I played a few days (3) on my ampere machine but everything worked fine, no crash, no issue. Maybe I didn't played enough.
Accourding to the various log you posted, the crash seems quite random. You did tried with BOX64_DYNAREC_STRONGMEM=1 right?

from box64.

josch avatar josch commented on June 10, 2024

Yes, the crashes are random and not reproducible. I'm using this invocation:

env --chdir=/home/josch/Downloads/stardew16/data/noarch/game BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley

I'm on Debian Bookworm on an Banana Pi CM4 with an Allwinner A311D with latest Stardew Valley 1.6 from GOG.

Sometimes I can play 3 days but getting the game started is already extremely tricky. Sometimes it takes four crashes until I even get to the main menu. Somtimes it crashes in the multiplayer network selection screen and sometimes it crashes during normal gameplay. If you cannot reproduce the crashes on startup this already means that there are some significant differences between your setup and mine.

EDIT:
I only just noticed that my logs a few messages above were wrongly formatted. I fixed the issue now. Thanks a lot for looking into this!

from box64.

josch avatar josch commented on June 10, 2024

I had two hunches but both were unsuccessful. Anyways, I wanted to share them here.

Firstly, my platform, the Allwinner A311D has four fast CPU cores (Cortex-A73) and two slow cores (Cortex-A53) and for some workloads which make some assumptions about the cpu properties I have to force CPU affinity to only one or the other set of cores. This is for example necessary when attempting to run QEMU with kvm support where I have to prefix all commands with:

taskset --cpu-list 2,3,4,5

or otherwise qemu will fail with:

qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument

Alas, it didn't fix the random crashes of stardew valley. Another thing I tried was to run box64 with

BOX64_LD_LIBRARY_PATH=/home/josch/git/box64/x64lib

to force the use of the library blobs that you ship with box64. But, still no change in the crashy behavior.

Maybe I can try replicating your system. What OS are you using? Could you post the standard output log for when you run SDV so that I can maybe compare it with mine to find differences?

Thanks!

from box64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.