box64: regression: stardew valley

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" $@

About this issue

  • Original URL
  • State: open
  • Created 3 months ago
  • Comments: 30 (27 by maintainers)

Commits related to this issue

Most upvoted comments

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 e32a78a9 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 067cf75c658c632b7c476036e6b21d985cbe67a2 (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: a8866c3f416a68e829d92ece0279a747270afa09 and later one commit that breaks things again is this one: 3cb61ff8404a582f338692a786c1ffda3952e0f6

Is this at all plausible?

@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…

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 e70a9ba4856b4faeb9a307892be69eac5709b11f is your new best bet. 😉

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.