Open Schlumpf7 opened 3 years ago
Did you retried with an updated box64?
Hi I can take over this testing session.
The next error is: Error: Unsupported libc Syscall 0x13A (314)
I will help completing this ticket as much as necessary.
Thanks
Is this fixed now?
Is this fixed now?
Using the latest git build, I can see the syscalls are indeed not reported as error now. However, I now get a strong SIGSEVG:
❯ BOX64_PREFER_EMULATED=1 /mnt/local/Utils/box6420240709 ./EoCApp
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz
Params database has 69 entries
Params database has 86 entries
Using bash "/home/hugo/mylibs/x64lib/bash"
Box64 with Dynarec v0.2.9 fdc7e9d1 built on Jul 9 2024 08:29:00
BOX64: Didn't detect 48bits of address space, considering it's 39bits
BOX64: Prefering Emulated libs
Counted 67 Env var
BOX64 LIB PATH: /opt/wayfire/lib/aarch64-linux-gnu/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/wayfire/bin/:/home/hugo/.local/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/home/hugo/.local/bin/:/home/hugo/fzf-zsh-plugin/bin/:/home/hugo/.fzf/bin/
Looking for ./EoCApp
Rename process to "EoCApp"
Using emulated libc++abi.so.1
Using emulated libicuuc.so.54
Using emulated libicudata.so.54
Using emulated libSDL2-2.0.so.1
Using native(wrapped) libz.so.1
Using emulated libpcre.so.3
Using emulated libjpeg.so.8
Using emulated libpng16.so.16
Using emulated libosiris.so.2
Using emulated libopenal.so.1
Using emulated libbink2.so
Using native(wrapped) libGL.so.1
Using emulated libGLEW.so.1.10
Using emulated libsteam_api.so
Using emulated libOGLBinding.so
Using emulated libGameEngine.so
Using emulated libRenderFramework.so
Using emulated libCoreLib.so
Using emulated libc++.so.1
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) libdl.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
7117|SIGSEGV @0x7fa0697d84 (???(0x7fa0697d84)) (x64pc=0x3f10064930/libCoreLib.so:"libCoreLib.so/_ZN2ls13ThreadManager26RegisterThreadLocalWrapperEPNS_19IThreadLocalWrapperE", rsp=0x7fa277b050, stack=0x7fa1f7c000:0x7fa277c000 own=(nil) fp=0x7fa277b180), for accessing 0x64 (code=1/prot=0), db=0x7fa04c6fb8(0x7fa0697d48:0x7fa06980f0/0x3f10064910:0x3f100649bb/libCoreLib.so/_ZN2ls13ThreadManager26RegisterThreadLocalWrapperEPNS_19IThreadLocalWrapperE:clean, hash:7580ce6b/7580ce6b) handler=(nil)
RAX:0x00000000ffffffff RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000000
RSP:0x0000007fa277b050 RBP:0x0000007fa277b180 RSI:0x00000000015f4a78 RDI:0x0000000000000000
R8:0x0000000000000000 R9:0x0000000000000000 R10:0x0000000100000000 R11:0x0000000062430000
R12:0x0000000000000003 R13:0x0000000000000064 R14:0x0000000000000060 R15:0x00000000015f4a78
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
RSP-0x20:0x00000000565ce250 RSP-0x18:0x0000000000000128 RSP-0x10:0x0000000062434b80 RSP-0x08:0x0000000000000002
RSP+0x00:0x0000000000ec8fa0 RSP+0x08:0x0000003f10187860 RSP+0x10:0x0000000000000003 RSP+0x18:0x0000000000aa9280
zsh: segmentation fault BOX64_PREFER_EMULATED=1 /mnt/local/Utils/box6420240709 ./EoCApp
Is this fixed now?
Using the latest git build, I can see the syscalls are indeed not reported as error now. However, I now get a strong SIGSEVG:
❯ BOX64_PREFER_EMULATED=1 /mnt/local/Utils/box6420240709 ./EoCApp Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz Params database has 69 entries Params database has 86 entries Using bash "/home/hugo/mylibs/x64lib/bash" Box64 with Dynarec v0.2.9 fdc7e9d1 built on Jul 9 2024 08:29:00 BOX64: Didn't detect 48bits of address space, considering it's 39bits BOX64: Prefering Emulated libs Counted 67 Env var BOX64 LIB PATH: /opt/wayfire/lib/aarch64-linux-gnu/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/opt/wayfire/bin/:/home/hugo/.local/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/home/hugo/.local/bin/:/home/hugo/fzf-zsh-plugin/bin/:/home/hugo/.fzf/bin/ Looking for ./EoCApp Rename process to "EoCApp" Using emulated libc++abi.so.1 Using emulated libicuuc.so.54 Using emulated libicudata.so.54 Using emulated libSDL2-2.0.so.1 Using native(wrapped) libz.so.1 Using emulated libpcre.so.3 Using emulated libjpeg.so.8 Using emulated libpng16.so.16 Using emulated libosiris.so.2 Using emulated libopenal.so.1 Using emulated libbink2.so Using native(wrapped) libGL.so.1 Using emulated libGLEW.so.1.10 Using emulated libsteam_api.so Using emulated libOGLBinding.so Using emulated libGameEngine.so Using emulated libRenderFramework.so Using emulated libCoreLib.so Using emulated libc++.so.1 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) libdl.so.2 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6 7117|SIGSEGV @0x7fa0697d84 (???(0x7fa0697d84)) (x64pc=0x3f10064930/libCoreLib.so:"libCoreLib.so/_ZN2ls13ThreadManager26RegisterThreadLocalWrapperEPNS_19IThreadLocalWrapperE", rsp=0x7fa277b050, stack=0x7fa1f7c000:0x7fa277c000 own=(nil) fp=0x7fa277b180), for accessing 0x64 (code=1/prot=0), db=0x7fa04c6fb8(0x7fa0697d48:0x7fa06980f0/0x3f10064910:0x3f100649bb/libCoreLib.so/_ZN2ls13ThreadManager26RegisterThreadLocalWrapperEPNS_19IThreadLocalWrapperE:clean, hash:7580ce6b/7580ce6b) handler=(nil) RAX:0x00000000ffffffff RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000000 RSP:0x0000007fa277b050 RBP:0x0000007fa277b180 RSI:0x00000000015f4a78 RDI:0x0000000000000000 R8:0x0000000000000000 R9:0x0000000000000000 R10:0x0000000100000000 R11:0x0000000062430000 R12:0x0000000000000003 R13:0x0000000000000064 R14:0x0000000000000060 R15:0x00000000015f4a78 ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 RSP-0x20:0x00000000565ce250 RSP-0x18:0x0000000000000128 RSP-0x10:0x0000000062434b80 RSP-0x08:0x0000000000000002 RSP+0x00:0x0000000000ec8fa0 RSP+0x08:0x0000003f10187860 RSP+0x10:0x0000000000000003 RSP+0x18:0x0000000000aa9280 zsh: segmentation fault BOX64_PREFER_EMULATED=1 /mnt/local/Utils/box6420240709 ./EoCApp
Same error on commit f30d75a
Try to also use BOX64_MALLOC_HACK=2
and see if it improve things.
Try to also use
BOX64_MALLOC_HACK=2
and see if it improve things.
LIBGL_ALWAYS_SOFTWARE=true BOX64_MALLOC_HACK=2 ./runner.sh
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz
Params database has 80 entries
Params database has 103 entries
Using bash "/home/hugo/mylibs/x64lib/bash"
Box64 with Dynarec v0.3.0 built on Jul 10 2024 12:55:27
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 68 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/wayfire/bin/:/home/hugo/.local/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/usr/local/go/bin/:/home/hugo/.local/bin/:/home/hugo/fzf-zsh-plugin/bin/:/home/hugo/.fzf/bin/
Looking for ./EoCApp
Rename process to "EoCApp"
Using emulated libc++abi.so.1
Using emulated libicuuc.so.54
Using emulated libicudata.so.54
Using native(wrapped) libSDL2-2.0.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libz.so.1
Using native(wrapped) libpcre.so.3
Using emulated libjpeg.so.8
Using native(wrapped) libpng16.so.16
Using emulated libosiris.so.2
Using native(wrapped) libopenal.so.1
Using emulated libbink2.so
Using native(wrapped) libGL.so.1
Using emulated libGLEW.so.1.10
Using emulated libsteam_api.so
Using emulated libOGLBinding.so
Using emulated libGameEngine.so
Using emulated libRenderFramework.so
Using emulated libCoreLib.so
Using emulated libc++.so.1
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
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
9069|SIGSEGV @0x7f87f65cf4 (???(0x7f87f65cf4)) (x64pc=0x3f0c064930/libCoreLib.so:"libCoreLib.so/_ZN2ls13ThreadManager26RegisterThreadLocalWrapperEPNS_19IThreadLocalWrapperE", rsp=0x7f8b21b040, stack=0x7f8aa1c000:0x7f8b21c000 own=(nil) fp=0x7f8b21b170), for accessing 0x64 (code=1/prot=0), db=0x7f87d96ec8(0x7f87f65cb8:0x7f87f66060/0x3f0c064910:0x3f0c0649bb/libCoreLib.so/_ZN2ls13ThreadManager26RegisterThreadLocalWrapperEPNS_19IThreadLocalWrapperE:clean, hash:7580ce6b/7580ce6b) handler=(nil)
RAX:0x00000000ffffffff RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000000
RSP:0x0000007f8b21b040 RBP:0x0000007f8b21b170 RSI:0x00000000015f4a78 RDI:0x0000000000000000
R8:0x0000000000000000 R9:0x0000000000000000 R10:0x0000000100000000 R11:0x0000000062430000
R12:0x0000000000000003 R13:0x0000000000000064 R14:0x0000000000000060 R15:0x00000000015f4a78
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
RSP-0x20:0x00000000683434a0 RSP-0x18:0x0000000000000128 RSP-0x10:0x0000000062434b80 RSP-0x08:0x0000000000000002
RSP+0x00:0x0000000000ec8fa0 RSP+0x08:0x0000003f0c187860 RSP+0x10:0x0000000000000003 RSP+0x18:0x0000000000aa9280
Segmentation fault
Same result with today's build
Hardware: Pi4
Try to run the game Console output:
pi@raspberrypi:~/games/Divinity_Original/game $ ./runner.sh Box64 with Dynarec v0.1.3 84626f0 built on Jul 28 2021 15:59:05 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 25 Env var Looking for ./EoCApp Using emulated libc++abi.so.1 Using emulated libicuuc.so.54 Using emulated libicudata.so.54 Using native(wrapped) libSDL2-2.0.so.1 Using native(wrapped) libdl.so.2 Using native(wrapped) libm.so.6 Using native(wrapped) librt.so.1 Using native(wrapped) libpthread.so.0 Using native(wrapped) libz.so.1 Using native(wrapped) libpcre.so.3 Using emulated libjpeg.so.8 Using native(wrapped) libpng16.so.16 Using emulated libosiris.so.2 Using native(wrapped) libopenal.so.1 Using emulated libbink2.so Using native(wrapped) libGL.so.1 Using emulated libGLEW.so.1.10 Using emulated libsteam_api.so Using emulated libOGLBinding.so Using emulated libGameEngine.so Using emulated libRenderFramework.so Using emulated libCoreLib.so Using emulated libc++.so.1 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 emulated /lib/x86_64-linux-gnu/libstdc++.so.6 Error: Unsupported libc Syscall 0x13B (315)