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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
|
[OnlyOffice] libgtk-3.so Segfault / PltResolver / Symbol Not Found
My setup is termux proot-distro ubuntu 21.10 (aarch64), with GTK3 (x86_64) installed through ubuntu multiarch, i.e. `sudo apt install libgtk-3-0:amd64` (therefore libgtk3 located in /usr/lib/x86_64-linux-gnu/).
I downloaded .deb file from onlyoffice official website in `/tarballs` and unpack to `/tarballs/onlyoffice`. Then run it with:
```
export BOX64_LD_LIBRARY_PATH=/tarballs/onlyoffice/opt/onlyoffice/desktopeditors
export BOX64_PATH=/tarballs/onlyoffice/opt/onlyoffice/desktopeditors
export BOX64_LOG=1
box64 DesktopEditors
```
It happens to be
```
Error: PltResolver: Symbol g_option_group_set_parse_hooks(ver 1: g_option_group_set_parse_hooks) not found, cannot apply R_X86_64_JUMP_SLOT 0x7e7a32bbe0 (0x7e79b939a0) in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
17966|SIGSEGV @0x6497778c (???(box64/0x6497778c)) (x64pc=0x22093/???:"???", rsp=0x7e8cf8a7c0, stack=0x7e8c78d000:0x7e8cf8d000 own=(nil) fp=0x7e8cf8a7c8), for accessing 0x79460 (code=1/prot=81), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
Segmentation fault
```

Full log from terminal:
```
Debug level is 1
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
Box64 with Dynarec v0.1.7 a358167 built on Feb 4 2022 13:21:39
BOX64_LD_LIBRARY_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/:/usr/lib/x86_64-linux-gnu/
BOX64_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/
Counted 48 Env var
Looking for DesktopEditors
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfReader.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libDjVuFile.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libhunspell.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libooxmlsignature.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel_network.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libvideoplayer.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libascdocumentscore.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libqtascdocumentscore.so
Using native(wrapped) libX11.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5PrintSupport.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Svg.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Widgets.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5X11Extras.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Gui.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Network.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Core.so.5
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) librt.so.1
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libgraphics.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libUnicodeConverter.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libHtmlRenderer.so
Using native(wrapped) libm.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicuuc.so.58
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicudata.so.58
Using native(wrapped) libdl.so.2
Error: Global Symbol __libc_single_threaded not found, cannot apply R_X86_64_GLOB_DAT @0x7e886b22c0 ((nil)) in /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfWriter.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5MultimediaWidgets.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Multimedia.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5OpenGL.so.5
Using native(wrapped) libGL.so.1
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libicui18n.so.52
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libicuuc.so.52
Using native(wrapped) libglib-2.0.so.0
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libicudata.so.52
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libXpsFile.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libcef.so
Using emulated /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXi.so.6
Using native(wrapped) libXtst.so.6
Using native(wrapped) libXss.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libasound.so.2
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libatk-bridge-2.0.so.0
Using native(wrapped) libSM.so.6
Using native(wrapped) libICE.so.6
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libatspi.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2
Using emulated /usr/lib/x86_64-linux-gnu/libepoxy.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libfribidi.so.0
Using native(wrapped) libpangoft2-1.0.so.0
Using native(wrapped) libfreetype.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libxkbcommon.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
Using emulated /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libffi.so.8
Using emulated /usr/lib/x86_64-linux-gnu/libgraphite2.so.3
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/platforms/libqxcb.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5XcbQpa.so.5
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5DBus.so.5
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-android'
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/xcbglintegrations/libqxcb-glx-integration.so
Using native(wrapped) libxcb-glx.so.0
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/platforminputcontexts/libibusplatforminputcontextplugin.so
Debug level is 1
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
Box64 with Dynarec v0.1.7 a358167 built on Feb 4 2022 13:21:39
BOX64_LD_LIBRARY_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/:/usr/lib/x86_64-linux-gnu/
BOX64_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/
Counted 49 Env var
Looking for /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/editors_helper
argv[1]="--type=zygote"
argv[2]="--no-sandbox"
argv[3]="--force-device-scale-factor=1"
argv[4]="--log-file=/home/android/.local/share/onlyoffice/desktopeditors/data/cache/log.log"
argv[5]="--log-severity=disable"
argv[6]="--product-version=Chrome/75 AscDesktopEditor/6.2.0"
argv[7]="--lang=en-US"
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libascdocumentscore.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel.so
Using emulated /usr/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) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libgraphics.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel_network.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfWriter.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfReader.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libXpsFile.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libDjVuFile.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libHtmlRenderer.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libhunspell.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libooxmlsignature.so
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libcef.so
Using native(wrapped) libX11.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libm.so.6
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libUnicodeConverter.so
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicuuc.so.58
Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicudata.so.58
Using native(wrapped) libdl.so.2
Error: Global Symbol __libc_single_threaded not found, cannot apply R_X86_64_GLOB_DAT @0x70fbbd02c0 ((nil)) in /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXi.so.6
Using native(wrapped) libXtst.so.6
Using native(wrapped) libXss.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libasound.so.2
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libatk-bridge-2.0.so.0
Using native(wrapped) libSM.so.6
Using native(wrapped) libICE.so.6
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libatspi.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2
Using emulated /usr/lib/x86_64-linux-gnu/libepoxy.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libfribidi.so.0
Using native(wrapped) libpangoft2-1.0.so.0
Using native(wrapped) libfreetype.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libxkbcommon.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
Using emulated /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libffi.so.8
Using emulated /usr/lib/x86_64-linux-gnu/libgraphite2.so.3
Error: PltResolver: Symbol g_option_group_set_parse_hooks(ver 1: g_option_group_set_parse_hooks) not found, cannot apply R_X86_64_JUMP_SLOT 0x7e7a32bbe0 (0x7e79b939a0) in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
17966|SIGSEGV @0x6497778c (???(box64/0x6497778c)) (x64pc=0x22093/???:"???", rsp=0x7e8cf8a7c0, stack=0x7e8c78d000:0x7e8cf8d000 own=(nil) fp=0x7e8cf8a7c8), for accessing 0x79460 (code=1/prot=81), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
Segmentation fault
```
|