summary refs log tree commit diff stats
path: root/results/scraper/box64/278
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--results/scraper/box64/2788
-rw-r--r--results/scraper/box64/278351
-rw-r--r--results/scraper/box64/278450
-rw-r--r--results/scraper/box64/27852
-rw-r--r--results/scraper/box64/278612
-rw-r--r--results/scraper/box64/278738
-rw-r--r--results/scraper/box64/278859
7 files changed, 220 insertions, 0 deletions
diff --git a/results/scraper/box64/278 b/results/scraper/box64/278
new file mode 100644
index 000000000..c270baf2f
--- /dev/null
+++ b/results/scraper/box64/278
@@ -0,0 +1,8 @@
+Compiler errors on AArch64 GCC7
+Starting yesterday, we started getting multiple Box64 compilation errors.

+I've verified and can reproduce on ubuntu bionic 18.04 aarch64 with default gcc7

+

+I am not sure which change caused this, but I know I was able to build successfully 14 days ago on commit:07a65d4

+

+[install-fail-Box64 (1).txt](https://github.com/ptitSeb/box64/files/8468241/install-fail-Box64.1.txt)

+

diff --git a/results/scraper/box64/2783 b/results/scraper/box64/2783
new file mode 100644
index 000000000..d61d9dd03
--- /dev/null
+++ b/results/scraper/box64/2783
@@ -0,0 +1,51 @@
+SIGSEGV / Segmentation Fault when running ModusToolbox 'cgs' tool
+Hello,
+
+I am trying to run the cgs command-line tool from Cypress ModusToolbox v3.1 on a Raspberry Pi 3 with a 64-bit OS. The program crashes with a Segmentation Fault.
+
+This seems to be an emulation bug, as the same process works correctly on a native x86 machine.
+
+Here is my system and version info:
+
+Hardware: Raspberry Pi 3
+
+OS: Raspberry Pi OS 64-bit
+
+Box64 Version: v0.3.7 (from the log)
+
+Here is the full console output from Box64 when the crash occurs. It includes a "CALL to 0x0" warning followed by the SIGSEGV.
+
+[BOX64] Box64 arm64 v0.3.7 d57416f4 with Dynarec built on Jun 27 2025 06:36:03
+[BOX64] Dynarec for ARM64, with extension: ASIMD CRC32
+[BOX64] Running on Cortex-A53 with 4 cores, pagesize: 4096
+[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
+[BOX64] Didn't detect 48bits of address space, considering it's 39bits
+[BOX64] Counted 69 Env var
+[BOX64] Library search path: 
+[BOX64] Binary search path: ./:bin/:/home/mesi/Desktop/tester-sw-3/venv/bin/:/home/mesi/.local/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
+[BOX64] Looking for /home/mesi/ModusToolbox/tools_3.1/airoc-tools/cgs/bin/cgs
+[BOX64] argv[1]="-D/tmp/tmpbdlus7eh/"
+[BOX64] argv[2]="-O"
+[BOX64] argv[3]="DLConfigBD_ADDRBase:8ef364a7eaf3"
+[BOX64] argv[4]="-B/tmp/tmpbdlus7eh/MesiCap.btp"
+[BOX64] argv[5]="-P"
+[BOX64] argv[6]="0x00000000"
+[BOX64] argv[7]="-I/tmp/tmpbdlus7eh/MesiCap_download.hex"
+[BOX64] argv[8]="-H/tmp/tmpbdlus7eh/MesiCap_download.hcd"
+[BOX64] argv[9]="--ss-cgs=/tmp/tmpbdlus7eh/static_patch.cgs"
+[BOX64] argv[10]="-M/tmp/tmpbdlus7eh/MesiCap.cgs.map"
+[BOX64] argv[11]="--cgs-files=/tmp/tmpbdlus7eh/MesiCap.cgs"
+[BOX64] Rename process to "cgs"
+[BOX64] Warning, CALL to 0x0 at 0x400355 (0x400354)
+[BOX64] 3786|SIGSEGV @0x7fa4185658 (???(0x7fa4185658)) (x64pc=0x545479/"/home/mesi/ModusToolbox/tools_3.1/airoc-tools/cgs/bin/cgs + 0x145479", rsp=0x7fa53bdb30, stack=0x7fa4bc0000:0x7fa53c0000 own=(nil) fp=0x21000), for accessing 0x20739 (code=1/prot=0), db=0x7fa4185a45(0x7fa4185658:0x7fa4185add/0x545479:0x545581//home/mesi/ModusToolbox/tools_3.1/airoc-tools/cgs/bin/cgs + 0x145479:clean, hash:238c4842/238c4842) handler=(nil)
+RAX:0x00000000600008d0 RCX:0x0000000000000000 RDX:0x00000000600008d0 RBX:0x0000000000020731 
+RSP:0x0000007fa53bdb30 RBP:0x0000000000000020 RSI:0x00000000600008c8 RDI:0x00000000600008c8 
+ R8:0x0000000000000000  R9:0x0000000060000920 R10:0x00000000600008d8 R11:0x0000000000601301 
+R12:0x0000000000000000 R13:0x000000004995b4d0 R14:0x0000000000000008 R15:0x00000000600008c8 
+ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
+RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000507749 RSP-0x10:0x0000000000000000 RSP-0x08:0x0000000000507a09
+RSP+0x00:0x000000004995ac10 RSP+0x08:0x0000000060000918 RSP+0x10:0xffffff805ac42491 RSP+0x18:0x0000000000000000 x64opcode=48 8B 43 08 4C 8B 73 10 (opcode=f84081aa)
+Segmentation fault
+
+
+Thank you for looking into this.
diff --git a/results/scraper/box64/2784 b/results/scraper/box64/2784
new file mode 100644
index 000000000..25d5ee512
--- /dev/null
+++ b/results/scraper/box64/2784
@@ -0,0 +1,50 @@
+SIGSEGV / Segmentation Fault when running ModusToolbox 'cgs' tool
+Hello,
+
+I am trying to run the cgs command-line tool from Cypress ModusToolbox v3.1 on a Raspberry Pi 3 with a 64-bit OS. The program crashes with a Segmentation Fault.
+
+This seems to be an emulation bug, as the same process works correctly on a native x86 machine.
+
+Here is my system and version info:
+
+Hardware: Raspberry Pi 3
+
+OS: Raspberry Pi OS 64-bit
+
+Box64 Version: v0.3.7 (from the log)
+
+Here is the full console output from Box64 when the crash occurs. It includes a "CALL to 0x0" warning followed by the SIGSEGV.
+
+[BOX64] Box64 arm64 v0.3.7 https://github.com/ptitSeb/box64/commit/d57416f4fb2b75a573e9731c1b33d0c9a1bea234 with Dynarec built on Jun 27 2025 06:36:03
+[BOX64] Dynarec for ARM64, with extension: ASIMD CRC32
+[BOX64] Running on Cortex-A53 with 4 cores, pagesize: 4096
+[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
+[BOX64] Didn't detect 48bits of address space, considering it's 39bits
+[BOX64] Counted 69 Env var
+[BOX64] Library search path:
+[BOX64] Binary search path: ./:bin/:/home/mesi/Desktop/tester-sw-3/venv/bin/:/home/mesi/.local/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
+[BOX64] Looking for /home/mesi/ModusToolbox/tools_3.1/airoc-tools/cgs/bin/cgs
+[BOX64] argv[1]="-D/tmp/tmpbdlus7eh/"
+[BOX64] argv[2]="-O"
+[BOX64] argv[3]="DLConfigBD_ADDRBase:8ef364a7eaf3"
+[BOX64] argv[4]="-B/tmp/tmpbdlus7eh/MesiCap.btp"
+[BOX64] argv[5]="-P"
+[BOX64] argv[6]="0x00000000"
+[BOX64] argv[7]="-I/tmp/tmpbdlus7eh/MesiCap_download.hex"
+[BOX64] argv[8]="-H/tmp/tmpbdlus7eh/MesiCap_download.hcd"
+[BOX64] argv[9]="--ss-cgs=/tmp/tmpbdlus7eh/static_patch.cgs"
+[BOX64] argv[10]="-M/tmp/tmpbdlus7eh/MesiCap.cgs.map"
+[BOX64] argv[11]="--cgs-files=/tmp/tmpbdlus7eh/MesiCap.cgs"
+[BOX64] Rename process to "cgs"
+[BOX64] Warning, CALL to 0x0 at 0x400355 (0x400354)
+[BOX64] 3786|SIGSEGV @0x7fa4185658 (???(0x7fa4185658)) (x64pc=0x545479/"/home/mesi/ModusToolbox/tools_3.1/airoc-tools/cgs/bin/cgs + 0x145479", rsp=0x7fa53bdb30, stack=0x7fa4bc0000:0x7fa53c0000 own=(nil) fp=0x21000), for accessing 0x20739 (code=1/prot=0), db=0x7fa4185a45(0x7fa4185658:0x7fa4185add/0x545479:0x545581//home/mesi/ModusToolbox/tools_3.1/airoc-tools/cgs/bin/cgs + 0x145479:clean, hash:238c4842/238c4842) handler=(nil)
+RAX:0x00000000600008d0 RCX:0x0000000000000000 RDX:0x00000000600008d0 RBX:0x0000000000020731
+RSP:0x0000007fa53bdb30 RBP:0x0000000000000020 RSI:0x00000000600008c8 RDI:0x00000000600008c8
+R8:0x0000000000000000 R9:0x0000000060000920 R10:0x00000000600008d8 R11:0x0000000000601301
+R12:0x0000000000000000 R13:0x000000004995b4d0 R14:0x0000000000000008 R15:0x00000000600008c8
+ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
+RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000507749 RSP-0x10:0x0000000000000000 RSP-0x08:0x0000000000507a09
+RSP+0x00:0x000000004995ac10 RSP+0x08:0x0000000060000918 RSP+0x10:0xffffff805ac42491 RSP+0x18:0x0000000000000000 x64opcode=48 8B 43 08 4C 8B 73 10 (opcode=f84081aa)
+Segmentation fault
+
+Thank you for looking into this.
\ No newline at end of file
diff --git a/results/scraper/box64/2785 b/results/scraper/box64/2785
new file mode 100644
index 000000000..e9d2360b5
--- /dev/null
+++ b/results/scraper/box64/2785
@@ -0,0 +1,2 @@
+Box 0.3.6 regression: nfs mw2005 no work
+before 0.3.6 game works on 0.3.5
\ No newline at end of file
diff --git a/results/scraper/box64/2786 b/results/scraper/box64/2786
new file mode 100644
index 000000000..4173a160d
--- /dev/null
+++ b/results/scraper/box64/2786
@@ -0,0 +1,12 @@
+SVE (scalable vector extension) support
+Hello there
+
+Will there ever be support for scalable vector extension and scalable vector extension 2?
+
+It will help with the emulation process of certain things
+
+Especially the emulation of AVX instructions
+
+Another emulator called fex-emu/fex core already has support for this armv8 feature it makes avx emulation redundant by using SVE and SVE2 for native or almost native level performance with AVX capabilities and features
+
+Hope you'll consider this
\ No newline at end of file
diff --git a/results/scraper/box64/2787 b/results/scraper/box64/2787
new file mode 100644
index 000000000..98140072d
--- /dev/null
+++ b/results/scraper/box64/2787
@@ -0,0 +1,38 @@
+Box64 3.7 on ubuntu / raspberry pi 5 cannot run minecraft bedrock server
+Here are the error messages : 
+
+[BOX64] Error: Symbol pthread_getconcurrency not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0505b8c0 (0xe330) in libldap-2.5.so.0
+[BOX64] Error: Symbol dn_expand not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0505b920 (0xe3f0) in libldap-2.5.so.0
+[BOX64] Error: Symbol res_query not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0505bdf0 (0xed90) in libldap-2.5.so.0
+[BOX64] Error: relocating Plt symbols in elf libldap-2.5.so.0
+[BOX64] Error initializing needed lib libssl.so.3
+[BOX64] Error: Symbol i2d_DSA_SIG not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a6b8 (0xd0b0) in libssh.so.4
+[BOX64] Error: Symbol DH_generate_key not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a790 (0xd260) in libssh.so.4
+[BOX64] Error: Symbol EC_POINT_point2oct not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a828 (0xd390) in libssh.so.4
+[BOX64] Error: Symbol DSA_SIG_set0 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a858 (0xd3f0) in libssh.so.4
+[BOX64] Error: Symbol d2i_ECDSA_SIG not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a8c0 (0xd4c0) in libssh.so.4
+[BOX64] Error: Symbol DH_get0_key not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a958 (0xd5f0) in libssh.so.4
+[BOX64] Error: Symbol DH_size not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a9a8 (0xd690) in libssh.so.4
+[BOX64] Error: Symbol DSA_SIG_get0 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406a9b0 (0xd6a0) in libssh.so.4
+[BOX64] Error: Symbol DSA_SIG_free not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406aa08 (0xd750) in libssh.so.4
+[BOX64] Error: Symbol DH_set0_pqg not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406aa78 (0xd830) in libssh.so.4
+[BOX64] Error: Symbol d2i_DSA_SIG not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406aa88 (0xd850) in libssh.so.4
+[BOX64] Error: Symbol DH_compute_key not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406ab90 (0xda60) in libssh.so.4
+[BOX64] Error: Symbol EC_POINT_cmp not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406abc8 (0xdad0) in libssh.so.4
+[BOX64] Error: Symbol i2d_ECDSA_SIG not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406abf0 (0xdb20) in libssh.so.4
+[BOX64] Error: Symbol ECDH_compute_key not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406ae18 (0xdf70) in libssh.so.4
+[BOX64] Error: Symbol EC_POINT_oct2point not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406ae20 (0xdf80) in libssh.so.4
+[BOX64] Error: Symbol DSA_SIG_new not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406ae90 (0xe060) in libssh.so.4
+[BOX64] Error: Symbol EC_GROUP_cmp not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406aef0 (0xe120) in libssh.so.4
+[BOX64] Error: Symbol DH_set0_key not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0406af58 (0xe1f0) in libssh.so.4
+[BOX64] Error: relocating Plt symbols in elf libssh.so.4
+[BOX64] Error initializing needed lib libzstd.so.1
+[BOX64] Using native(wrapped) libhogweed.so.6
+[BOX64] Using native(wrapped) libnettle.so.8
+[BOX64] Using native(wrapped) libgmp.so.10
+[BOX64] Error loading one of needed lib
+[BOX64] Error initializing needed lib librt.so.1
+[BOX64] Error loading one of needed lib
+[BOX64] Error: Loading needed libs in elf /home/laurent/minecraftbe/LDUMC/./bedrock_server
+
+I am told by chatGPT that some libraries like libssh and libldap are not fully wrapped in Box64. Is that right? Is there someting I can do?
\ No newline at end of file
diff --git a/results/scraper/box64/2788 b/results/scraper/box64/2788
new file mode 100644
index 000000000..f28f65ff1
--- /dev/null
+++ b/results/scraper/box64/2788
@@ -0,0 +1,59 @@
+[WRAPPER] XCreateWindow Display's resource_alloc is x64 entry
+Hi,
+
+testcase: [Scilab 6.0.1](https://www.scilab.org/download/6.0.1/scilab-6.0.1.bin.linux-x86_64.tar.gz)
+XCreateWindow Display's resource_alloc `0x3f180fa330` is x64 entry:
+```
+ ...  =>[BOX64] PltResolver64: Addr=0x3c2aea00, Slot=367 Return=0x3f180e4996(/mnt/home/zhaixiang/scilab-6.0.1/lib/thirdparty/libtk8.5.so/TkpMakeWindow + 0xa6): elf is /mnt/home/zhaixiang/scilab-6.0.1/lib/thirdparty/libtk8.5.so (VerSym=0x7774, deepbind=0, local_maplib=(nil)) func param: 0xffd40328d0, 0x39d...
+[BOX64]             Apply STB_GLOBAL R_X86_64_JUMP_SLOT 0x3f18339548 with sym=XCreateWindow(ver 0: XCreateWindow) (0x3f18033246 -> 0x300d0c00 / box64) 
+ return 0x0
+16823|0x3f180e4996: Calling XCreateWindow(0xffd40328d0, 0x39d, 0, 0, 1, 1, 0, 24, 1, 0xffd404bad0, 0x2a10, 0xffd405d020) 
+=>[BOX64] DEBUG: my_XCreateWindow:1627 resource_alloc: 0x3f180fa330 is x64 entry
+                                                       ^--- x64 entry
+```
+
+`0x3f18000000` is the base address, so just `objdump -d lib/thirdparty/libtk8.5.so` to see `0xfa330` entry:
+```
+00000000000fa330 <AllocXId>:
+   fa330:       55                      push   %rbp   
+   fa331:       48 89 fd                mov    %rdi,%rbp
+   fa334:       53                      push   %rbx   
+   fa335:       48 83 ec 08             sub    $0x8,%rsp
+   fa339:       e8 22 8b f3 ff          callq  32e60 <TkGetDisplay@plt>
+...
+```
+
+libtk [set Display's resource_alloc entry](https://github.com/tcltk/tk/blob/core-8-5-b3/unix/tkUnixXId.c#L80) to `AllocXId`:  
+```
+void
+TkInitXId(
+    TkDisplay *dispPtr)         /* Tk's information about the display. */
+{
+    dispPtr->idStackPtr = NULL;
+    dispPtr->defaultAllocProc = (XID (*) (Display *display))
+            dispPtr->display->resource_alloc;
+=>    dispPtr->display->resource_alloc = AllocXId;
+                                         ^--- x64 entry
+    dispPtr->windowStackPtr = NULL;
+    dispPtr->idCleanupScheduled = (Tcl_TimerToken) 0;
+}
+
+``` 
+
+So SIGILL if just directly jump to x64 entry `0x3f180fa330` but it actually needs a pre-creation of the JIT code for the x64 entry:
+```
+[BOX64] 16823|SIGILL @0x3f180fa330 (???(0x3f180fa330)) (x64pc=0x300d0c13/"???", rsp=0xffeb686198, stack=0xffe3688000:0xffeb688000 
+                                        ^--- x64 entry
+own=0xffe3688000 fp=0xffd405cf80), for accessing (nil) (code=128/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x3f011bb570
+RSP-0x20:0x00000008eb6861a0 RSP-0x18:0x000000ffeb006b00 RSP-0x10:0x000000003c2aea00 RSP-0x08:0x000000000000016f
+RSP+0x00:0x0000003f180e4996 RSP+0x08:0x000000ff00000000 RSP+0x10:0x000000ff00000018 RSP+0x18:0x000000ff00000001
+RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x000000000000039d 
+RSP:0x000000ffeb686198 RBP:0x000000ffd405cf80 RSI:0x000000000000039d RDI:0x000000ffd40328d0 
+ R8:0x0000000000000001  R9:0x0000000000000001 R10:0x000000ffd405ce80 R11:0x0000003f183493a8 
+R12:0x0000003f18349730 R13:0x000000ffd40451c0 R14:0x0000003f18333dc0 R15:0x000000ffd4059a20 
+ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053  opcode=55 48 89 FD 53 48 83 EC (C3 00 00 F4 E6)
+                                                                    ^--- x64 entry
+```
+
+Thanks,
+Leslie Zhai
\ No newline at end of file