ptitSeb / box64

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

EmulatedBT: ??? [0x180400] #1032

Open m33ts4k0z opened 1 year ago

m33ts4k0z commented 1 year ago

Hello,

I am trying to start pcsx2 with box64 but it shows the following error:

$ BOX64_EMULATED_LIBS=libpng16.so.16 ./pcsx2.AppImage
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 27 entries
Box64 with Dynarec v0.2.5 072311b2 built on Oct  5 2023 07:02:26
BOX64 will force the used of emulated libs for libpng16.so.16 
Counted 60 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/:/snap/bin/
Looking for ./pcsx2.AppImage
Rename process to "pcsx2.AppImage"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libz.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) libfuse.so.2
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 27 entries
Box64 with Dynarec v0.2.5 072311b2 built on Oct  5 2023 07:02:26
BOX64 will force the used of emulated libs for libpng16.so.16 
Counted 64 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/:/snap/bin/
Looking for /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped
Rename process to "pcsx2-qt"
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/bin/../lib/libQt6Widgets.so.6
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/bin/../lib/libQt6Network.so.6
Using native(wrapped) libEGL.so.1
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/bin/../lib/libaio.so.1
Using native(wrapped) libudev.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libXrandr.so.2
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) libdl.so.2
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libcurl.so.4
Using native(wrapped) libSDL2-2.0.so.0
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libpthread.so.0
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/bin/../lib/libpng16.so.16
Using native(wrapped) libz.so.1
Using native(wrapped) liblzma.so.5
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/bin/../lib/libpcap.so.0.8
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/bin/../lib/libQt6Gui.so.6
Using native(wrapped) libGLX.so.0
Using native(wrapped) libOpenGL.so.0
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/bin/../lib/libQt6Core.so.6
Using emulated /lib/x86_64-linux-gnu/libstdc++.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) libresolv.so.2
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libxkbcommon.so.0
Using native(wrapped) libharfbuzz.so.0
Using native(wrapped) libfreetype.so.6
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libzstd.so.1
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libpcre2-16.so.0
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libbrotlidec.so.1
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libbrotlicommon.so.1
Warning: Global Symbol _ZTH10g_xmmtypes not found, cannot apply R_X86_64_GLOB_DAT @0x1029390a0 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Warning: Global Symbol _ZTH5j8Ptr not found, cannot apply R_X86_64_GLOB_DAT @0x1029390a8 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Warning: Global Symbol _ZTH6x86Ptr not found, cannot apply R_X86_64_GLOB_DAT @0x1029390b0 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Warning: Global Symbol _ZTH6j32Ptr not found, cannot apply R_X86_64_GLOB_DAT @0x1029390b8 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Warning: Global Symbol ZSTD_trace_compress_end not found, cannot apply R_X86_64_GLOB_DAT @0x1029393e8 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Warning: Global Symbol ZSTD_trace_compress_begin not found, cannot apply R_X86_64_GLOB_DAT @0x1029393f0 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Warning: Global Symbol ZSTD_trace_decompress_begin not found, cannot apply R_X86_64_GLOB_DAT @0x1029393f8 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Warning: Global Symbol ZSTD_trace_decompress_end not found, cannot apply R_X86_64_GLOB_DAT @0x102939400 ((nil)) in /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/platforms/libqwayland-generic.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/platforms/../../lib/libQt6WaylandClient.so.6
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libwayland-client.so.0
Using native(wrapped) libwayland-cursor.so.0
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libffi.so.8
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/wayland-shell-integration/libxdg-shell.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
Program Path: /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt
AppRoot Directory: /tmp/.mount_pcsx2.2SULhy/usr/bin
DataRoot Directory: /home/retropie/.config/PCSX2
Resources Directory: /tmp/.mount_pcsx2.2SULhy/usr/bin/resources
Loading config from /home/retropie/.config/PCSX2/inis/PCSX2.ini.
Processor count: 1 cores, 8 processors
Cluster count: 1
Ordered processor list: 0, 1[SMT 1], 2[SMT 2], 3[SMT 3], 4[SMT 4], 5[SMT 5], 6[SMT 6], 7[SMT 7]
Cluster count: 1
  Cluster 0: 1 cores and 8 processors at 0 MHz
Big-Little: no
Guessing we have 1 big/medium cores...
  Disabling MTVU.
  Setting Extra Software Rendering Threads to 2.
(MapController) Map Pad1/Up to 'Keyboard/Up'
(MapController) Map Pad1/Right to 'Keyboard/Right'
(MapController) Map Pad1/Down to 'Keyboard/Down'
(MapController) Map Pad1/Left to 'Keyboard/Left'
(MapController) Map Pad1/Triangle to 'Keyboard/I'
(MapController) Map Pad1/Circle to 'Keyboard/L'
(MapController) Map Pad1/Cross to 'Keyboard/K'
(MapController) Map Pad1/Square to 'Keyboard/J'
(MapController) Map Pad1/Select to 'Keyboard/Backspace'
(MapController) Map Pad1/Start to 'Keyboard/Return'
(MapController) Map Pad1/L1 to 'Keyboard/Q'
(MapController) Map Pad1/L2 to 'Keyboard/1'
(MapController) Map Pad1/R1 to 'Keyboard/E'
(MapController) Map Pad1/R2 to 'Keyboard/3'
(MapController) Map Pad1/L3 to 'Keyboard/2'
(MapController) Map Pad1/R3 to 'Keyboard/4'
(MapController) Map Pad1/LUp to 'Keyboard/W'
(MapController) Map Pad1/LRight to 'Keyboard/D'
(MapController) Map Pad1/LDown to 'Keyboard/S'
(MapController) Map Pad1/LLeft to 'Keyboard/A'
(MapController) Map Pad1/RUp to 'Keyboard/T'
(MapController) Map Pad1/RRight to 'Keyboard/H'
(MapController) Map Pad1/RDown to 'Keyboard/G'
(MapController) Map Pad1/RLeft to 'Keyboard/F'
BIOS Directory: /home/retropie/.config/PCSX2/bios
Snapshots Directory: /home/retropie/.config/PCSX2/snaps
Savestates Directory: /home/retropie/.config/PCSX2/sstates
MemoryCards Directory: /home/retropie/.config/PCSX2/memcards
Logs Directory: /home/retropie/.config/PCSX2/logs
Cheats Directory: /home/retropie/.config/PCSX2/cheats
Patches Directory: /home/retropie/.config/PCSX2/patches
Covers Directory: /home/retropie/.config/PCSX2/covers
Game Settings Directory: /home/retropie/.config/PCSX2/gamesettings
Cache Directory: /home/retropie/.config/PCSX2/cache
Textures Directory: /home/retropie/.config/PCSX2/textures
Input Profile Directory: /home/retropie/.config/PCSX2/inputprofiles
Video Dumping Directory: /home/retropie/.config/PCSX2/videos
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqgif.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqicns.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqico.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqjpeg.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/../../lib/libjpeg.so.8
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqsvg.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/../../lib/libQt6Svg.so.6
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqtga.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqtiff.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/../../lib/libtiff.so.5
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libwebp.so.7
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libjbig.so.0
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/lib/libdeflate.so.0
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqwbmp.so
Using emulated /tmp/.mount_pcsx2.2SULhy/usr/plugins/imageformats/libqwebp.so
NativeBT: /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped() [0x34a071f4]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa93ad7d0]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x7f200) [0xffffa922f200]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(raise+0x1c) [0xffffa91ea67c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xe4) [0xffffa91d7130]
NativeBT: /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped() [0x349ecbd4]
NativeBT: /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped() [0x34f91244]
NativeBT: /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped() [0x349ec4fc]
NativeBT: /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped() [0x34a05728]
NativeBT: /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped() [0x34a060cc]
NativeBT: /tmp/.mount_pcsx2.2SULhy/AppRun.wrapped() [0x34a06c34]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa93ad7d0]
NativeBT: [0xffff8a946ad4]
EmulatedBT: ??? [0x180400]
EmulatedBT: /tmp/.mount_pcsx2.2SULhy/usr/bin/pcsx2-qt+ed65d7 [0x1026d65d7]
18103|SIGABRT @0xffffa922f200 (???(/lib/aarch64-linux-gnu/libc.so.6+0xffffa922f200)) (x64pc=0x180413/???:"???", rsp=0x10ff8e030, stack=0x10f790000:0x10ff90000 own=(nil) fp=0x60f53cd0), for accessing 0x3e8000046b7 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x000000005f3203b0 RSP-0x18:0x000000010ff8e068 RSP-0x10:0x000000005dff37f0 RSP-0x08:0x0000000000000011
RSP+0x00:0x00000001026d65d7 RSP+0x08:0x0000000111cef9f0 RSP+0x10:0x0000000000000000 RSP+0x18:0x0000000060f53bb0
RAX:0x0000000000000000 RCX:0xfffffffea3400000 RDX:0x000000010ff8e068 RBX:0x000000000000000b 
RSP:0x000000010ff8e030 RBP:0x0000000060f53cd0 RSI:0x000000010ff8e430 RDI:0x0000000102941de0 
 R8:0x0000000000000001  R9:0x0000000000000001 R10:0x0000000000000001 R11:0x000000005f497200 
R12:0x0000000000000000 R13:0x000000005f3203b0 R14:0x000000010ff8e068 R15:0x000000010ff8e430 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
Aborted (core dumped)

Actually the setup wizard's GUI starts and you can navigate until finish but when trying to open a dialog like i.ex. browse for BIOS or add a rom directory, then it crashes. It also crashes after you click finish in the wizard and the main program starts.

Any ideas?

Thanks in advance

PS: I am updating this report with the progress I make. Feels like its quite close now.

iamsonderr commented 8 months ago

any progress?