ptitSeb / box64

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

Barotrauma (Native) crashed back to console after shortly showing splash loading screen #843

Open ricoazzurro opened 1 year ago

ricoazzurro commented 1 year ago

Description

Barotrauma, v1.0.20.1, Linux x64, Steam, Engine: MonoGame

Box64 with Dynarec v0.2.3 7e282c9

Rock 5B, LFS, BSP kernel 5.10.160 rkr4.1, Gnome 44.2 PAN_MESA_DEBUG=gofaster,gl3 1080p, default game setting

NOT working.

Been trying to launch this game for a while, but still in vain :'( It crashed back to console after shortly showing its splash loading screen.

What I've tested, combination of the following env,

export PAN_MESA_DEBUG=gofaster,gl3
export LC_ALL=C
# export TERM=xterm
export LD_LIBRARY_PATH=/opt/box-libs/aarch64/:/opt/box-libs/x86_64/:./x64/
export BOX64_LD_PRELOAD=/opt/box-libs/x86_64/libz.so.1
export BOX64_DYNAREC_FASTROUND=0
export BOX64_DYNAREC_STRONGMEM=1
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

What maybe related, but I haven't tested yet.

box log:

rico [ /opt/games/barotrauma ]$ ./box64-start.sh 
Dynarec will try to emulate a strong memory model with limited performance loss
Dynarec will try tp generate x86 precise IEEE->int rounding
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 24 entries
Box64 with Dynarec v0.2.3 7e282c9 built on Jun 16 2023 10:18:30
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 62 Env var
BOX64 try to Preload /opt/box-libs/x86_64/libz.so.1 
Looking for ./Barotrauma
Rename process to "Barotrauma"
Using emulated /opt/box-libs/x86_64/libz.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
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 emulated /opt/games/barotrauma/libhostfxr.so
Using emulated /opt/games/barotrauma/libhostpolicy.so
Using emulated /opt/games/barotrauma/libcoreclr.so
Warning: Global Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0b0 ((nil)) in /opt/games/barotrauma/libcoreclr.so
Warning: Global Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0c8 ((nil)) in /opt/games/barotrauma/libcoreclr.so
Warning: Global Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0e0 ((nil)) in /opt/games/barotrauma/libcoreclr.so
Warning: Global Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0f8 ((nil)) in /opt/games/barotrauma/libcoreclr.so
Warning: Global Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a1f0 ((nil)) in /opt/games/barotrauma/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a760 (0x75386)
Using emulated /opt/games/barotrauma/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /opt/games/barotrauma/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x102924b64, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x102924b64, 102)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Using emulated /opt/box-libs/x86_64/libnuma.so.1
Using emulated /opt/games/barotrauma/libclrjit.so
Warning: Global Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_GLOB_DAT @0x105b026c8 ((nil)) in /opt/games/barotrauma/libclrjit.so
Warning: Global Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_GLOB_DAT @0x105b026b0 ((nil)) in /opt/games/barotrauma/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x105b02750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x105b027e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x105b027e8 (0x15da6)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Using emulated /opt/box-libs/x86_64/libnuma.so.1
Error loading needed lib linux_steam_env.so
Warning: Cannot dlopen("linux_steam_env.so"/0x10202da60, 1)
Using emulated /opt/games/barotrauma/liblinux_steam_env.so
Using emulated /opt/games/barotrauma/libSystem.Native.so
Using emulated /opt/games/barotrauma/libsteam_api64.so
Using emulated /opt/games/barotrauma/x64/libSDL2-2.0.so.0
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libGL.so.1
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0x10202cf50, 1)
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0x10202cf50, 1)
Using emulated /opt/games/barotrauma/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
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/rico/.local/share/Daedalic Entertainment GmbH/Barotrauma'.
   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
   at System.IO.Enumeration.FileSystemEnumerableFactory.UserEntries(String directory, String expression, EnumerationOptions options)
   at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at System.IO.Directory.GetFileSystemEntries(String path, String searchPattern, EnumerationOptions enumerationOptions)
   at System.IO.Directory.GetFileSystemEntries(String path)
   at Barotrauma.ToolBox.CorrectFilenameCase(String filename, Boolean& corrected, String directory) in C:\Git\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\Utils\ToolBox.cs:line 90
   at Barotrauma.ToolBox.CleanUpPathCrossPlatform(String path, Boolean correctFilenameCase, String directory) in C:\Git\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\Utils\ToolBox.cs:line 618
   at Barotrauma.IO.Validation.CanWrite(String path, Boolean isDirectory) in C:\Git\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\Utils\SafeIO.cs:line 52
   at Barotrauma.IO.SafeXML.SaveSafe(XDocument doc, String path, SaveOptions saveOptions, Boolean throwExceptions) in C:\Git\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\Utils\SafeIO.cs:line 103
   at Barotrauma.GameSettings.SaveCurrentConfig() in C:\Git\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\Settings\GameSettings.cs:line 643
   at Barotrauma.GameSettings.Init() in C:\Git\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\Settings\GameSettings.cs:line 530
   at Barotrauma.GameMain..ctor(String[] args) in C:\Git\Barotrauma\Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 234
   at Barotrauma.Program.Main(String[] args) in C:\Git\Barotrauma\Barotrauma\BarotraumaClient\ClientSource\Program.cs:line 57
NativeBT: ./Barotrauma() [0x349f17b8]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fb63a57cc]
NativeBT: /usr/lib/libc.so.6(+0x83bd0) [0x7fb6223bd0]
NativeBT: /usr/lib/libc.so.6(gsignal+0x1c) [0x7fb61dddec]
NativeBT: /usr/lib/libc.so.6(abort+0xf0) [0x7fb61ca7bc]
NativeBT: [0x5a29eeec]
EmulatedBT: ??? [0x110340]
EmulatedBT: /opt/games/barotrauma/libcoreclr.so+51235b [0x10287235b]
EmulatedBT: /opt/games/barotrauma/libcoreclr.so+512290 [0x102872290]
EmulatedBT: ??? [0xffffff01]
3792|SIGABRT @0x7fb6223bd0 (???(/usr/lib/libc.so.6+0x7fb6223bd0)) (x64pc=0x110353/???:"???", rsp=0x10202d3c8, stack=0x101830000:0x102030000 own=(nil) fp=0x10202d3e0), for accessing 0x3e800000ed0 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x000000010202da40 RSP-0x18:0x0000000000000001 RSP-0x10:0x000000010202e060 RSP-0x08:0x000000010202d3e0
RSP+0x00:0x000000010287235b RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000001 RSP+0x18:0x000000010202d410
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000006 
RSP:0x000000010202d3c8 RBP:0x000000010202d3e0 RSI:0x0000000102a832a0 RDI:0x0000000000000006 
 R8:0x000000010202cde0  R9:0x0000000000000000 R10:0x000000010938ec58 R11:0x0000000000000082 
R12:0x000000010202f510 R13:0x000000010202da40 R14:0x0000000000000001 R15:0x000000010202e060 
./box64-start.sh: line 14:  3792 Aborted                 (core dumped) box64 "./Barotrauma"

Tested on

Box64 with Dynarec v0.2.3 7e282c9

Rock 5B, LFS, BSP kernel 5.10.160 rkr4.1, Gnome 44.2 PAN_MESA_DEBUG=gofaster,gl3 1080p, default game setting

Status

Previous behavior:

NOT working. https://github.com/ptitSeb/box86-compatibility-list/issues/266

Current behavior:

NOT working.

Screenshots

OpenGL

OpenGL 3

Additional Information

https://store.steampowered.com/app/602960/Barotrauma/ https://pcgamingwiki.com/wiki/Barotrauma

ptitSeb commented 1 year ago

The error is this:

Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/rico/.local/share/Daedalic Entertainment GmbH/Barotrauma'.

Does this folder actually exist? If not, maybe try to create it as a workaround?

ricoazzurro commented 1 year ago

Thanks for the diagnose.

After fixing the folder env issue, by putting envs in its original start.sh, the game did go further, it shows the title screen completely as,

Barotrauma-1

Then wierd thing happens, when selecting language or sometimes even stays at title screen for a while, it crashed back to console with different error logs,

  1. the error log with Unimplemented Opcode (A0 00 00 00)

    Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
    Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0x1a2b5e530, 1)
    2482|0x102878af0: Unimplemented Opcode (A0 00 00 00) C4 E3 7D 18 87 00 03 00 00 01 C4 E3 75 18 8F
    ...
    2482|Ask to run at NULL, quit silently
    Warning, CS is not default value: 0x0

    full log, barotrauma-1-opcode.log

  2. the error log without opcode, stopped at webm_mem_playback_x64.so.so

    rico [ /opt/games/barotrauma ]$ ./start.sh 
    Dynarec will try to emulate a strong memory model with limited performance loss
    Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
    Params database has 24 entries
    Box64 with Dynarec v0.2.3 6eb72b7 built on Jun 22 2023 16:03:22
    Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
    Using default BOX64_PATH: ./:bin/
    Counted 63 Env var
    BOX64 try to Preload /opt/box-libs/x86_64/libz.so.1 
    Looking for ./Barotrauma
    Rename process to "Barotrauma"
    Using emulated /opt/box-libs/x86_64/libz.so.1
    Using native(wrapped) libc.so.6
    Using native(wrapped) ld-linux-x86-64.so.2
    Using native(wrapped) libpthread.so.0
    Using native(wrapped) libutil.so.1
    Using native(wrapped) librt.so.1
    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 emulated /opt/games/barotrauma/libhostfxr.so
    Using emulated /opt/games/barotrauma/libhostpolicy.so
    Using emulated /opt/games/barotrauma/libcoreclr.so
    Warning: Global Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0b0 ((nil)) in /opt/games/barotrauma/libcoreclr.so
    Warning: Global Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0c8 ((nil)) in /opt/games/barotrauma/libcoreclr.so
    Warning: Global Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0e0 ((nil)) in /opt/games/barotrauma/libcoreclr.so
    Warning: Global Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a0f8 ((nil)) in /opt/games/barotrauma/libcoreclr.so
    Warning: Global Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_GLOB_DAT @0x102a3a1f0 ((nil)) in /opt/games/barotrauma/libcoreclr.so
    Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a640 (0x75146)
    Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a6d8 (0x75276)
    Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a6e0 (0x75286)
    Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a700 (0x752c6)
    Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a708 (0x752d6)
    Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x102a3a760 (0x75386)
    Using emulated /opt/games/barotrauma/libcoreclrtraceptprovider.so
    Error loading needed lib liblttng-ust.so.0
    Error loading one of needed lib
    Error initializing needed lib /opt/games/barotrauma/libcoreclrtraceptprovider.so
    Error loading needed lib liblttng-ust-tracepoint.so.0
    Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x102924b64, 102)
    Error loading needed lib liblttng-ust-tracepoint.so.0
    Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x102924b64, 102)
    Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
    Using emulated /opt/box-libs/x86_64/libnuma.so.1
    Using emulated /opt/games/barotrauma/libclrjit.so
    Warning: Global Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_GLOB_DAT @0x105b026c8 ((nil)) in /opt/games/barotrauma/libclrjit.so
    Warning: Global Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_GLOB_DAT @0x105b026b0 ((nil)) in /opt/games/barotrauma/libclrjit.so
    Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x105b02750 (0x15c76)
    Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x105b027e0 (0x15d96)
    Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x105b027e8 (0x15da6)
    Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
    Using emulated /opt/box-libs/x86_64/libnuma.so.1
    Error loading needed lib linux_steam_env.so
    Warning: Cannot dlopen("linux_steam_env.so"/0x10202da50, 1)
    Using emulated /opt/games/barotrauma/liblinux_steam_env.so
    Using emulated /opt/games/barotrauma/libSystem.Native.so
    Using emulated /opt/games/barotrauma/libsteam_api64.so
    Using emulated /opt/games/barotrauma/x64/libSDL2-2.0.so.0
    Using native(wrapped) libdbus-1.so.3
    Using native(wrapped) libX11.so.6
    Using native(wrapped) libXext.so.6
    Using native(wrapped) libxcb.so.1
    Using native(wrapped) libXau.so.6
    Using native(wrapped) libXdmcp.so.6
    Using native(wrapped) libXrandr.so.2
    Using native(wrapped) libXrender.so.1
    Using native(wrapped) libGL.so.1
    Using emulated /opt/games/barotrauma/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
    Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
    Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0x1a2b5e530, 1)
    Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
    Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0x1a2b5e530, 1)
    Error loading needed lib freetype6.so
    Warning: Cannot dlopen("freetype6.so"/0x10202cea0, 1)
    Using emulated /opt/games/barotrauma/libfreetype6.so
    Using native(wrapped) libopenal.so.1
    [ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
    Error loading needed lib webm_mem_playback_x64.so.so
    Warning: Cannot dlopen("webm_mem_playback_x64.so.so"/0x10202cfb0, 1)
    Error loading needed lib libwebm_mem_playback_x64.so.so
    Warning: Cannot dlopen("libwebm_mem_playback_x64.so.so"/0x10202cfb0, 1)
    Using emulated /opt/games/barotrauma/webm_mem_playback_x64.so
    Sigfault/Segbus while quitting, exiting silently

    need help :'(

ptitSeb commented 1 year ago

Have you tried BOX64_DYNAREC_STRONGMEM=1 and/or BOX64_DYNAREC_BIGBLOCK=0?

ricoazzurro commented 1 year ago

I've tested and, will test or. and create an empty file config_player.xml as shown in the game's crashreport.

with BOX64_DYNAREC_BIGBLOCK=0, the game runs further, the best I got is it shows animations (opening cg), and loading to 52% then crash.

And it crashes differently with same env...

Even tested export LIBGL_ALWAYS_SOFTWARE=1.

I'll wait for you back from heavy developping of wow64 when you have more time to trace this game personally :)

Thanks.

ricoazzurro commented 7 months ago

I have moved forward to the loading page, crashed at 52%. Microsoft.DiaSymReader.Native.amd64.dll seems to be blamed.

Tested the start script as below, no luck.

#!/bin/bash

cd /opt/games/barotrauma

# export PAN_MESA_DEBUG=gl3
export LC_ALL=C
export TERM=xterm
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
[ -z "$XDG_DATA_HOME" ] && export XDG_DATA_HOME="$HOME/.local/share"
HOMEDATA="$XDG_DATA_HOME/Daedalic Entertainment GmbH/Barotrauma"
TMPDIR="/tmp/BarotraumaHome"
rm -rf /tmp/BarotraumaHome
mkdir -p "$HOMEDATA" "$TMPDIR"
for name in creature_metrics.xml config_player.xml; do
    touch "$HOMEDATA/$name"
    ln -s "$HOMEDATA/$name" "$TMPDIR/$name"
done

# export LD_LIBRARY_PATH=/opt/box-libs/aarch64/:/opt/box-libs/x86_64/:./x64/
# export BOX64_LD_PRELOAD=/opt/box-libs/x86_64/libz.so.1
export BOX64_DYNAREC_FASTROUND=0
export BOX64_DYNAREC_STRONGMEM=1
export BOX64_DYNAREC_BIGBLOCK=0
export BOX86_PREFER_EMULATED=1
# export MESA_GL_VERSION_OVERRIDE=4.4
# export MESA_GLSL_VERSION_OVERRIDE=440
# export LIBGL_ALWAYS_SOFTWARE=1
# BOX64_LOG=1
export BOX64_DYNAREC=0
export BOX64_NOBANNER=1

LIBGL_ALWAYS_SOFTWARE=1 box64 "./Barotrauma" -force-opengl
rico [ /opt/games/barotrauma ]$ ./box64-start.sh 
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 61 entries
Box64 with Dynarec v0.2.7 a8866c3 built on Apr  3 2024 08:04:05
BOX64: Detected 48bits at least of address space
Counted 67 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./Barotrauma
Rename process to "Barotrauma"
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 /opt/games/barotrauma/libhostfxr.so
Using emulated /opt/games/barotrauma/libhostpolicy.so
Using emulated /opt/games/barotrauma/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da760 (0x75386)
Using emulated /opt/games/barotrauma/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /opt/games/barotrauma/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c4b64, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c4b64, 102)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1
Warning: Cannot dlopen("libnuma.so.1"/0x7fff045c450d, 1)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1.0.0
Warning: Cannot dlopen("libnuma.so.1.0.0"/0x7fff045c451a, 1)
Error initializing native libnuma.so (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so
Warning: Cannot dlopen("libnuma.so"/0x7fff045c452b, 1)
Using emulated /opt/games/barotrauma/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06332750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063327e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063327e8 (0x15da6)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1
Warning: Cannot dlopen("libnuma.so.1"/0x7fff062ee59f, 1)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1.0.0
Warning: Cannot dlopen("libnuma.so.1.0.0"/0x7fff062ee5ac, 1)
Error initializing native libnuma.so (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so
Warning: Cannot dlopen("libnuma.so"/0x7fff062ee5bd, 1)
Error loading needed lib linux_steam_env.so
Warning: Cannot dlopen("linux_steam_env.so"/0xffffb7d1d910, 1)
Using emulated /opt/games/barotrauma/liblinux_steam_env.so
Using emulated /opt/games/barotrauma/libSystem.Native.so
Using emulated /opt/games/barotrauma/libsteam_api64.so
Using emulated /opt/games/barotrauma/x64/libSDL2-2.0.so.0
Using native(wrapped) libdbus-1.so.3
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) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libGL.so.1
Using emulated /opt/games/barotrauma/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
Error loading needed lib freetype6.so
Warning: Cannot dlopen("freetype6.so"/0xffffb7d1ccd0, 1)
Using emulated /opt/games/barotrauma/libfreetype6.so
Using native(wrapped) libopenal.so.1
Error loading needed lib webm_mem_playback_x64.so.so
Warning: Cannot dlopen("webm_mem_playback_x64.so.so"/0xffffb7d1cde0, 1)
Error loading needed lib libwebm_mem_playback_x64.so.so
Warning: Cannot dlopen("libwebm_mem_playback_x64.so.so"/0xffffb7d1cde0, 1)
Using emulated /opt/games/barotrauma/webm_mem_playback_x64.so
Using emulated /opt/games/barotrauma/libSystem.IO.Compression.Native.so
Using native(wrapped) libz.so.1
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffef8df32a0, 1)
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffef8df3830, 1)
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffef8df6310, 1)
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffef8df6310, 1)
16355|Double SIGSEGV (code=1, pc=0xffff740b3f08, addr=0x5d0, prot=00)!
Sigfault/Segbus while quitting, exiting silently
KweezyCode commented 1 month ago

is there any fix? same issue, cannot get over 52% on loading screen BIGBLOCK + STRONGMEM:

kweezy@rpi5:~/Barotrauma $ BOX64_DYNAREC_BIGBLOCK=0 BOX64_DYNAREC_STRONGMEM=1 BOX64_NOSIGSEGV=0 ./Barotrauma
Dynarec will not try to make big block
Dynarec will try to emulate a strong memory model with limited performance loss
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:16384 Running on Cortex-A76 with 4 Cores
Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 cbbafafb built on Oct  3 2024 20:59:10
BOX64: Detected 48bits at least of address space
Counted 50 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./Barotrauma
Rename process to "Barotrauma"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /usr/lib/box64-x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /usr/lib/box64-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/kweezy/Barotrauma/libhostfxr.so
Using emulated /home/kweezy/Barotrauma/libhostpolicy.so
Using emulated /home/kweezy/Barotrauma/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046da760 (0x75386)
Using emulated /home/kweezy/Barotrauma/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /home/kweezy/Barotrauma/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c4b64, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c4b64, 102)
Using native(wrapped) libnuma.so.1
Using emulated /home/kweezy/Barotrauma/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06332750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063327e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063327e8 (0x15da6)
Error loading needed lib linux_steam_env.so
Warning: Cannot dlopen("linux_steam_env.so"/0x7fff514fd530, 1)
Using emulated /home/kweezy/Barotrauma/liblinux_steam_env.so
Using emulated /home/kweezy/Barotrauma/libSystem.Native.so
Using emulated /home/kweezy/Barotrauma/libsteam_api64.so
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
Using emulated /home/kweezy/.steam/sdk64/steamclient.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0a5c1588 (0x10d796)
[S_API] SteamAPI_Init(): Loaded '/home/kweezy/.steam/sdk64/steamclient.so' OK.
Setting breakpad minidump AppID = 602960
Using emulated /home/kweezy/.steam/sdk64/libsteam.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0b5fb670 (0x123b36)
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198294514227 [API loaded no]
Using emulated /home/kweezy/Barotrauma/x64/libSDL2-2.0.so.0
Using native(wrapped) libdbus-1.so.3
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) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libGL.so.1
Warning, no wrapper for glMakeCurrent
Using emulated /home/kweezy/Barotrauma/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
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0x7fff0fffe540, 1)
Error loading needed lib Microsoft.DiaSymReader.Native.amd64.dll
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0x7fff0fffe540, 1)
Using native(wrapped) libopenal.so.1
Error loading needed lib webm_mem_playback_x64.so.so
Warning: Cannot dlopen("webm_mem_playback_x64.so.so"/0x7fff514fc980, 1)
Error loading needed lib libwebm_mem_playback_x64.so.so
Warning: Cannot dlopen("libwebm_mem_playback_x64.so.so"/0x7fff514fc980, 1)
Using emulated /home/kweezy/Barotrauma/webm_mem_playback_x64.so
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Barotrauma.GameMain.Load() in E:\Barotrauma-development\Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 610
   at System.Threading.Thread.StartCallback()
Fatal error. Internal CLR error. (0x80131506)
   at Barotrauma.GameMain.Load()
   at System.Threading.Thread.StartCallback()
NativeBT: ./Barotrauma() [0x34a3ec10]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fff517d87b0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x809f0) [0x7fff516509f0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(gsignal+0x1c) [0x7fff5160a72c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xf0) [0x7fff515f747c]
NativeBT: ./Barotrauma() [0x34fd6fac]
NativeBT: ./Barotrauma() [0x34a26274]
NativeBT: ./Barotrauma() [0x34a3d1dc]
NativeBT: ./Barotrauma() [0x34a3dc90]
NativeBT: ./Barotrauma() [0x34a3e7c0]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fff517d87b0]
NativeBT: [0x7fff024fca70]
EmulatedBT: box64(abort+0) [0x30040080]
EmulatedBT: /home/kweezy/Barotrauma/libcoreclr.so+51235b [0x7fff0451235b]
EmulatedBT: /home/kweezy/Barotrauma/libcoreclr.so+512290 [0x7fff04512290]
EmulatedBT: ??? [0xffffff01]
11414|SIGABRT @0x7fff516509f0 (???(/lib/aarch64-linux-gnu/libc.so.6+0x809f0)) (x64pc=0x30040093/"???", rsp=0x7fff0fffd988, stack=0x7fff0f800000:0x7fff10000000 own=0x7fff0f800000 fp=0x7fff0fffd9a0), for accessing 0x3e800002c61 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x00007fff042d9d3b RSP-0x18:0x0000000080131506 RSP-0x10:0x0000000000000001 RSP-0x08:0x00007fff0fffd9a0
RSP+0x00:0x00007fff0451235b RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000001 RSP+0x18:0x00007fff0fffd9d0
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000006 
RSP:0x00007fff0fffd988 RBP:0x00007fff0fffd9a0 RSI:0x00007fff047232a0 RDI:0x0000000000000006 
 R8:0x000000005e7f9d30  R9:0x0000000000000000 R10:0x0000000000000001 R11:0x00007fff0fffd362 
R12:0x0000000000000000 R13:0x00007fff042d9d3b R14:0x0000000080131506 R15:0x0000000000000001 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
Aborted

NO STRONGMEM AND NO BIGBLOCK ENVS:

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[[Barotrauma.Identifier, BarotraumaCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Barotrauma.StatTypes, Barotrauma, Version=1.5.9.2, Culture=neutral, PublicKeyToken=null]].TryInsert(Barotrauma.Identifier, Barotrauma.StatTypes, System.Collections.Generic.InsertionBehavior)
   at Barotrauma.Inventory.DetermineMouseOnInventory(Boolean)
   at Barotrauma.GUI.UpdateMouseOn()
   at Barotrauma.GUI.UpdateGUIMessageBoxesOnly(Single)
   at Barotrauma.GameMain.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 Microsoft.Xna.Framework.Game.Run()
   at Barotrauma.Program.Main(System.String[])
...
EmulatedBT: /home/kweezy/Barotrauma/libcoreclr.so+512290 [0x7fff04512290]
EmulatedBT: ??? [0xffffff01]
11978|SIGABRT @0x7fff47a909f0 (???(/lib/aarch64-linux-gnu/libc.so.6+0x809f0)) (x64pc=0x30040093/"???", rsp=0x7fff4793b0b8, stack=0x7fff47140000:0x7fff47940000 own=(nil) fp=0x7fff4793b0d0), for accessing 0x3e800002eca (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x00007fff042d5139 RSP-0x18:0x00000000c0000005 RSP-0x10:0x0000000000000001 RSP-0x08:0x00007fff4793b0d0
RSP+0x00:0x00007fff0451235b RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000001 RSP+0x18:0x00007fff4793b100
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000006 
RSP:0x00007fff4793b0b8 RBP:0x00007fff4793b0d0 RSI:0x00007fff047232a0 RDI:0x0000000000000006 
 R8:0x000000003a694520  R9:0x0000000000000000 R10:0x00007fff4793aaa6 R11:0x00007fff4793aaaa 
R12:0x000000003aea30a0 R13:0x00007fff042d5139 R14:0x00000000c0000005 R15:0x0000000000000001 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
Aborted

game crashreport:

Barotrauma Client crash report (generated on 10/03/2024 22:33:08)

Barotrauma seems to have crashed. Sorry for the inconvenience! 

To prevent further startup errors, installed mods will be disabled the next time you launch the game.

FB25D3CDD07E28B924311CA30D61C8BD

Game version 1.5.9.2 (ReleaseLinux, branch release/summer-update-hotfix-2, revision 54bd6b29f7)
Graphics mode: 1024x720 (Windowed)
VSync OFF
Language: English
Selected content packages: None
Level seed: no level loaded
Loaded submarine: None
Selected screen: None

System info:
    Operating system: Unix 6.6.51.2712 64 bit
    Graphics device not set

Exception: Object reference not set to an instance of an object. (System.NullReferenceException)
Target site: Void Load()
Stack trace: 
   at Barotrauma.GameMain.Load() in <DEV>\Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 610
   at System.Threading.Thread.StartCallback()

Last debug messages:
[10/03/2024 22:33:08] Exiting...
[10/03/2024 22:33:05] Attempting to open ALC device "Built-in Audio Digital Stereo (HDMI)"
[10/03/2024 22:33:04] Failed to load file "Content/Texts/Russian/RussianVanillaEditorTexts.xml" of type "Text": Exception has been thrown by the target of an invocation.
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at Barotrauma.ContentFile.TypeInfo.CreateInstance(ContentPackage contentPackage, ContentPath path) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\ContentManagement\ContentFile\ContentFile.cs:line 59
   at Barotrauma.ContentFile.CreateFromXElement(ContentPackage contentPackage, XElement element) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\ContentManagement\ContentFile\ContentFile.cs:line 113
[10/03/2024 22:32:55] Logged in as Noob (SteamID STEAM_1:1:167124249)