diff options
Diffstat (limited to '')
| -rw-r--r-- | results/scraper/box64/165 | 12 | ||||
| -rw-r--r-- | results/scraper/box64/1651 | 92 | ||||
| -rw-r--r-- | results/scraper/box64/1652 | 74 |
3 files changed, 178 insertions, 0 deletions
diff --git a/results/scraper/box64/165 b/results/scraper/box64/165 new file mode 100644 index 000000000..b0f4f712b --- /dev/null +++ b/results/scraper/box64/165 @@ -0,0 +1,12 @@ +Dead Cells crash +I installed Dead Cells through steamcmd and attempted starting it with steamcmd running in the background. +The game crashes with the following error: +``` +33317|SIGSEGV @0x9932193c (???(0x9932193c)) (x64pc=0xffff818b92c7/???:"???", rsp=0xffff8e9b1d50, stack=0xffff8e1b5000:0xffff8e9b5000 own=(nil) fp=0x40010000), for accessing 0xffffffff9621cf38 (code=1/prot=0), db=0x9907a6b0(0x9932191c:0x99321980/0xffff818b92b4:0xffff818b92d5/???:clean, hash:75271b03/75271b03) handler=0xffff8ea540a0 +SIGNAL 11 +$Type.init(/home/gitlab-runner/builds/YGjLkpLM/0/motion-twin/deadcells/client/.tools/haxe/std/hl/_std/Type.hx:42) +fun$25425(Achievements.hx:0) +33317|SIGSEGV @0xffff8f7de2ac (gsignal (/lib/aarch64-linux-gnu/libc.so.6)) (x64pc=0x26f53/???:"???", rsp=0xffff8e9b1980, stack=0xffff8e1b5000:0xffff8e9b5000 own=(nil) fp=0xffff8e9b1d60), for accessing 0x3e900008225 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil) +``` + +The full console output is here: https://paste.debian.net/hidden/693ac897/ \ No newline at end of file diff --git a/results/scraper/box64/1651 b/results/scraper/box64/1651 new file mode 100644 index 000000000..524c90d49 --- /dev/null +++ b/results/scraper/box64/1651 @@ -0,0 +1,92 @@ +DanserGo: need help with acquiring Shared Object files +I am getting lots of errors and end up using the .so files i got from Debian Bookworm x64(Qemu + Proot in termux), i think getting danser to work can be possible but you will need ALOT of external .so files that i cant find, here is the log: + +~/danserosu $ box64 danser +Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 with 8 Cores +Hardware counter to slow (0 kHz), not using it +Will use Software counter measured at 1.0 GHz emulating 2.0 GHz +Params database has 69 entries +Box64 with Dynarec v0.2.8 built on Jun 8 2024 16:34:26 +BOX64: Didn't detect 48bits of address space, considering it's 39bits +Counted 37 Env var +BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/ +BOX64 BIN PATH: ./:bin/:/data/data/com.termux/files/usr/glibc/bin/:/data/data/com.termux/files/usr/bin/ +Looking for danser +Rename process to "danser" +Using emulated libdanser-core.so +Using native(wrapped) libc.so.6 +Using native(wrapped) ld-linux-x86-64.so.2 +Using native(wrapped) libpthread.so.0 +Using native(wrapped) libdl.so.2 +Using native(wrapped) libutil.so.1 +Using native(wrapped) libresolv.so.2 +Using native(wrapped) librt.so.1 +Using native(wrapped) libbsd.so.0 +Error initializing native libGL.so.1 (last dlerror is libGL.so.1: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libGL.so.1 +Error initializing native libX11.so.6 (last dlerror is libX11.so.6: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libX11.so.6 +Using emulated libbass.so +Using emulated libbass_fx.so +Using emulated libbassmix.so +Error initializing native libgtk-3.so.0 (last dlerror is libgtk-3.so.0: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libgtk-3.so.0 +Error initializing native libglib-2.0.so.0 (last dlerror is libglib-2.0.so.0: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libglib-2.0.so.0 +Using native(wrapped) libm.so.6 +Using emulated libyuv.so +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libstdc++.so.6 +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libgcc_s.so.1 +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libpcre2-8.so.0 +Error initializing native libgdk-3.so.0 (last dlerror is libgdk-3.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libgdk-3.so.0 +Error initializing native libgmodule-2.0.so.0 (last dlerror is libgmodule-2.0.so.0: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 +Error initializing native libgobject-2.0.so.0 (last dlerror is libgobject-2.0.so.0: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libgobject-2.0.so.0 +Error initializing native libgio-2.0.so.0 (last dlerror is libgio-2.0.so.0: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libgio-2.0.so.0 +Error initializing native libpangocairo-1.0.so.0 (last dlerror is libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libpangocairo-1.0.so.0 +Error initializing native libpango-1.0.so.0 (last dlerror is libpango-1.0.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libpango-1.0.so.0 +Error initializing native libharfbuzz.so.0 (last dlerror is libharfbuzz.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libharfbuzz.so.0 +Error initializing native libcairo.so.2 (last dlerror is libcairo.so.2: cannot open shared object file: No such file or directory) +Error loading needed lib libcairo.so.2 +Error initializing native libpangoft2-1.0.so.0 (last dlerror is libpangoft2-1.0.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libpangoft2-1.0.so.0 +Error initializing native libfontconfig.so.1 (last dlerror is libfontconfig.so.1: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libfontconfig.so.1 +Error loading needed lib libfribidi.so.0 +Error initializing native libcairo-gobject.so.2 (last dlerror is libcairo-gobject.so.2: cannot open shared object file: No such file or directory) +Error loading needed lib libcairo-gobject.so.2 +Error initializing native libgdk_pixbuf-2.0.so.0 (last dlerror is libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libgdk_pixbuf-2.0.so.0 +Error initializing native libatk-1.0.so.0 (last dlerror is libatk-1.0.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libatk-1.0.so.0 +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libepoxy.so.0 +Error initializing native libXi.so.6 (last dlerror is libXi.so.6: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libXi.so.6 +Error initializing native libatk-bridge-2.0.so.0 (last dlerror is libatk-bridge-2.0.so.0: cannot open shared object file: No such file or directory) +Error loading needed lib libatk-bridge-2.0.so.0 +Error initializing native libXfixes.so.3 (last dlerror is libXfixes.so.3: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libXfixes.so.3 +Error loading one of needed lib +Error initializing needed lib libm.so.6 +Error initializing native libxcb.so.1 (last dlerror is libxcb.so.1: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libxcb.so.1 +Error initializing native libXau.so.6 (last dlerror is libXau.so.6: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libXau.so.6 +Error initializing native libXdmcp.so.6 (last dlerror is libXdmcp.so.6: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libXdmcp.so.6 +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libGLdispatch.so.0 +Error initializing native libGLX.so.0 (last dlerror is libGLX.so.0: cannot open shared object file: No such file or directory) +Using emulated /data/data/com.termux/files/usr/glibc/lib/x86_64-linux-gnu/libGLX.so.0 +Error loading one of needed lib +Error initializing needed lib libc.so.6 +Error loading one of needed lib +Error: Loading needed libs in elf /data/data/com.termux/files/home/danserosu/danser +~/danserosu $ + +The unknown libraries are mostly in the start of the log file. \ No newline at end of file diff --git a/results/scraper/box64/1652 b/results/scraper/box64/1652 new file mode 100644 index 000000000..9e747ffdd --- /dev/null +++ b/results/scraper/box64/1652 @@ -0,0 +1,74 @@ +Unexpected Behaviors when Using RISC-V Extension "zbs" +### Description & Investigation + +I tried to run python3.12 on box64, and it crashed with SIGSEGV. Using `BOX64_DYNAREC_TEST=1`, I saw many differences about RIP: + +```txt +Warning, difference between x64 Interpreter and Dynarec in 0x3f001e44b1 (0f 82 82 03 00 00 8d b0) +======================================= +DIFF: Dynarec | Interpreter +---------------------- +RIP: 0000003f001e44b7 | 0000003f001e4839 +Warning, difference between x64 Interpreter and Dynarec in 0x3f001e4405 (0f 82 2d 01 00 00 83 ea) +======================================= +DIFF: Dynarec | Interpreter +---------------------- +RIP: 0000003f001e440b | 0000003f001e4538 +Warning, difference between x64 Interpreter and Dynarec in 0x3f002683c7 (72 2b 2d 00 01 00 00 83) +======================================= +DIFF: Dynarec | Interpreter +(( omitted )) +``` + +These addresses are all in `libpython3.12.so` and `objdump` told me **they all almost look like**: + +```asm +bt %eax,%ecx +jb (( somewhere )) +``` + +The `bt` instruction should set the CF flag and the behavior of the following `jb` instruction depends on it. So I read current code: + +https://github.com/ptitSeb/box64/blob/d6b9fd2860dc097de8aebf147b3aa6d1741ea550/src/dynarec/rv64/dynarec_rv64_0f.c#L1720-L1739 + +and saw `BEXT` will emit to `bext` instruction when "zbs" extension enabled. + +--- + +When turning off the "zbs" extension, `libpython3.12` still crashed but the test log showed other differences irrelative with `bt` instruction: + +```txt +(( BEGIN )) +Warning, difference between x64 Interpreter and Dynarec in 0x3f001ea3f3 (7e 17 83 fe 63 7f 12 89) +======================================= +DIFF: Dynarec | Interpreter +---------------------- +RIP: 0000003f001ea40c | 0000003f001ea3f5 +Warning, difference between x64 Interpreter and Dynarec in 0x3f001ea36f (0f 8f bb 00 00 00 39 c3) +======================================= +DIFF: Dynarec | Interpreter +---------------------- +RIP: 0000003f001ea430 | 0000003f001ea375 +Warning, difference between x64 Interpreter and Dynarec in 0x3f001ea3f3 (7e 17 83 fe 63 7f 12 89) +======================================= +DIFF: Dynarec | Interpreter +---------------------- +RIP: 0000003f001ea40c | 0000003f001ea3f5 +Warning, difference between x64 Interpreter and Dynarec in 0x3f001ea36f (0f 8f bb 00 00 00 39 c3) +======================================= +DIFF: Dynarec | Interpreter +---------------------- +RIP: 0000003f001ea430 | 0000003f001ea375 +(( END )) +``` + +Again, `objdump` told me **they all look like**: + +```asm +cmp (( %esi or $0x63 here )),%eax +jle/jg (( somewhere )) +``` + +--- + +Maybe at least we can say the `bt` instruction with "zbs" extension results in the my first "dynarec test" difference of this issue. And the latter one is still in investigation. \ No newline at end of file |