summary refs log tree commit diff stats
path: root/results/scraper/box64/72
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--results/scraper/box64/7219
-rw-r--r--results/scraper/box64/7248
-rw-r--r--results/scraper/box64/725102
-rw-r--r--results/scraper/box64/7283
-rw-r--r--results/scraper/box64/7294
5 files changed, 136 insertions, 0 deletions
diff --git a/results/scraper/box64/72 b/results/scraper/box64/72
new file mode 100644
index 000000000..1c5c4f2eb
--- /dev/null
+++ b/results/scraper/box64/72
@@ -0,0 +1,19 @@
+Some problems of R_RIP assignment
+x64run.c ==>

+...

+case FF:

+...

+    case 4:

+        R_RIP = (uintptr_t)getAlternate((void*)ED->q[0]);

+        STEP

+        break;

+    case 5:

+        if(nextop>0xc0){

+ ...   

+        }else {

+            R_RIP = ED->q[0];

+            R_CS = (ED+1)->word[0];

+ ...

+

+Why the first ‘R_ RIP = (uintptr_t)getAlternate((void*)ED->q[0]);’ and second ‘R_RIP = ED->q[0];’?

+I think the second place should be ‘R_RIP = (uintptr_t)getAlternate((void*)ED->q[0]);’, right?
\ No newline at end of file
diff --git a/results/scraper/box64/724 b/results/scraper/box64/724
new file mode 100644
index 000000000..9a21848ac
--- /dev/null
+++ b/results/scraper/box64/724
@@ -0,0 +1,8 @@
+Incorrect strncat use
+`strncat` function's third argument limits amount of bytes read from source (second arg), and not maximal allowed size of destination buffer (first arg) - https://linux.die.net/man/3/strncat

+

+If `HOME` envvar has length 4095, then 8 additional bytes will be written outside of buffer by the `strncat`.

+

+https://github.com/ptitSeb/box64/blob/60c6858916aa9e5332fad5cb52c448893e5bd2ef/src/main.c#L1217-L1231

+

+Moreover, `tmp` should be initialized with terminating nullbyte before call to the `strncpy` (because the last byte may be not-null, if not explicitly set), or the call should be `strncpy(tmp, p, 4096);` with additional null-termination after call to the `strncpy`.

diff --git a/results/scraper/box64/725 b/results/scraper/box64/725
new file mode 100644
index 000000000..c6fbe6985
--- /dev/null
+++ b/results/scraper/box64/725
@@ -0,0 +1,102 @@
+Seafile Server Professional Edition is not working
+**Disclaimer: I'm completely new to box64**

+

+OS: Ubuntu 22.04.2 LTS

+Box: (installed from repo) Box64 with Dynarec v0.2.3 900f3877 built on Mar 22 2023 07:33:12

+Platform: Ampere A1 (Neoverse-N1) (Oracle Cloud)

+

+Background: Seafile Server is a self-hosted file cloud. **It has the free & open-source Community Edition (with ARM builds) and the Professional Edition (closed-source, free up to 3 users (paid for more users), only x86_64 builds)**. Installation guide: https://manual.seafile.com/deploy_pro/download_and_setup_seafile_professional_server/

+

+Architecture: As far as I know, the file server is written in C, and Seahub, which provides an interface (website + API) to the file server, is written in Python (using the Django framework). The file server is the problematic part.

+

+When I try to start the file server, it fails in the following way:

+```

+ubuntu@test:/opt/seafile/seafile-server-latest$ ./seafile.sh start

+

+Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Neoverse-N1 with 1 Cores

+Params database has 22 entries

+Box64 with Dynarec v0.2.3 900f3877 built on Mar 22 2023 07:33:12

+Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/

+Using default BOX64_PATH: ./:bin/

+Counted 31 Env var

+Looking for /opt/seafile/seafile-pro-server-10.0.3/seafile/bin/seafile-controller

+argv[1]="-t"

+argv[2]="-c"

+argv[3]="/opt/seafile/ccnet"

+argv[4]="-d"

+argv[5]="/opt/seafile/seafile-data"

+argv[6]="-F"

+argv[7]="/opt/seafile/conf"

+Rename process to "seafile-controller"

+Using native(wrapped) libpthread.so.0

+Using emulated /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libcrypto.so.1.1

+Using native(wrapped) libuuid.so.1

+Using emulated /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libevent-2.1.so.6

+Using native(wrapped) libglib-2.0.so.0

+Using emulated /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libjansson.so.4

+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) libdl.so.2

+Look for sysctl in loaded elfs

+Found symbol with version GLIBC_2.17, value = 0xffff8b900900

+Error: Symbol g_list_insert_sorted_with_data not found, cannot apply R_X86_64_JUMP_SLOT @0xffff8b65ded0 (0x3cc6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/bin/seafile-controller

+** Message: 00:24:14.911: seafile-controller.c(1023): loading seafdav config from /opt/seafile/conf/seafdav.conf

+

+Error: Symbol xmlTextWriterStartElement not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e788 (0x10006) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlFreeTextWriter not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e880 (0x101f6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderConstLocalName not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e890 (0x10216) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlReaderForIO not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e898 (0x10226) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterSetIndent not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e8b0 (0x10256) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol lzma_stream_encoder_mt not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e908 (0x10306) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterWriteBase64 not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e918 (0x10326) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterEndElement not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e9b0 (0x10456) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterWriteAttribute not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5e9c8 (0x10486) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterWriteFormatAttribute not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ea18 (0x10526) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderRead not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ea40 (0x10576) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterWriteString not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ea58 (0x105a6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderIsEmptyElement not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5eb30 (0x10756) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderSetErrorHandler not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5eb60 (0x107b6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol lzma_cputhreads not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5eb80 (0x107f6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol lzma_crc32 not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5eb90 (0x10816) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterEndDocument not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ec08 (0x10906) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderNodeType not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ec20 (0x10936) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderConstValue not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ec30 (0x10956) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextWriterStartDocument not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ec58 (0x109a6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlNewTextWriterMemory not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ed28 (0x10b46) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderMoveToNextAttribute not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5edf0 (0x10cd6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlFreeTextReader not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ee78 (0x10de6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol xmlTextReaderMoveToFirstAttribute not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5eec0 (0x10e76) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: Symbol lzma_memusage not found, cannot apply R_X86_64_JUMP_SLOT @0xffffbcf5ef78 (0x10fe6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/libarchive.so.13

+Error: relocating Plt symbols in elf libarchive.so.13

+Error: Symbol tfind not found, cannot apply R_X86_64_JUMP_SLOT @0xffffadcd8d18 (0x29a6) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/librdmacm.so.1

+Error: Symbol tdelete not found, cannot apply R_X86_64_JUMP_SLOT @0xffffadcd8de8 (0x2b46) in /opt/seafile/seafile-pro-server-10.0.3/seafile/lib/librdmacm.so.1

+Error: relocating Plt symbols in elf librdmacm.so.1

+Error: loading needed libs in elf /opt/seafile/seafile-pro-server-10.0.3/seafile/bin/seaf-server

+failed to run "seaf-server -t" [65280]

+```

+

+Seahub (the second component) seems to work. It seems to work even with box64 uninstalled (well, it's written in Python). **Note that I had to remove the check whether the file server is running from the startup script:**

+```

+ubuntu@test:/opt/seafile/seafile-server-latest$ ./seahub.sh start 1000

+

+LC_ALL is not set in ENV, set to en_US.UTF-8

+

+Warning: seafile-controller not running. Have you run "./seafile.sh start" ?

+

+Starting seahub at port 1000 ...

+

+Error happened during creating seafile admin.

+

+

+Seahub is started

+

+Done.

+

+ubuntu@test:/opt/seafile/seafile-server-latest$ ss -tunap | grep 1000

+tcp   LISTEN    0      2048             0.0.0.0:1000          0.0.0.0:*     users:(("python3",pid=7379,fd=8),("python3",pid=7378,fd=8),("python3",pid=7377,fd=8),("python3",pid=7376,fd=8),("python3",pid=7375,fd=8),("python3",pid=7374,fd=8))

+```

+

+This is probably not helpful for you at all, but... it works perfectly under a similar emulator, [FEX-Emu](https://github.com/FEX-Emu/FEX).
\ No newline at end of file
diff --git a/results/scraper/box64/728 b/results/scraper/box64/728
new file mode 100644
index 000000000..d80ad9342
--- /dev/null
+++ b/results/scraper/box64/728
@@ -0,0 +1,3 @@
+On an ARM64 phone, when running wine64 cmd with Box64, it can enter the command line normally but will automatically exit after a while.
+this is full trace.log

+[trace.log](https://github.com/ptitSeb/box64/files/11302846/trace.log)

diff --git a/results/scraper/box64/729 b/results/scraper/box64/729
new file mode 100644
index 000000000..4a0182f19
--- /dev/null
+++ b/results/scraper/box64/729
@@ -0,0 +1,4 @@
+Falied to connect to the mount manager (Termux, POCO X3 Pro)
+Hi, I using Wine 6.0 in box64. When I try go to "Drives" in winecfg tab I got "Falied to connect to the mount manager", in box86 all seems fine. In terminal I have this:

+`0298:err:winecfg:open_mountmgr failed to open mount manager err 2`

+But when I launched same Wine on notebook (already built box64 for x86_64) drives mounted fine. There is a box64 or proot problem?
\ No newline at end of file