ptitSeb / box64

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

Unable to launch war thunder #1376

Open System64fumo opened 5 months ago

System64fumo commented 5 months ago

Attempting to run war thunder's launcher gets stuck or crashes with this error:

Error: PltResolver: Symbol gtk_widget_add_tick_callback(ver 0: gtk_widget_add_tick_callback) not found, cannot apply R_X86_64_JUMP_SLOT 0x7fff029b7ea0 (0x7fff021e05a6) in /mnt/nas/WarThunder/libsciter-gtk.so

(launcher:1820): Gtk-WARNING **: 00:04:57.051: drawing failure for widget 'GtkDrawingArea': cairo_restore() without matching cairo_save()

(launcher:1820): Gtk-WARNING **: 00:04:57.051: drawing failure for widget 'GtkWindow': cairo_restore() without matching cairo_save()
Error: PltResolver: Symbol gtk_widget_add_tick_callback(ver 0: gtk_widget_add_tick_callback) not found, cannot apply R_X86_64_JUMP_SLOT 0x7fff029b7ea0 (0x7fff021e05a6) in /mnt/nas/WarThunder/libsciter-gtk.so
NotToDisturb commented 2 months ago

I can replicate, see trace:


disturbo@disturbo-switch:~/.local/share/Steam/steamapps/common/War Thunder$ ./launcher
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A57 with 4 Cores
Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz
Params database has 81 entries
Box64 with Dynarec v0.3.1 d10a0784 built on Jul 11 2024 06:38:39
BOX64: Detected 48bits at least of address space
Counted 83 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/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/
Looking for ./launcher
Rename process to "launcher"
Using native(wrapped) libXrandr.so.2
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) libdl.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libgtk-3.so.0
Using native(wrapped) libgdk-3.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
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) libbsd.so.0
Warning, CALL to 0x0 at 0x7253bc (0x7253bb)
Warning, CALL to 0x0 at 0x724416 (0x724415)
Warning, CALL to 0x0 at 0x72443b (0x72443a)
Warning, CALL to 0x0 at 0x72454b (0x72454a)
Warning, CALL to 0x0 at 0x72457c (0x72457b)
Warning, CALL to 0x0 at 0x7239cc (0x7239cb)
Warning, CALL to 0x0 at 0x723a0b (0x723a0a)
Warning, CALL to 0x0 at 0x723a47 (0x723a46)
Warning, CALL to 0x0 at 0x723d66 (0x723d65)
Warning, CALL to 0x0 at 0x723b39 (0x723b38)
Warning, CALL to 0x0 at 0x7244ef (0x7244ee)
Warning, CALL to 0x0 at 0x723e7d (0x723e7c)
Warning, CALL to 0x0 at 0x723ead (0x723eac)
Warning, CALL to 0x0 at 0x723edc (0x723edb)
Warning, CALL to 0x0 at 0x723d66 (0x723d65)
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A57 with 4 Cores
Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz
Params database has 81 entries
Box64 with Dynarec v0.3.1 d10a0784 built on Jul 11 2024 06:38:39
BOX64: Detected 48bits at least of address space
Counted 83 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/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/
Looking for /home/disturbo/.local/share/Steam/steamapps/common/War Thunder/gaijin_selfupdater
argv[1]="-appid"
argv[2]="WarThunderLauncherLinux"
argv[3]="-localversion"
argv[4]="1.0.3.15"
argv[5]="-execpath"
argv[6]="launcher"
argv[7]="-notify_user_about_failure"
Rename process to "gaijin_selfupdater"
Using native(wrapped) librt.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
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 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) libbsd.so.0
Warning, CALL to 0x0 at 0x7b66ab (0x7b66aa)
Warning, CALL to 0x0 at 0x4eb4fc (0x4eb4fb)
Warning, CALL to 0x0 at 0x4ea556 (0x4ea555)
Warning, CALL to 0x0 at 0x4ea57b (0x4ea57a)
Warning, CALL to 0x0 at 0x4ea68b (0x4ea68a)
Warning, CALL to 0x0 at 0x4ea6bc (0x4ea6bb)
Warning, CALL to 0x0 at 0x4e9b0c (0x4e9b0b)
Warning, CALL to 0x0 at 0x4e9b4b (0x4e9b4a)
Warning, CALL to 0x0 at 0x4e9b87 (0x4e9b86)
Warning, CALL to 0x0 at 0x4e9ea6 (0x4e9ea5)
Warning, CALL to 0x0 at 0x4e9c79 (0x4e9c78)
Warning, CALL to 0x0 at 0x4ea62f (0x4ea62e)
Warning, CALL to 0x0 at 0x4ea62f (0x4ea62e)
Warning, CALL to 0x0 at 0x4e9fbd (0x4e9fbc)
Warning, CALL to 0x0 at 0x4e9fed (0x4e9fec)
Warning, CALL to 0x0 at 0x4ea01c (0x4ea01b)
Warning, CALL to 0x0 at 0x4e9ea6 (0x4e9ea5)
Using emulated /home/disturbo/.local/share/Steam/steamapps/common/War Thunder/libsciter-gtk.so
Using native(wrapped) libcairo.so.2

(process:5137): Gtk-WARNING **: 00:05:45.337: Locale not supported by C library.
        Using the fallback 'C' locale.
Warning, CALL to 0x0 at 0x80dca6 (0x80dca5)
Warning, CALL to 0x0 at 0x711dd2 (0x711dd1)
Warning, CALL to 0x0 at 0x70fa92 (0x70fa91)
Warning, CALL to 0x0 at 0x70fe62 (0x70fe61)
Warning, CALL to 0x0 at 0x711b61 (0x711b60)
Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Warning, recreating YMM11 on non empty slot ymm6Error: PltResolver: Symbol  gtk_widget_add_tick_callback(ver 0: gtk_widget_add_tick_callback) not found, cannot apply R_X86_64_JUMP_SLOT 0x7fff029b7ea0 (0x7fff021e05a6) in /home/disturbo/.local/share/Steam/steamapps/common/War Thunder/libsciter-gtk.so (local_maplib=0x37062650, global maplib=0x36c26410, deepbind=0)

(launcher:5137): Gtk-WARNING **: 00:05:55.236: drawing failure for widget 'GtkDrawingArea': cairo_restore() without matching cairo_save()

(launcher:5137): Gtk-WARNING **: 00:05:55.236: drawing failure for widget 'GtkWindow': cairo_restore() without matching cairo_save()
Error: PltResolver: Symbol  gtk_widget_add_tick_callback(ver 0: gtk_widget_add_tick_callback) not found, cannot apply R_X86_64_JUMP_SLOT 0x7fff029b7ea0 (0x7fff021e05a6) in /home/disturbo/.local/share/Steam/steamapps/common/War Thunder/libsciter-gtk.so (local_maplib=0x37062650, global maplib=0x36c26410, deepbind=0)
Error: PltResolver: Symbol  gtk_widget_add_tick_callback(ver 0: gtk_widget_add_tick_callback) not found, cannot apply R_X86_64_JUMP_SLOT 0x7fff029b7ea0 (0x7fff021e05a6) in /home/disturbo/.local/share/Steam/steamapps/common/War Thunder/libsciter-gtk.so (local_maplib=0x37062650, global maplib=0x36c26410, deepbind=0)
Warning, CALL to 0x0 at 0x711f40 (0x711f3f)
Warning, CALL to 0x0 at 0x70cbb1 (0x70cbb0)
Warning, CALL to 0x0 at 0x70cbb1 (0x70cbb0)
Warning, CALL to 0x0 at 0x70c673 (0x70c672)
Segmentation fault (core dumped)```