Skip to content

Stardew Valley x64 Double SIGSEV #3026

@javierfurus

Description

@javierfurus

Hi!

I am having a rather rare, but common enough to cause a bit of a problem, issue in Stardew Valley (Linux x64) on an SD865 where it randomly crashes at the beginning of the game. If it doesn't happen at the beginning it never happens, even if the game runs for a long period of time, like an hour to two. Happens with the stock game and SMAPI as well.

Here is the log:

[BOX64] BOX64ENV: Warning, unsupported BOX64_DYNAREC_HOTPAGE=0 for [3dsen.x86_64] in /etc/box64.box64rc
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Kryo-4XX-Silver with 8 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
[BOX64] Using bash "/usr/bin/bash-x64"
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 90 Env var
[BOX64] BOX64 trying to Preload /usr/$LIB/mangohud/libMangoHud_shim.so 
[BOX64] Library search path: 
[BOX64] Binary search path: ./:bin/:/usr/bin/:/usr/sbin/
[BOX64] Looking for ./StardewModdingAPI
[BOX64] BOX64ENV: Variables overridden:
	BOX64_BASH=/usr/bin/bash-x64
	BOX64_DYNAREC_CALLRET=1
	BOX64_DYNAREC_FORWARD=1024
	BOX64_LD_LIBRARY_PATH=/usr/share/box64/lib
	BOX64_LOG=1
	BOX64_PREFER_EMULATED=1
[BOX64] Rename process to "StardewModdingAPI"
[BOX64] Warning, cannot pre-load /usr/$LIB/mangohud/libMangoHud_shim.so
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using emulated /usr/share/box64/lib/libstdc++.so.6
[BOX64] Using native(wrapped) libm.so.6
[BOX64] Using emulated /usr/share/box64/lib/libgcc_s.so.1
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libhostfxr.so
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libhostpolicy.so
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libcoreclr.so
[BOX64] Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x751d6)
[BOX64] Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75306)
[BOX64] Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75316)
[BOX64] Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x75356)
[BOX64] Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x75366)
[BOX64] Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75416)
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libcoreclrtraceptprovider.so
[BOX64] Error loading needed lib liblttng-ust.so.0
[BOX64] Error loading one of needed lib
[BOX64] Error initializing needed lib /storage/roms/ports/StardewValleyLinux/libcoreclrtraceptprovider.so
[BOX64] Error loading needed lib liblttng-ust-tracepoint.so.0
[BOX64] Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c5db0, 102)
[BOX64] Error loading needed lib liblttng-ust-tracepoint.so.0
[BOX64] Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c5db0, 102)
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libclrjit.so
[BOX64] Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
[BOX64] Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
[BOX64] Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libSystem.Native.so
[BOX64] Error loading needed lib libicuuc.so.80
[BOX64] Warning: Cannot dlopen("libicuuc.so.80"/0xffff9f3fcb10, 1)
[BOX64] Error loading needed lib libicuuc.so.79
[BOX64] Warning: Cannot dlopen("libicuuc.so.79"/0xffff9f3fcb10, 1)
[BOX64] Error loading needed lib libicuuc.so.78
[BOX64] Warning: Cannot dlopen("libicuuc.so.78"/0xffff9f3fcb10, 1)
[BOX64] Error loading needed lib libicuuc.so.77
[BOX64] Warning: Cannot dlopen("libicuuc.so.77"/0xffff9f3fcb10, 1)
[BOX64] Error loading needed lib libicuuc.so.76
[BOX64] Warning: Cannot dlopen("libicuuc.so.76"/0xffff9f3fcb10, 1)
[�[31mBOX64�[0m] Error initializing native libicuuc.so.75 (last dlerror is libicuuc.so.75: cannot open shared object file: No such file or directory)
[BOX64] Error loading needed lib libicuuc.so.75
[BOX64] Warning: Cannot dlopen("libicuuc.so.75"/0xffff9f3fcb10, 1)
[BOX64] Using native(wrapped) libicuuc.so.74
[BOX64] Using native(wrapped) libicui18n.so.74
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libSystem.Security.Cryptography.Native.OpenSsl.so
[BOX64] Using native(wrapped) libssl.so.3
[BOX64] Using native(wrapped) libcrypto.so.3
[BOX64] Look for SSL_state in loaded elfs
[BOX64] Warning, function SSL_state not found in lib libssl.so.3
[BOX64] Look for SSL_state in loaded elfs
[BOX64] Warning, function SSL_state not found in lib libssl.so.3
[BOX64] Look for SSL_state in loaded elfs
[BOX64] Warning, function SSL_state not found in lib libssl.so.3
[BOX64] Look for SSL_state in loaded elfs
[BOX64] Warning, function SSL_state not found in lib libssl.so.3
[BOX64] Look for ERR_put_error in loaded elfs
[BOX64] Warning, function ERR_put_error not found in lib libcrypto.so.3
[BOX64] Look for ERR_put_error in loaded elfs
[BOX64] Warning, function ERR_put_error not found in lib libcrypto.so.3
[BOX64] Look for ERR_put_error in loaded elfs
[BOX64] Warning, function ERR_put_error not found in lib libcrypto.so.3
[BOX64] Look for ERR_put_error in loaded elfs
[BOX64] Warning, function ERR_put_error not found in lib libcrypto.so.3
[SMAPI] SMAPI 4.3.2 with Stardew Valley 1.6.15 build 24356 on Unix 6.16.6.0
[SMAPI] Mods go here: ~/roms/ports/StardewValleyLinux/Mods
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libSDL2-2.0.so.0
[BOX64] Using native(wrapped) libdbus-1.so.3
[BOX64] Using native(wrapped) libX11.so.6
[BOX64] Using native(wrapped) libxcb.so.1
[BOX64] Using native(wrapped) libXau.so.6
[BOX64] Using native(wrapped) libXdmcp.so.6
[BOX64] Using native(wrapped) libXext.so.6
[BOX64] Using native(wrapped) libXcursor.so.1
[BOX64] Using native(wrapped) libXfixes.so.3
[BOX64] Using native(wrapped) libXrender.so.1
[BOX64] Using native(wrapped) libXi.so.6
[BOX64] Using native(wrapped) libXrandr.so.2
[BOX64] Using native(wrapped) libXss.so.1
[�[31mBOX64�[0m] Error initializing native libudev.so.0 (last dlerror is libudev.so.0: cannot open shared object file: No such file or directory)
[BOX64] Error loading needed lib libudev.so.0
[BOX64] Warning: Cannot dlopen("libudev.so.0"/0x7fff091ea851, 2)
[BOX64] Using native(wrapped) libudev.so.1
[SMAPI] Waiting for game to launch...
[BOX64] Using native(wrapped) libGL.so.1
[�[31mBOX64�[0m] Warning, no wrapper for glMakeCurrent
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libopenal.so.1
[BOX64] Error loading needed lib libpipewire-0.3.so.0
[BOX64] Warning: Cannot dlopen("libpipewire-0.3.so.0"/0x7fff0a114c41, 2)
[BOX64] Using native(wrapped) libpulse.so.0
[SMAPI] Loading mod metadata...
[SMAPI] Loading mods...
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libSystem.IO.Compression.Native.so
[BOX64] Using native(wrapped) libz.so.1
[SMAPI] Loaded 7 mods:
[SMAPI]    Console Commands 4.3.2 by SMAPI | Adds SMAPI console commands that let you manipulate the game.
[SMAPI]    Content Patcher 2.8.0 by Pathoschild | Loads content packs which edit game data, images, and maps without changing the game files.
[SMAPI]    DynamicNightTime 1.3.16-beta by Sakorona | Sets the night time dynamically.
[SMAPI]    Generic Mod Config Menu 1.15.0 by spacechase0 | Adds an in-game UI to edit other mods' config options (for mods which support it).
[SMAPI]    Pets Enhanced Mod - An overhaul for pets 0.2.3 by Sunken_Lace | Makes pets more special by making them smarter.
[SMAPI]    Save Backup 4.3.2 by SMAPI | Automatically backs up all your saves once per day into its folder.
[SMAPI]    TimeSpeed 2.7.10 by cantorsdust and Pathoschild | Lets you control the flow of time in the game: speed it up, slow it down, or freeze it altogether.

[SMAPI] Loaded 1 content packs:
[SMAPI]    Pets Enhanced Mod - Asset Patching 0.2.3 by Sunken_Lace | for Content Patcher | Asset Patching for Pet's Enhanced Mod.

[SMAPI]    Patched game code
[SMAPI]    --------------------------------------------------
[SMAPI]       These mods directly change the game code. They're more likely to cause errors or bugs in-game; if
[SMAPI]       your game has issues, try removing these first. Otherwise you can ignore this warning.

[SMAPI]       - DynamicNightTime



[SMAPI] Launching mods...
[SMAPI] Mods loaded and ready!

[SMAPI] You can update 1 mod:
[SMAPI]    TimeSpeed 2.8.0: https://www.nexusmods.com/stardewvalley/mods/169 (you have 2.7.10)
[BOX64] Error loading needed lib steam_api.so
[BOX64] Warning: Cannot dlopen("steam_api.so"/0xffff9f3fd2b0, 1)
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libsteam_api.so
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
dlopen failed trying to load:
/storage/.steam/sdk64/steamclient.so
with error:
Cannot dlopen("/storage/.steam/sdk64/steamclient.so"/0xffff9f3fd050, 2)

[S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /storage/.steam/sdk64/steamclient.so
[game] Oops! Steam achievements won't work because Steam isn't loaded. You can launch the game through Steam to fix that.
[SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
[Pets Enhanced Mod - An overhaul for pets] Successfully hooked into Pathoschild.ContentPatcher.
[DynamicNightTime] Didn't find mod Lunar Disturbances; you can optionally install it for extra features!
[BOX64] Using emulated /storage/roms/ports/StardewValleyLinux/libSkiaSharp.so
[BOX64] Using native(wrapped) libfontconfig.so.1
[BOX64] Using native(wrapped) libexpat.so.1
[BOX64] Using native(wrapped) libfreetype.so.6
[TimeSpeed] Time is frozen globally.
[TimeSpeed] Time is resumed at "FarmHouse".
[BOX64] 8779|Double SIGSEGV (code=1, pc=0xffff726827a0, x64pc=0x7fff0420688c, addr=0x43de8000449cc028, prot=00)!
[�[31mBOX64�[0m] 7352|Warning, calling Signal 11 function handler SIG_DFL
[�[31mBOX64�[0m] Unhandled signal caught, aborting
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x34821adc]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x34860bd4]
[BOX64] NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff9f86f81c]
[BOX64] NativeBT: /usr/lib/libc.so.6(pthread_kill+0x10c) [0xffff9f6d2bfc]
[BOX64] NativeBT: /usr/lib/libc.so.6(gsignal+0x14) [0xffff9f687b54]
[BOX64] NativeBT: /usr/lib/libc.so.6(abort+0xc0) [0xffff9f671848]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64(my_start_context+0) [0x3485d708]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x3485fd0c]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x3486041c]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x34821d68]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x34822128]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x34ef6f20]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x34831584]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x34831878]
[BOX64] NativeBT: /storage/roms/ports/StardewValleyLinux/box64() [0x3486ac7c]
[BOX64] NativeBT: /usr/lib/libpulse.so.0(+0x1ed28) [0xffff45c4ed28]
[BOX64] NativeBT: /usr/lib/pulseaudio/libpulsecommon-17.0.so(pa_pdispatch_run+0x140) [0xffff45bedda0]
[BOX64] NativeBT: /usr/lib/libpulse.so.0(+0xecf0) [0xffff45c3ecf0]
[BOX64] NativeBT: /usr/lib/pulseaudio/libpulsecommon-17.0.so(+0x2fcc0) [0xffff45befcc0]
[BOX64] NativeBT: /usr/lib/pulseaudio/libpulsecommon-17.0.so(+0x31134) [0xffff45bf1134]
[BOX64] NativeBT: /usr/lib/libpulse.so.0(pa_mainloop_dispatch+0xbc) [0xffff45c4a984]
[BOX64] NativeBT: /usr/lib/libpulse.so.0(pa_mainloop_iterate+0x3c) [0xffff45c4abbc]
[BOX64] NativeBT: /usr/lib/libpulse.so.0(pa_mainloop_run+0x20) [0xffff45c4ac20]
[BOX64] NativeBT: /usr/lib/libpulse.so.0(+0x22314) [0xffff45c52314]
[BOX64] NativeBT: /usr/lib/pulseaudio/libpulsecommon-17.0.so(+0x38738) [0xffff45bf8738]
[BOX64] NativeBT: /usr/lib/libc.so.6(+0x81060) [0xffff9f6d1060]
[BOX64] NativeBT: /usr/lib/libc.so.6(+0xebd4c) [0xffff9f73bd4c]
/storage/roms/ports/StardewValley.sh: line 40:  7163 Segmentation fault      box64 "./StardewModdingAPI"

The lib errors always happen, but the game runs even with those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions