box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Space Crew - GLib-GObject-CRITICAL

Open ricoazzurro opened this issue 1 year ago • 5 comments

Description

Space Crew Legendary Edition, v23948, Linux x64, Steam, Engine: Unity

Box64 with Dynarec v0.2.7 856d265 Rock 5B, LFS, Kernel rk-6.1-rkr1-panthor-v6, Mesa 24.1.0, Gnome 46

  • Not working.
  • Log pointing to libStandaloneFileBrowser.so and some GLib-GObject-CRITICAL errors.
  • Also tested below envs,
export LC_ALL=C
export TERM=xterm
export BOX64_DYNAREC_FASTROUND=0
export BOX64_DYNAREC_STRONGMEM=1
# export PAN_MESA_DEBUG=gl3
# box64 "./SpaceCrew.x86_64"
LIBGL_ALWAYS_SOFTWARE=1 box64 "./SpaceCrew.x86_64"

Error Log, with debug envs

rico [ /opt/games/space_crew ]$ PAN_MESA_DEBUG=gl3 BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_ROLLING_LOG=1 BOX64_DYNAREC_MISSING=1 ./SpaceCrew.x86_64 
Rolling log, showing last 16 function call on signals
Dynarec will print missing opcodes
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 ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 65 entries
Box64 with Dynarec v0.2.7 856d265 built on Apr 25 2024 16:58:16
BOX64: Detected 48bits at least of address space
Counted 63 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 ./SpaceCrew.x86_64
Rename process to "SpaceCrew.x86_64"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
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) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Error: Global Symbol _ULx86_64_local_addr_space not found, cannot apply R_X86_64_GLOB_DAT @0x2018c90 ((nil)) in /opt/games/space_crew/SpaceCrew.x86_64
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) libGL.so.1
Using native(wrapped) libudev.so.1
Found path: /opt/games/space_crew/SpaceCrew.x86_64
Using emulated /opt/games/space_crew/SpaceCrew_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
MonoBleedingEdge detected, disable Dynarec BigBlock and enable Dynarec StrongMem
Mono path[0] = '/opt/games/space_crew/SpaceCrew_Data/Managed'
Mono config path = '/opt/games/space_crew/SpaceCrew_Data/MonoBleedingEdge/etc'
Using emulated /opt/games/space_crew/SpaceCrew_Data/Plugins/libsteam_api.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff035fb670 (0x123b36)
Preloaded 'libsteam_api.so'
Using emulated /opt/games/space_crew/SpaceCrew_Data/Plugins/libsteam_api.so.orig
Preloaded 'libsteam_api.so.orig'
Using emulated /opt/games/space_crew/SpaceCrew_Data/Plugins/x86_64/ScreenSelector.so
Using native(wrapped) libgtk-x11-2.0.so.0
Using native(wrapped) libgdk-x11-2.0.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Preloaded 'ScreenSelector.so'
Using emulated /opt/games/space_crew/SpaceCrew_Data/Plugins/x86_64/libCSteamworks.so
Preloaded 'libCSteamworks.so'
Using emulated /opt/games/space_crew/SpaceCrew_Data/Plugins/x86_64/libStandaloneFileBrowser.so

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.392: cannot register existing type 'GtkWidget'

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.392: cannot add class private field to invalid type '<invalid>'

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.392: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.392: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.393: cannot register existing type 'GtkBuildable'

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.393: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(process:1844): GLib-CRITICAL **: 00:00:32.393: g_once_init_leave_pointer: assertion 'result != 0' failed

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.393: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.393: cannot register existing type 'GtkWidget'

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.393: cannot add class private field to invalid type '<invalid>'

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.393: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(process:1844): GLib-GObject-CRITICAL **: 00:00:32.393: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

Tested on

  • Box64 with Dynarec v0.2.7 856d265
  • Radxa Rock 5B, (RK3588, Cortex-A76+Cortex-A55, Mali-G610)
  • LFS r12.1-30 BSP Kernel 6.1.43+ (rk-6.1-rkr1-panthor-v6 6bd0bc6) Mesa 24.1.0-devel (git-e5f133ccc4) Gnome 46, Mutter-46.1
  • 1080p, Default game settings

Status

Previous behavior:

None reported.

Current behavior:

Not working.

Screenshots

OpenGL

OpenGL 3+

Additional Information

https://curvegames.com/our-games/space-crew-legendary-edition/ https://www.gog.com/en/game/space_crew_legendary_edition https://store.steampowered.com/app/1176710/Space_Crew_Legendary_Edition/ https://www.pcgamingwiki.com/wiki/Space_Crew

ricoazzurro avatar Apr 25 '24 16:04 ricoazzurro

Re-tested and same issue.

  • Box64 with Dynarec v0.3.1 362402ff
  • Radxa Rock 5B, (RK3588, Cortex-A76+Cortex-A55, Mali-G610)
  • LFS r12.2-1 BSP Kernel 6.1.43+ (linux-6.1-stan-rkr1 1b2f1f9) Mesa 24.3.0-devel (git-2a5a12cb71) Gnome 46.4
  • 1080p, Default game settings

Log,

rico [ /opt/games/space_crew ]$ ./box64-start.sh 
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on - - - - - - - - - - - - - - - - with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 89 entries
Box64 with Dynarec v0.3.1 362402ff built on Sep 10 2024 06:26:35
BOX64: Detected 48bits at least of address space
Counted 63 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./SpaceCrew.x86_64
Rename process to "SpaceCrew.x86_64"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
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) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Error: Global Symbol _ULx86_64_local_addr_space not found, cannot apply R_X86_64_GLOB_DAT @0x2018c90 ((nil)) in /opt/games/space_crew/SpaceCrew.x86_64
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) libGL.so.1
Using native(wrapped) libudev.so.1
Found path: /opt/games/space_crew/././SpaceCrew.x86_64
Using emulated /opt/games/space_crew/././SpaceCrew_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
MonoBleedingEdge detected, disable Dynarec BigBlock and enable Dynarec StrongMem
Mono path[0] = '/opt/games/space_crew/././SpaceCrew_Data/Managed'
Mono config path = '/opt/games/space_crew/././SpaceCrew_Data/MonoBleedingEdge/etc'
Using emulated /opt/games/space_crew/././SpaceCrew_Data/Plugins/libsteam_api.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff035fb670 (0x123b36)
Preloaded 'libsteam_api.so'
Using emulated /opt/games/space_crew/././SpaceCrew_Data/Plugins/libsteam_api.so.orig
Preloaded 'libsteam_api.so.orig'
Using emulated /opt/games/space_crew/././SpaceCrew_Data/Plugins/x86_64/ScreenSelector.so
Using native(wrapped) libgtk-x11-2.0.so.0
Using native(wrapped) libgdk-x11-2.0.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Preloaded 'ScreenSelector.so'
Using emulated /opt/games/space_crew/././SpaceCrew_Data/Plugins/x86_64/libCSteamworks.so
Preloaded 'libCSteamworks.so'
Using emulated /opt/games/space_crew/././SpaceCrew_Data/Plugins/x86_64/libStandaloneFileBrowser.so

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: cannot register existing type 'GtkWidget'

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: cannot add class private field to invalid type '<invalid>'

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: cannot register existing type 'GtkBuildable'

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(process:3175): GLib-CRITICAL **: 10:59:00.378: g_once_init_leave_pointer: assertion 'result != 0' failed

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: cannot register existing type 'GtkWidget'

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: cannot add class private field to invalid type '<invalid>'

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(process:3175): GLib-GObject-CRITICAL **: 10:59:00.378: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

ricoazzurro avatar Sep 10 '24 03:09 ricoazzurro

@ricoazzurro is this still an issue with the latest version of Box64?

LukeShortCloud avatar Oct 30 '25 09:10 LukeShortCloud

@LukeShortCloud

Greetings. Thanks for asking. I'll re-test it this month.

Have a lovely weekend :)

ricoazzurro avatar Nov 01 '25 00:11 ricoazzurro