Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: stardew valley #1398

Open
josch opened this issue Apr 1, 2024 · 42 comments
Open

regression: stardew valley #1398

josch opened this issue Apr 1, 2024 · 42 comments

Comments

@josch
Copy link
Contributor

josch commented Apr 1, 2024

Hi,

issue #1271 is about SDV on Asahi Linux and #1395 about SDV from windows under wine.

Version 1.5 of SDV worked more or less fine with "only" a crash every 2 or 3 in-game days with box64 0.2.6.

When upgrading to box64 from git, I only very rarely make it into the game menu but more often than not it crashes before the game even starts:

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
Using emulated /lib/x86_64-linux-gnu/liblttng-ust.so.0
Using emulated /lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0
Using native(wrapped) libnuma.so.1
Using emulated /lib/x86_64-linux-gnu/liburcu-bp.so.6
Using emulated /lib/x86_64-linux-gnu/liburcu-cds.so.6
Warning: Symbol _loglevel___lttng_ust_statedump___end not found, cannot apply R_X86_64_64 @0x7fff06072728 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_statedump___end not found, cannot apply R_X86_64_64 @0x7fff06072738 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_statedump___procname not found, cannot apply R_X86_64_64 @0x7fff06072788 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_statedump___procname not found, cannot apply R_X86_64_64 @0x7fff06072798 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_statedump___debug_link not found, cannot apply R_X86_64_64 @0x7fff060727e8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_statedump___debug_link not found, cannot apply R_X86_64_64 @0x7fff060727f8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_statedump___build_id not found, cannot apply R_X86_64_64 @0x7fff06072848 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_statedump___build_id not found, cannot apply R_X86_64_64 @0x7fff06072858 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_statedump___bin_info not found, cannot apply R_X86_64_64 @0x7fff060728a8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_statedump___bin_info not found, cannot apply R_X86_64_64 @0x7fff060728b8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_statedump___start not found, cannot apply R_X86_64_64 @0x7fff06072908 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_statedump___start not found, cannot apply R_X86_64_64 @0x7fff06072918 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_lib___unload not found, cannot apply R_X86_64_64 @0x7fff06072968 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_lib___unload not found, cannot apply R_X86_64_64 @0x7fff06072978 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_lib___debug_link not found, cannot apply R_X86_64_64 @0x7fff060729c8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_lib___debug_link not found, cannot apply R_X86_64_64 @0x7fff060729d8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_lib___build_id not found, cannot apply R_X86_64_64 @0x7fff06072a28 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_lib___build_id not found, cannot apply R_X86_64_64 @0x7fff06072a38 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___lttng_ust_lib___load not found, cannot apply R_X86_64_64 @0x7fff06072a88 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_lib___load not found, cannot apply R_X86_64_64 @0x7fff06072a98 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracef___event not found, cannot apply R_X86_64_64 @0x7fff06072af8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG not found, cannot apply R_X86_64_64 @0x7fff06072b58 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG_LINE not found, cannot apply R_X86_64_64 @0x7fff06072bb8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG_FUNCTION not found, cannot apply R_X86_64_64 @0x7fff06072c18 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG_UNIT not found, cannot apply R_X86_64_64 @0x7fff06072c78 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG_MODULE not found, cannot apply R_X86_64_64 @0x7fff06072cd8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG_PROCESS not found, cannot apply R_X86_64_64 @0x7fff06072d38 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG_PROGRAM not found, cannot apply R_X86_64_64 @0x7fff06072d98 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_DEBUG_SYSTEM not found, cannot apply R_X86_64_64 @0x7fff06072df8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_INFO not found, cannot apply R_X86_64_64 @0x7fff06072e58 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_NOTICE not found, cannot apply R_X86_64_64 @0x7fff06072eb8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_WARNING not found, cannot apply R_X86_64_64 @0x7fff06072f18 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_ERR not found, cannot apply R_X86_64_64 @0x7fff06072f78 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_CRIT not found, cannot apply R_X86_64_64 @0x7fff06072fd8 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_ALERT not found, cannot apply R_X86_64_64 @0x7fff06073038 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _model_emf_uri___lttng_ust_tracelog___TRACE_EMERG not found, cannot apply R_X86_64_64 @0x7fff06073098 ((nil)) in /lib/x86_64-linux-gnu/liblttng-ust.so.0
Warning: Symbol _loglevel___DotNETRuntime___GCStart not found, cannot apply R_X86_64_64 @0x7fff05064ab8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCStart not found, cannot apply R_X86_64_64 @0x7fff05064ac8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCStart_V1 not found, cannot apply R_X86_64_64 @0x7fff05064b18 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCStart_V1 not found, cannot apply R_X86_64_64 @0x7fff05064b28 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCStart_V2 not found, cannot apply R_X86_64_64 @0x7fff05064b78 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCStart_V2 not found, cannot apply R_X86_64_64 @0x7fff05064b88 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCEnd not found, cannot apply R_X86_64_64 @0x7fff05064bd8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCEnd not found, cannot apply R_X86_64_64 @0x7fff05064be8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCEnd_V1 not found, cannot apply R_X86_64_64 @0x7fff05064c38 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCEnd_V1 not found, cannot apply R_X86_64_64 @0x7fff05064c48 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCRestartEEEnd not found, cannot apply R_X86_64_64 @0x7fff05064c98 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCRestartEEEnd not found, cannot apply R_X86_64_64 @0x7fff05064ca8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCRestartEEEnd_V1 not found, cannot apply R_X86_64_64 @0x7fff05064cf8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCRestartEEEnd_V1 not found, cannot apply R_X86_64_64 @0x7fff05064d08 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCHeapStats not found, cannot apply R_X86_64_64 @0x7fff05064d58 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCHeapStats not found, cannot apply R_X86_64_64 @0x7fff05064d68 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCHeapStats_V1 not found, cannot apply R_X86_64_64 @0x7fff05064db8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCHeapStats_V1 not found, cannot apply R_X86_64_64 @0x7fff05064dc8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCHeapStats_V2 not found, cannot apply R_X86_64_64 @0x7fff05064e18 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCHeapStats_V2 not found, cannot apply R_X86_64_64 @0x7fff05064e28 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCCreateSegment not found, cannot apply R_X86_64_64 @0x7fff05064e78 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCCreateSegment not found, cannot apply R_X86_64_64 @0x7fff05064e88 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCCreateSegment_V1 not found, cannot apply R_X86_64_64 @0x7fff05064ed8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCCreateSegment_V1 not found, cannot apply R_X86_64_64 @0x7fff05064ee8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCFreeSegment not found, cannot apply R_X86_64_64 @0x7fff05064f38 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCFreeSegment not found, cannot apply R_X86_64_64 @0x7fff05064f48 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCFreeSegment_V1 not found, cannot apply R_X86_64_64 @0x7fff05064f98 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCFreeSegment_V1 not found, cannot apply R_X86_64_64 @0x7fff05064fa8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCRestartEEBegin not found, cannot apply R_X86_64_64 @0x7fff05064ff8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCRestartEEBegin not found, cannot apply R_X86_64_64 @0x7fff05065008 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCRestartEEBegin_V1 not found, cannot apply R_X86_64_64 @0x7fff05065058 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCRestartEEBegin_V1 not found, cannot apply R_X86_64_64 @0x7fff05065068 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCSuspendEEEnd not found, cannot apply R_X86_64_64 @0x7fff050650b8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCSuspendEEEnd not found, cannot apply R_X86_64_64 @0x7fff050650c8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCSuspendEEEnd_V1 not found, cannot apply R_X86_64_64 @0x7fff05065118 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCSuspendEEEnd_V1 not found, cannot apply R_X86_64_64 @0x7fff05065128 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCSuspendEEBegin not found, cannot apply R_X86_64_64 @0x7fff05065178 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCSuspendEEBegin not found, cannot apply R_X86_64_64 @0x7fff05065188 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCSuspendEEBegin_V1 not found, cannot apply R_X86_64_64 @0x7fff050651d8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCSuspendEEBegin_V1 not found, cannot apply R_X86_64_64 @0x7fff050651e8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCAllocationTick not found, cannot apply R_X86_64_64 @0x7fff05065238 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCAllocationTick not found, cannot apply R_X86_64_64 @0x7fff05065248 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCAllocationTick_V1 not found, cannot apply R_X86_64_64 @0x7fff05065298 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCAllocationTick_V1 not found, cannot apply R_X86_64_64 @0x7fff050652a8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCAllocationTick_V2 not found, cannot apply R_X86_64_64 @0x7fff050652f8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCAllocationTick_V2 not found, cannot apply R_X86_64_64 @0x7fff05065308 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCAllocationTick_V3 not found, cannot apply R_X86_64_64 @0x7fff05065358 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCAllocationTick_V3 not found, cannot apply R_X86_64_64 @0x7fff05065368 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCAllocationTick_V4 not found, cannot apply R_X86_64_64 @0x7fff050653b8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCAllocationTick_V4 not found, cannot apply R_X86_64_64 @0x7fff050653c8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCCreateConcurrentThread not found, cannot apply R_X86_64_64 @0x7fff05065418 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCCreateConcurrentThread not found, cannot apply R_X86_64_64 @0x7fff05065428 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCCreateConcurrentThread_V1 not found, cannot apply R_X86_64_64 @0x7fff05065478 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCCreateConcurrentThread_V1 not found, cannot apply R_X86_64_64 @0x7fff05065488 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCTerminateConcurrentThread not found, cannot apply R_X86_64_64 @0x7fff050654d8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCTerminateConcurrentThread not found, cannot apply R_X86_64_64 @0x7fff050654e8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCTerminateConcurrentThread_V1 not found, cannot apply R_X86_64_64 @0x7fff05065538 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCTerminateConcurrentThread_V1 not found, cannot apply R_X86_64_64 @0x7fff05065548 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntime___GCFinalizersEnd not found, cannot apply R_X86_64_64 @0x7fff05065598 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntime___GCFinalizersEnd not found, cannot apply R_X86_64_64 @0x7fff050655a8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
[...]
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerMonitorContention not found, cannot apply R_X86_64_64 @0x7fff050af468 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerMonitorFailed not found, cannot apply R_X86_64_64 @0x7fff050af4b8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerMonitorFailed not found, cannot apply R_X86_64_64 @0x7fff050af4c8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerMonitorAcquired not found, cannot apply R_X86_64_64 @0x7fff050af518 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerMonitorAcquired not found, cannot apply R_X86_64_64 @0x7fff050af528 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerThreadStarted not found, cannot apply R_X86_64_64 @0x7fff050af578 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerThreadStarted not found, cannot apply R_X86_64_64 @0x7fff050af588 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerThreadStopping not found, cannot apply R_X86_64_64 @0x7fff050af5d8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerThreadStopping not found, cannot apply R_X86_64_64 @0x7fff050af5e8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerThreadStopped not found, cannot apply R_X86_64_64 @0x7fff050af638 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerThreadStopped not found, cannot apply R_X86_64_64 @0x7fff050af648 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerThreadExited not found, cannot apply R_X86_64_64 @0x7fff050af698 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerThreadExited not found, cannot apply R_X86_64_64 @0x7fff050af6a8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerThreadName not found, cannot apply R_X86_64_64 @0x7fff050af6f8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerThreadName not found, cannot apply R_X86_64_64 @0x7fff050af708 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerJitDoneVerbose not found, cannot apply R_X86_64_64 @0x7fff050af758 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerJitDoneVerbose not found, cannot apply R_X86_64_64 @0x7fff050af768 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _loglevel___DotNETRuntimeMonoProfiler___MonoProfilerGCHeapDumpVTableClassReference not found, cannot apply R_X86_64_64 @0x7fff050af7b8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Symbol _model_emf_uri___DotNETRuntimeMonoProfiler___MonoProfilerGCHeapDumpVTableClassReference not found, cannot apply R_X86_64_64 @0x7fff050af7c8 ((nil)) in /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff050b5f80 (0x2f046)
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 @0x7fff0a333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0a3337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0a3337e8 (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"/0xffffa897cb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffa897cb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffa897cb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffa897cb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffa897cb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffa897cb30, 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"/0xffffa897cb30, 1)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffa897cb30, 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 (1026936) & pass3 (324)!
Dump of 29 x64 opcodes:
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
0x7fff04228940:	0 -> 0
Table64 	32 -> 32
 ------------
1528735|Double SIGSEGV (code=1, pc=0xe34f99000, addr=0xe34f99000, prot=00)!
Error (-1) in dlclose
NativeBT: ./Stardew Valley() [0x34a12718]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa8c767c0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x80a10) [0xffffa8ad0a10]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(gsignal+0x1c) [0xffffa8a8a76c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xf0) [0xffffa8a774bc]
NativeBT: [0xffffa7424740]
EmulatedBT: box64(fprintf+0) [0x50f40]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclrtraceptprovider.so+2f2c4 [0x7fff0502f2c4]
EmulatedBT: box64(ExitEmulation+0) [0x10080]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+4ddbac [0x7fff044ddbac]
EmulatedBT: /home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so+518747 [0x7fff04518747]
EmulatedBT: ??? [0x4f57de80]
1528735|SIGABRT @0xffffa8ad0a10 (???(/lib/aarch64-linux-gnu/libc.so.6+0x80a10)) (x64pc=0x50f53/???:"???", rsp=0xffff6a29fbf8, stack=0xffff69aa0000:0xffff6a2a0000 own=0xffff69aa0000 fp=0xffff6a29fc00), for accessing 0x3e800175371 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7fff044dcff0
RSP-0x20:0x0000ffffa8c6f020 RSP-0x18:0x0000ffff6a29fc10 RSP-0x10:0x000000004f57f3a0 RSP-0x08:0x0000000000000000
RSP+0x00:0x00007fff0502f2c4 RSP+0x08:0x0000ffff6a29fc10 RSP+0x10:0x0000000000010080 RSP+0x18:0x0000ffff6a29fc30
RAX:0x0000000000000016 RCX:0x0000ffffa8bf16e0 RDX:0x00000000ffffffff RBX:0x0000ffffa8c6f020 
RSP:0x0000ffff6a29fbf8 RBP:0x0000ffff6a29fc00 RSI:0x00007fff0505301d RDI:0x0000ffffa8bf1520 
 R8:0x00007fff06057038  R9:0x0000000000453a65 R10:0x0000000000003a00 R11:0x0000000000000000 
R12:0x000000004f57f3a0 R13:0x0000000000000000 R14:0x000000004f69ad40 R15:0x000000004f57ff00 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
./StardewValley: line 27: 1528689 Aborted                 ./"Stardew Valley" $@
@josch
Copy link
Contributor Author

josch commented Apr 1, 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" $@

@ptitSeb
Copy link
Owner

ptitSeb commented Apr 2, 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.

@josch
Copy link
Contributor Author

josch commented Apr 2, 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?

@ptitSeb
Copy link
Owner

ptitSeb commented Apr 2, 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.

@josch
Copy link
Contributor Author

josch commented Apr 2, 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" $@

ptitSeb added a commit that referenced this issue Apr 2, 2024
…on-4K pagesize) (should help #1398 #1271 maybe help #939 and probably others)
@ptitSeb
Copy link
Owner

ptitSeb commented Apr 2, 2024

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

@josch
Copy link
Contributor Author

josch commented Apr 2, 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.

@ptitSeb
Copy link
Owner

ptitSeb commented Apr 2, 2024

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

@josch
Copy link
Contributor Author

josch commented Apr 2, 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. ❤️

@josch
Copy link
Contributor Author

josch commented Apr 2, 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" $@

@ptitSeb
Copy link
Owner

ptitSeb commented Apr 2, 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.

@josch
Copy link
Contributor Author

josch commented Apr 3, 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

@ptitSeb
Copy link
Owner

ptitSeb commented Apr 3, 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.

@josch
Copy link
Contributor Author

josch commented Apr 3, 2024

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

@josch
Copy link
Contributor Author

josch commented Apr 4, 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

@josch
Copy link
Contributor Author

josch commented Apr 4, 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

@josch
Copy link
Contributor Author

josch commented Apr 6, 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" $@

@josch
Copy link
Contributor Author

josch commented Apr 12, 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

@ptitSeb
Copy link
Owner

ptitSeb commented Apr 12, 2024

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.

@ptitSeb
Copy link
Owner

ptitSeb commented Apr 13, 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?

@josch
Copy link
Contributor Author

josch commented Apr 13, 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!

@josch
Copy link
Contributor Author

josch commented Apr 15, 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!

@josch
Copy link
Contributor Author

josch commented Apr 29, 2024

I am back with more data. I recently did another git pull on my box64 repo and observed that suddenly, I can play SDV just fine! Today I did another git pull and got tons of crashes again. To figure out what is going on, I bisected box64 git and then started SDV 10 or 20 times and counted how often it successfully managed to get into the main menu. This made me figure out some commits that fixed things and that broke things again. I compiled box64 like this:

mkdir build && env --chdir=build cmake .. -DARM_DYNAREC=1 && time make -C build -j4

And I'm running SDV like this:

env --chdir=/home/josch/Downloads/stardew168/data/noarch/game BOX64_LD_LIBRARY_PATH=/home/josch/git/box64/x64lib BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 ./StardewValley

My tests are with SDV 1.6.8. my results per commit are shown here:

e32a78a94437fbbda746bdc2beb2ae80e215f116 f w f f w f f w w w -> 45% success
                                         w f f w w f f f f w

f64eca5d9bf5b87c34c9bb2ded8b0a0ab424a9db f w f f w f f f w f -> 30% success

a8866c3f416a68e829d92ece0279a747270afa09 w w w w w f w f w f -> 70% success

067cf75c658c632b7c476036e6b21d985cbe67a2 w w w w w f f w f w -> 75% success
                                         w w w w w f f w w w

856d2653bce9d70c6b45016e12ab150ac45eb2b4 f w f w w w f w w w -> 70% success

0c50f724e6a318b2845df8c2a2c22d13e2c184e9 w w w f w w w f w w -> 80% success

2b8a8314c5879473875b339172b2ef2b7b9b7ff6 f w w w w w w f w w -> 80% success

b7a07c381613c5f3f1847be4252b8b52dabcf4c4 w w w f w f w w w w -> 80% success

3cb61ff8404a582f338692a786c1ffda3952e0f6 w f f f f f w w f f -> 30% success

ef0c9bd429f962b7b5cd0f496aacf4f286f4b120 w w f f w f f w w w -> 45% success
                                         f f f f w f f w w f

The letter f stands for "failure". The letter w for "working". As you can see, commit e32a78a which I was using when I made my initial post at the very top of this issue only managed to start up successfully less than half the time. I then successfully played SDV for several hours with commit 067cf75 (75% successful to menu). The commits above are sorted by their commit-order. One can see that one commit that fixes things is this one: a8866c3 and later one commit that breaks things again is this one: 3cb61ff

Is this at all plausible?

@teohhanhui
Copy link

So according to your tests, b7a07c3 is the best bet for now.

@josch
Copy link
Contributor Author

josch commented Apr 29, 2024

So according to your tests, b7a07c3 is the best bet for now.

How do you read that from my last message?

@teohhanhui
Copy link

teohhanhui commented Apr 29, 2024

@josch The latest commit that you tested with 80% success, before 3cb61ff broke things again.

@josch
Copy link
Contributor Author

josch commented Apr 29, 2024

@josch The latest commit that you tested with 80% success, before 3cb61ff broke things again.

If for you, latest is better, then sure. But remember the following points:

  1. the behaviour is random, so the 80% of b7a07c3 may be much lower than that but to find out a value closer to the truth you'd have to run the test much more often than just 10 times -- you'd rather have to test 100 times or more for a more precise value.
  2. i'm only testing crashes that happen while loading the main menu. These crashes may or may not be an indicator for the crashes that happen in-game. The crashes during the loading of the game may as well be completely unrelated to the crashes that sometimes happen in-game.

To highlight the first point let me share with you some runs of 10 game starts for the same commit:

f w w f w f w f f w -> 50% success
w w w w w w w f f w -> 80% success

It's like rolling a die, so if my numbers above say 80%, the real value may as well be 50% or 10%. So I really would not be too quick with drawing conclusions...

@josch
Copy link
Contributor Author

josch commented Apr 29, 2024

Before I go to bed, here is an updated table with more test runs from today:

e32a78a94437fbbda746bdc2beb2ae80e215f116 f w f f w f f w w w -> 45% success
                                         w f f w w f f f f w

f64eca5d9bf5b87c34c9bb2ded8b0a0ab424a9db f w f f w f f f w f -> 30% success

a8866c3f416a68e829d92ece0279a747270afa09 w w w w w f w f w f -> 70% success

067cf75c658c632b7c476036e6b21d985cbe67a2 w w w w w f f w f w -> 75% success
                                         w w w w w f f w w w

856d2653bce9d70c6b45016e12ab150ac45eb2b4 f w f w w w f w w w -> 70% success

0c50f724e6a318b2845df8c2a2c22d13e2c184e9 w w w f w w w f w w -> 80% success

2b8a8314c5879473875b339172b2ef2b7b9b7ff6 f w w w w w w f w w -> 80% success

b7a07c381613c5f3f1847be4252b8b52dabcf4c4 w w w f w f w w w w -> 80% success

3cb61ff8404a582f338692a786c1ffda3952e0f6 w f f f f f w w f f -> 65% success
                                         w w w w w w w w w w

61a759f802e74b9f97015d93dcaee408a532a02e w w w w f f w w w f -> 70% success

e70a9ba4856b4faeb9a307892be69eac5709b11f w w w w f w w w w f -> 90% success
                                         w w w w w w w w w w

f619df277391243458bd3596bfe6424023d304cc f w w w f w w f w w -> 70% success

ef0c9bd429f962b7b5cd0f496aacf4f286f4b120 w w f f w f f w w w -> 50% success
                                         f f f f w f f w w f
                                         w f w w w w f f w w
                                         f f w w f f w f f w

f256c48505690dfa39405156f626ca8762d8f1d5 f w w f w f w f f w -> 67% success
                                         w w w f f w w w w f
                                         w w w w w w w f f w

5fc4477a94ebf8b15ace909c98bde32ff6d1deea w f w f f w w w f w -> 65% success
                                         w w w f w w f w f w

@teohhanhui seems commit e70a9ba is your new best bet. 😉

@teohhanhui
Copy link

Hahahaha... That's a commit that only added comments 😂

@josch
Copy link
Contributor Author

josch commented Apr 30, 2024

I was playing SDV 1.6.8 with the most recent commit 4f22962 today. It crashed about every half hour always with what looked pretty much like this:

$ env --chdir=/home/josch/Downloads/stardew168/data/noarch/game BOX64_LD_LIBRARY_PATH=/home/josch/git/box64/x64lib 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 3.0 GHz
Params database has 38 entries
Box64 with Dynarec v0.2.7 4f229629 built on Apr 30 2024 20:53:14
BOX64: Detected 48bits at least of address space
Counted 43 Env var
BOX64 LIB PATH: /home/josch/git/box64/x64lib/:/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 /home/josch/git/box64/x64lib/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /home/josch/git/box64/x64lib/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/stardew168/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew168/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew168/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/stardew168/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/stardew168/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/stardew168/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/stardew168/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffff914acb30, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffff914acb30, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffff914acb30, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffff914acb30, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffff914acb30, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffff914acb30, 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"/0xffff914acb30, 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"/0xffff914acb30, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew168/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"/0xffff914abe30, 1)
Using emulated /home/josch/Downloads/stardew168/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew168/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/stardew168/data/noarch/game/liblwjgl_lz4.so
NativeBT: ./Stardew Valley() [0x34a14b18]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff917ab7c0]
NativeBT: [0xfffecd943638]
EmulatedBT: ??? [0x7ffe8a8c9970]
EmulatedBT: ??? [0x7ffe8a8c92fa]
EmulatedBT: ??? [0xe789485052544155]
1331480|SIGSEGV @0xfffecd943638 (???(0xfffecd943638)) (x64pc=0x7ffe8a8c9970/???:"???", rsp=0xffff914ad970, stack=0xffff90cb0000:0xffff914b0000 own=(nil) fp=0xffff914ad9b0), for accessing 0x41595a5e5f5b49 (code=1/prot=0), db=0xfffecc328350(0xfffecd9435a8:0xfffecd9436b0/0x7ffe8a8c9940:0x7ffe8a8c9979/???:clean, hash:24bc8c21/24bc8c21) handler=0x7fff044dd240
RAX:0x00007ffe8d9c7ee8 RCX:0x000000000000000f RDX:0x000000000000000f RBX:0x5841595a5e5f5b41 
RSP:0x0000ffff914ad970 RBP:0x0000ffff914ad9b0 RSI:0x5841595a5e5f5b41 RDI:0x0000000000000001 
 R8:0x0000000000000000  R9:0x0000ffff58c286b0 R10:0x000000000000004f R11:0x00007ffe8d9d0110 
R12:0x000000000000000e R13:0x000000000000000f R14:0x00007ffe8d9c7ee8 R15:0x0000000000000000 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x00007ffe8d9c7ee8 RSP-0x18:0x0000ffff5f3eca20 RSP-0x10:0x0000000000000000 RSP-0x08:0x00007ffe00000021
RSP+0x00:0x0000ffff591dfd50 RSP+0x08:0x0000000000000010 RSP+0x10:0x00007ffe8d9c7ee8 RSP+0x18:0x00007ffe8d9c7ee8
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Collections.Generic.GenericArraySortHelper`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InsertionSort(System.Span`1<System.__Canon>)
   at System.Collections.Generic.GenericArraySortHelper`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].IntroSort(System.Span`1<System.__Canon>, Int32)
   at System.Collections.Generic.GenericArraySortHelper`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].IntroSort(System.Span`1<System.__Canon>, Int32)
   at System.Collections.Generic.GenericArraySortHelper`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Sort(System.Span`1<System.__Canon>, System.Collections.Generic.IComparer`1<System.__Canon>)
   at System.Array.Sort[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon[], Int32, Int32, System.Collections.Generic.IComparer`1<System.__Canon>)
   at Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawBatch(Microsoft.Xna.Framework.Graphics.SpriteSortMode, Microsoft.Xna.Framework.Graphics.Effect)
   at StardewValley.Game1.DrawWorld(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.RenderTarget2D)
   at StardewValley.Game1._draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.RenderTarget2D)
   at StardewValley.Game1.Draw(Microsoft.Xna.Framework.GameTime)
   at StardewValley.GameRunner.Draw(Microsoft.Xna.Framework.GameTime)
   at Microsoft.Xna.Framework.Game.DoDraw(Microsoft.Xna.Framework.GameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(Microsoft.Xna.Framework.GameRunBehavior)
   at StardewValley.Program.Main(System.String[])
NativeBT: ./Stardew Valley() [0x34a14b18]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff917ab7c0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x80a10) [0xffff91600a10]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(gsignal+0x1c) [0xffff915ba76c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xf0) [0xffff915a74bc]
NativeBT: ./Stardew Valley() [0x34f788c8]
NativeBT: ./Stardew Valley() [0x349fd4a8]
NativeBT: ./Stardew Valley() [0x34a13208]
NativeBT: ./Stardew Valley() [0x34a13c00]
NativeBT: ./Stardew Valley() [0x34a147a0]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff917ab7c0]
NativeBT: [0xfffecd943638]
EmulatedBT: box64(abort+0) [0x50080]
EmulatedBT: /home/josch/Downloads/stardew168/data/noarch/game/libcoreclr.so+5129fb [0x7fff045129fb]
EmulatedBT: /home/josch/Downloads/stardew168/data/noarch/game/libcoreclr.so+512930 [0x7fff04512930]
EmulatedBT: ??? [0xffffff01]
1331480|SIGABRT @0xffff91600a10 (???(/lib/aarch64-linux-gnu/libc.so.6+0x80a10)) (x64pc=0x50093/???:"???", rsp=0xffff914ab778, stack=0xffff90cb0000:0xffff914b0000 own=(nil) fp=0xffff914ab790), for accessing 0x3e800145118 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x00007fff042d5279 RSP-0x18:0x00000000c0000005 RSP-0x10:0x0000000000000001 RSP-0x08:0x0000ffff914ab790
RSP+0x00:0x00007fff045129fb RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000001 RSP+0x18:0x0000ffff914ab7c0
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000006 
RSP:0x0000ffff914ab778 RBP:0x0000ffff914ab790 RSI:0x00007fff047242b0 RDI:0x0000000000000006 
 R8:0x0000000062887570  R9:0x0000000000000000 R10:0x0000ffff914ab166 R11:0x0000ffff914ab16a 
R12:0x00000000639d5d40 R13:0x00007fff042d5279 R14:0x00000000c0000005 R15:0x0000000000000001 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
./StardewValley: line 27: 1331480 Aborted                 ./"Stardew Valley" $@

@josch
Copy link
Contributor Author

josch commented Jul 13, 2024

Crashing behaviour still persists with the recent release of box64 v0.3.0. The frequency with which it happens continues to be erratic. Sometimes I can play an hour with no problem. Sometimes it refuses to start three times. Here is one of the crash logs that happened while playing:

env --chdir=/home/josch/Downloads/stardew168/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 3.0 GHz
Params database has 80 entries
Box64 with Dynarec v0.3.0 nogit built on Jul  9 2024 21:50:17
BOX64: Detected 48bits at least of address space
Counted 41 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/stardew168/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew168/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew168/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/stardew168/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/stardew168/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/stardew168/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/stardew168/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffa05bcb60, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffa05bcb60, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffa05bcb60, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffa05bcb60, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffa05bcb60, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffa05bcb60, 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"/0xffffa05bcb60, 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"/0xffffa05bcb60, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew168/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"/0xffffa05bbe60, 1)
Using emulated /home/josch/Downloads/stardew168/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew168/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/stardew168/data/noarch/game/liblwjgl_lz4.so
NativeBT: ./Stardew Valley() [0x34a65924]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa08b57c0]
NativeBT: [0xfffeef6fa830]
EmulatedBT: ??? [0x7ffe8a84ddef]
EmulatedBT: ??? [0x7ffe8d0f57d5]
EmulatedBT: ??? [0x7ffe8d858508]
EmulatedBT: ??? [0xe789485052544155]
594073|SIGSEGV @0xfffeef6fa830 (???(0xfffeef6fa830)) (x64pc=0x7ffe8a84ddef/???:"???", rsp=0xffffa05bd590, stack=0xffff9fdc0000:0xffffa05c0000 own=(nil) fp=0xffffa05bd5d0), for accessing 0x50c3067f0ff34b (code=1/prot=0), db=0xfffeec9f0990(0xfffeef6fa818:0xfffeef6faab8/0x7ffe8a84dde0:0x7ffe8a84de6b/???:clean, hash:97f928ad/97f928ad) handler=0x7fff044dd240
RAX:0x0000000024648d48 RCX:0x0000000000000000 RDX:0x0000000000000004 RBX:0x00007fff04383bbd 
RSP:0x0000ffffa05bd590 RBP:0x0000ffffa05bd5a0 RSI:0x5250c3067f0ff307 RDI:0x00007fff04383bdd 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000008700000000 R11:0x0000ffffa05bae50 
R12:0x0000000000000001 R13:0x0000000000000000 R14:0x00007fff04383bdd R15:0x0000ffff6f2001f0 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000000000 RSP-0x10:0x0000ffffa05bd650 RSP-0x08:0x0000000000000001
RSP+0x00:0x00007fff04383bbd RSP+0x08:0x00007fff04383bdd RSP+0x10:0x0000ffffa05bd5d0 RSP+0x18:0x00007ffe8d0f57d5
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Collections.Generic.Dictionary`2+Enumerator[[System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at StardewValley.Network.FarmerCollection+Enumerator.MoveNext()
   at StardewValley.Network.FarmerCollection.Contains(StardewValley.Farmer)
   at StardewValley.Network.NetMutexQueue`1[[System.Guid, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Update(StardewValley.GameLocation)
   at StardewValley.GameLocation.UpdateWhenCurrentLocation(Microsoft.Xna.Framework.GameTime)
   at StardewValley.Farm.UpdateWhenCurrentLocation(Microsoft.Xna.Framework.GameTime)
   at StardewValley.Game1.UpdateLocations(Microsoft.Xna.Framework.GameTime)
   at StardewValley.Game1._update(Microsoft.Xna.Framework.GameTime)
   at StardewValley.Game1.Update(Microsoft.Xna.Framework.GameTime)
   at StardewValley.GameRunner.Update(Microsoft.Xna.Framework.GameTime)
   at Microsoft.Xna.Framework.Game.DoUpdate(Microsoft.Xna.Framework.GameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(Microsoft.Xna.Framework.GameRunBehavior)
   at StardewValley.Program.Main(System.String[])
NativeBT: ./Stardew Valley() [0x34a65924]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa08b57c0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x80a10) [0xffffa0710a10]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(gsignal+0x1c) [0xffffa06ca76c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xf0) [0xffffa06b74bc]
NativeBT: ./Stardew Valley() [0x349efe68]
NativeBT: ./Stardew Valley() [0x34a4bd0c]
NativeBT: ./Stardew Valley() [0x34a63f28]
NativeBT: ./Stardew Valley() [0x34a649b8]
NativeBT: ./Stardew Valley() [0x34a655c8]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa08b57c0]
NativeBT: [0xfffeef6fa830]
EmulatedBT: box64(abort+0) [0x50080]
EmulatedBT: /home/josch/Downloads/stardew168/data/noarch/game/libcoreclr.so+5129fb [0x7fff045129fb]
EmulatedBT: /home/josch/Downloads/stardew168/data/noarch/game/libcoreclr.so+512930 [0x7fff04512930]
EmulatedBT: ??? [0xffffff01]
594073|SIGABRT @0xffffa0710a10 (???(/lib/aarch64-linux-gnu/libc.so.6+0x80a10)) (x64pc=0x50093/???:"???", rsp=0xffffa05bb398, stack=0xffff9fdc0000:0xffffa05c0000 own=(nil) fp=0xffffa05bb3b0), for accessing 0x3e800091099 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x00007fff042d5279 RSP-0x18:0x00000000c0000005 RSP-0x10:0x0000000000000001 RSP-0x08:0x0000ffffa05bb3b0
RSP+0x00:0x00007fff045129fb RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000001 RSP+0x18:0x0000ffffa05bb3e0
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000006 
RSP:0x0000ffffa05bb398 RBP:0x0000ffffa05bb3b0 RSI:0x00007fff047242b0 RDI:0x0000000000000006 
 R8:0x0000000074b60510  R9:0x0000000000000000 R10:0x0000ffffa05bad86 R11:0x0000ffffa05bad8a 
R12:0x0000000080b7f080 R13:0x00007fff042d5279 R14:0x00000000c0000005 R15:0x0000000000000001 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
./StardewValley: line 27: 594073 Aborted                 ./"Stardew Valley" $@

@ptitSeb
Copy link
Owner

ptitSeb commented Jul 14, 2024

I have fixed some memory tracking issue yesterday on box64, can you try with current version to see if it's still hapeening?

@josch
Copy link
Contributor Author

josch commented Jul 14, 2024

Thank you, absolutely! Should I receive further crashes, they will be with Box64 with Dynarec v0.3.1 7a4a4429 built on Jul 14 2024 08:35:02. Thank you! ❤️

Javier97sm pushed a commit to Javier97sm/box64 that referenced this issue Aug 16, 2024
@josch
Copy link
Contributor Author

josch commented Aug 28, 2024

Random segfault while playing the game with commit 7a4a442

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 3.0 GHz
Params database has 80 entries
Box64 with Dynarec v0.3.1 7a4a4429 built on Jul 14 2024 08:35:02
BOX64: Detected 48bits at least of address space
Counted 41 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/stardew168/data/noarch/game/libhostfxr.so
Using emulated /home/josch/Downloads/stardew168/data/noarch/game/libhostpolicy.so
Using emulated /home/josch/Downloads/stardew168/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/stardew168/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/stardew168/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/stardew168/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/stardew168/data/noarch/game/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffff853fcb60, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffff853fcb60, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffff853fcb60, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffff853fcb60, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffff853fcb60, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffff853fcb60, 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"/0xffff853fcb60, 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"/0xffff853fcb60, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /home/josch/Downloads/stardew168/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"/0xffff853fbe60, 1)
Using emulated /home/josch/Downloads/stardew168/data/noarch/game/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so
Using emulated /home/josch/Downloads/stardew168/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/stardew168/data/noarch/game/liblwjgl_lz4.so
NativeBT: ./Stardew Valley() [0x34a20718]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff857577b0]
NativeBT: [0xffff583debec]
EmulatedBT: /home/josch/Downloads/stardew168/data/noarch/game/libcoreclr.so+206138 [0x7fff04206138]
EmulatedBT: ??? [0xfffeecbfdef0]
EmulatedBT: ??? [(nil)]
133293|SIGSEGV @0xffff583debec (???(0xffff583debec)) (x64pc=0x7fff04206138/"/home/josch/Downloads/stardew168/data/noarch/game/libcoreclr.so + 0x206138", rsp=0xfffeecbfdd70, stack=0xfffeec400000:0xfffeecc00000 own=0xfffeec400000 fp=0xfffeecbfdef0), for accessing 0x70000002a (code=1/prot=0), db=0xffff6d70f828(0xffff583debb8:0xffff583ded58/0x7fff04206133:0x7fff0420617e//home/josch/Downloads/stardew168/data/noarch/game/libcoreclr.so + 0x206133:clean, hash:b1dc6eb5/b1dc6eb5) handler=0x7fff044dd240
RAX:0x0000000700000012 RCX:0x0000000000000000 RDX:0x0000000000000001 RBX:0x0000fffeecbfdf10 
RSP:0x0000fffeecbfdd70 RBP:0x0000fffeecbfdeb0 RSI:0x0000fffeecbfe148 RDI:0x0000000052729440 
 R8:0x00000000000000b3  R9:0x00007ffe8a555830 R10:0x00000000000000c0 R11:0x0000000000000032 
R12:0x0000000000000003 R13:0x0000000000000001 R14:0x0000fffeecbff3c8 R15:0x00007ffe8bd4e5b8 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000fffeecbff3c8 RSP-0x18:0x00007ffe8bd4e5b8 RSP-0x10:0x0000fffeecbfdeb0 RSP-0x08:0x00007fff04206133
RSP+0x00:0x0000fffeffffffff RSP+0x08:0x000000005271e600 RSP+0x10:0x0000fffeecbfddd8 RSP+0x18:0x0100fffeecbfe2c0
133293|Double SIGSEGV (code=1, pc=0xffff583debec, addr=0x70000002a, prot=00)!
Sigfault/Segbus while quitting, exiting silently

@FoxbitDreamtail
Copy link

...there is a native build for a reason..... The native build works just fine in full speed in most cases.

@teohhanhui
Copy link

@FoxbitDreamtail There's no native Linux arm64 build of Stardew Valley, is there?

@FoxbitDreamtail
Copy link

FoxbitDreamtail commented Oct 15, 2024

@FoxbitDreamtail There's no native Linux arm64 build of Stardew Valley, is there?

While there is no native arm 64 build(outside of Mobile), there is a native X64 Linux build of Stardew Valley, which is exactly what you should be running with Box 64. You should not be running Stardew Valley through Proton or Wine.

@teohhanhui
Copy link

@FoxbitDreamtail I think you've misunderstood. This whole thread is about the Linux x64 build. There are other threads about running the Windows version.

@josch
Copy link
Contributor Author

josch commented Oct 15, 2024

This whole thread is about the Linux x64 build. There are other threads about running the Windows version.

That is correct. I literally wrote the distinction as the first sentence in my issue report. :)

You should not be running Stardew Valley through Proton or Wine.

That is again literally what I wrote as the first sentence in #1395

@FoxbitDreamtail
Copy link

FoxbitDreamtail commented Oct 15, 2024

That is again literally what I wrote as the first sentence in #1395

I don't know what your issue is, but running the latest build from Steam on my Raspberry Pi 5 running MX Linux 23.4 the game runs without issues with Linux native, And this was before I overclocked my Pi 5.

Then again, my results may be irrelevant because I got my copy of box64 from PiApps with Steam...

@FoxbitDreamtail
Copy link

Okay, slide update. I have run Stardew Valley since I made that last post, and yes, I did witness a kernel panic. So yes, the issue is still an issue. But, after a few relaunches of the game, it started running again. It's very intermittent. When the game is running, it runs fine. But if the game runs initially, and it Segfaults It's just in the crashing, rebooting your arm device fixes it. Temporarily, of course, However, I wouldn't recommend this be the solution.

@josch
Copy link
Contributor Author

josch commented Oct 16, 2024

I did witness a kernel panic

An actual kernel panic? That was probably not related to Stardew Valley under box64, right?

When the game is running, it runs fine

How many hours did you play? Sometimes I only get the crash after an hour of play time. Can you run the game with BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_STRONGMEM=1 and post the output once it crashes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants