summary refs log tree commit diff stats
path: root/results/scraper/box64/965
blob: 4f80a2ee6ad921a93f73a9ed03c7fd771e086214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Cannot run veeamtransport - Warning: Unsupported libc Syscall 0x11C (284)
I'm trying to run [veeam's](https://www.veeam.com/) transport service binary using box64, since it only supports x86-64 officially. If I just run it without doing anything special, I get the following output:

```
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores
Params database has 25 entries
Warning, unrecognized option '--verbose'
Box64 with Dynarec v0.2.5 aa051b66 built on Aug 27 2023 06:31:14
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 25 Env var
Looking for /opt/veeam/transport/veeamtransport
argv[1]="--run-service"
Rename process to "veeamtransport"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using emulated libacl.so.1
Using native(wrapped) libm.so.6
Using emulated libattr.so.1
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.5 aa051b66 built on Aug 27 2023 06:31:14
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 25 Env var
Looking for /opt/veeam/transport/veeamtransport
argv[1]="--run-environmentsvc"
argv[2]="8:7"
Rename process to "veeamtransport"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using emulated libacl.so.1
Using native(wrapped) libm.so.6
Using emulated libattr.so.1
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.5 aa051b66 built on Aug 27 2023 06:31:14
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 25 Env var
Looking for /opt/veeam/transport/veeamimmureposvc
argv[1]="--subprocess"
argv[2]="--log"
argv[3]="/var/log/VeeamBackup"
argv[4]="--stdio"
argv[5]="10:8"
Rename process to "veeamimmureposvc"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) libm.so.6
Warning: Unsupported libc Syscall 0x11C (284)
Can't log to file
POSIX: Received signal.
Can't log to file
POSIX: Received signal.
Function not implemented
[InotifyMonitor] Failed to create descriptor for unblocking
```

It looks like this syscall is unsupported (eventfd)?

I tried emulating it instead using `$BOX64_EMULATED_LIBS`, but it didn't take effect. I guessed that maybe it's looking for the x86-64 version, so I copied it over from a Debian 10 install, and now it emulates, but I get the following segfault:

```
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores
Params database has 25 entries
Warning, unrecognized option '--verbose'
Box64 with Dynarec v0.2.5 aa051b66 built on Aug 27 2023 06:31:14
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
BOX64 will force the used of emulated libs for libc.so.6
Using default BOX64_PATH: ./:bin/
Counted 25 Env var
Looking for /opt/veeam/transport/veeamtransport
argv[1]="--run-service"
Rename process to "veeamtransport"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using emulated libc.so.6
Redirecting overridden malloc function for libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Error: Global Symbol _dl_argv not found, cannot apply R_X86_64_GLOB_DAT @0x1009d1dd8 ((nil)) in libc.so.6
Using emulated libacl.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using emulated libattr.so.1
Warning: Global Symbol _Jv_RegisterClasses not found, cannot apply R_X86_64_GLOB_DAT @0x100e03b60 ((nil)) in libattr.so.1
Warning: Global Symbol _Jv_RegisterClasses not found, cannot apply R_X86_64_GLOB_DAT @0x100bf6c68 ((nil)) in libacl.so.1
Error: Global Symbol strcmp not found, cannot apply R_X86_64_GLOB_DAT @0xd9ddc8 ((nil)) in /opt/veeam/transport/veeamtransport
FillBlock triggered a segfault at 0x27020 from 0x34c09aa4
FillBlock at 0x27020 triggered a segfault, canceling
1178709|SIGSEGV @0x34bd1f94 (???(/opt/veeam/transport/veeamtransport+0x34bd1f94)) (x64pc=0x27020/???:"???", rsp=0x1007ff520, stack=0x100000000:0x100800000 own=(nil) fp=0x1007ff528), for accessing 0x27020 (code=1/prot=87), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000000000 RSP-0x10:0x0000000000000000 RSP-0x08:0x0000000000000000
RSP+0x00:0x0000000000030080 RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000002 RSP+0x18:0x00000001007ff725
RAX:0x00000001008af7c0 RCX:0x0000000000000000 RDX:0x00000001007ff550 RBX:0x0000000000000000
RSP:0x00000001007ff520 RBP:0x00000001007ff528 RSI:0x00000001007ff538 RDI:0x0000000000000002
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
```