Packaging - Ubuntu 18.04: Crash on startup
Have reports from Discord & Twitter that the packaged app is crashing.
So far - seems exclusive to Ubuntu. Trying to track down:
- Which Ubuntu versions are affected?
- Are both the
AppImageandtar.gzaffected?
One report is from 18.04 (on twitter: https://twitter.com/koutselakis_m/status/1156645449622835200)
➜ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
both AppImage and tar.gz
Note: I can run and build from source for master branch
Thanks @thangngoc89 ! So far, seems like 18.04 is hitting it. Will see if I can get a Ubuntu 18.04 environment set up to test. That's interesting that build-from-source works but packaging fails.
I tested on Ubuntu 18.10 and everything worked perfectly. I can try to get a 18.04 build setup as well later if useful.
@CrossR - that would be awesome!
I wonder if it is related to a certain lib not being installed - I was a bit concerned with the GTK packaging. Would be helpful to run the binary directly and see if there is any logging (ie, via the ONI2_DEBUG=1 environment variable), or if its crashing before the dylibs are loaded.
Reported on 16.04 as well -
Maybe because of this?

I have the same issue on Linux Mint, crash on startup. A windows appear for a short moment then nothing.
And the is the following in .xsession-erorrs:
Cinnamon warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x7a00007 (Oni2)
So the issue here is the following:
[ERROR] Error loading configuration file: Error creating configuration files because: Failed to copy from /home/ryan/Downloads/assets/configuration/configuration.json to /home/ryan/.config/oni2/configuration.json, encountered No such file or directory, whilst calling open with /home/ryan/Downloads/assets/configuration/configuration.json
That is, we try to copy the default config over, but the copy isn't AppImage aware, so its failing since its looking for a folder inside my Download folder, not inside the AppImage.
Fixing that error temporarily (by manually just making that folder by copying it from the source) shows a second error:
/tmp/.mount_Onivim0xUSAh/usr/bin/Oni2: symbol lookup error: /tmp/.mount_Onivim0xUSAh/usr/bin/Oni2: undefined symbol: hb_blob_create_from_file
Which looks HarfBuzz related.
The first error is just because we are copying the config badly. The real fix for that I think is to just drop copying that file altogether, and instead generate the config from the default we already have using yojson to save the file. That way we skip this error and only have 1 version of the truth. That issue is tracked over in #356.
The second issue is more of a pain and points towards some incompatibility with Harfbuzz that is packaged and Revery (I think).
Yes, good call on the harfbuzz issue @koutselakismanos and @CrossR ! Nice find!
Indeed... I think what is happening is we are using an API that is too-new in harfbuzz. We brought in this PR for reason-fontkit: https://github.com/revery-ui/reason-fontkit/pull/19 assuming that we'd statically link the binary.
We then ended up using dynamic libs instead, which AppImage handles by bundling.....
...except harfbuzz is listed as a dependency to exclude (https://github.com/AppImage/pkg2appimage/blob/master/excludelist) - it's assumed to be present on most host systems.
Just to confirm, would anyone experiencing the crash mind checking their harfbuzz version?
The fix will be revert that PR, go back to the old way of loading fonts via harfbuzz, and pick up that in Revery/Onivim 2.
@bryphe seems to not be installed at all.
Interesting, thanks for the data point @koutselakismanos . If that's the case... perhaps our best bet is to tweak the exclude list to include our versions of harfbuzz/freetype (aka... remove them from the exclude list)
I am sorry, i had to double check.
$ ldconfig -p | grep harfbuzz
libharfbuzz.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
libharfbuzz.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz.so
libharfbuzz-icu.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz-icu.so.0
libharfbuzz-icu.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz-icu.so
libharfbuzz-gobject.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz-gobject.so.0
libharfbuzz-gobject.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz-gobject.so
and `$ ldconfig -v | grep harfbuzz libharfbuzz-gobject.so.0 -> libharfbuzz-gobject.so.0.10702.0 libharfbuzz.so.0 -> libharfbuzz.so.0.10702.0 /sbin/ldconfig.real: /lib32/ld-2.27.so is the dynamic linker, ignoring
libharfbuzz-icu.so.0 -> libharfbuzz-icu.so.0.10702.0`
(✓) 17:00:06 [~]
$ uname -a
Linux p5520 5.0.0-21-generic #22+system76-Ubuntu SMP Tue Jul 16 19:57:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
(✓) 17:00:27 [~]
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Pop!_OS 18.04 LTS"
(✓) 17:00:31 [~]
$ ldconfig -p | rg harfbuzz
libheimntlm.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
libheimbase.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libheimbase.so.1
libhcrypto.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
libharfbuzz.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
libharfbuzz-icu.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libharfbuzz-icu.so.0
libhardsid-builder.so.0 (libc6,x86-64) => /usr/lib/libhardsid-builder.so.0
libgxps.so.2 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgxps.so.2
libgweather-3.so.15 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgweather-3.so.15
(✓) 17:00:39 [~]
$ ldconfig -v | rg harfbuzz
libgvc.so.6 -> libgvc.so.6.0.0
libhcrypto.so.4 -> libhcrypto.so.4.1.0
libfaad.so.2 -> libfaad.so.2.0.0
libharfbuzz-icu.so.0 -> libharfbuzz-icu.so.0.10702.0
libmu_pop.so.5 -> libmu_pop.so.5.0.5
libatomic.so.1 -> libatomic.so.1.2.0
libip6tc.so.0 -> libip6tc.so.0.1.0
--
libgstrtp-1.0.so.0 -> libgstrtp-1.0.so.0.1404.0
libwps-0.4.so.4 -> libwps-0.4.so.4.0.8
libXt.so.6 -> libXt.so.6.0.0
libharfbuzz.so.0 -> libharfbuzz.so.0.10702.0
libKF5ItemViews.so.5 -> libKF5ItemViews.so.5.44.0
libbrotlienc.so.1 -> libbrotlienc.so.1.0.4
libcilkrts.so.5 -> libcilkrts.so.5.0.0
Cool, thanks @pckilgore !
Would it be possible to see the output of apt-cache showpkg libharfbuzz? If its <1.7.7, that would confirm the linking issue
Ping a very busy @bryphe I'm sure :stuck_out_tongue_winking_eye:
(✓) 17:13:28 [~]
$ apt-cache showpkg libharfbuzz
N: Unable to locate package libharfbuzz
(✓) 17:13:38 [~]
$ apt-cache showpkg libharfbuzz
libharfbuzz0b libharfbuzz-dev libharfbuzz-gobject0
libharfbuzz-bin libharfbuzz-doc libharfbuzz-icu0
(✓) 17:13:38 [~]
$ apt-cache showpkg libharfbuzz0b
Package: libharfbuzz0b
Versions:
1.7.2-1ubuntu1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages
MD5: c01a2a5a6349f465ee349884ac4d8667
Description Language:
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_bionic_main_binary-i386_Packages
MD5: c01a2a5a6349f465ee349884ac4d8667
Description Language: en
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_bionic_main_i18n_Translation-en
MD5: c01a2a5a6349f465ee349884ac4d8667
Reverse Depends:
libqt5webenginecore5,libharfbuzz0b 0.9.28
openscad-testing,libharfbuzz0b 0.9.9
openscad,libharfbuzz0b 0.9.9
scribus-trunk,libharfbuzz0b 0.9.42
scribus-ng,libharfbuzz0b 0.9.42
vlc-plugin-base,libharfbuzz0b 0.9.4
libwebkit2gtk-4.0-37-gtk2,libharfbuzz0b 1.4.1
texlive-binaries,libharfbuzz0b 1.4.1
libwebkit2gtk-4.0-37,libharfbuzz0b 1.4.1
libreoffice-core,libharfbuzz0b 0.9.42
libqt5gui5,libharfbuzz0b 1.2.6
libpangoft2-1.0-0,libharfbuzz0b 1.2.6
gtk-3-examples,libharfbuzz0b 0.9.9
vlc-plugin-base,libharfbuzz0b 0.9.4
mupdf-tools,libharfbuzz0b 0.9.11
mupdf,libharfbuzz0b 0.9.11
mlterm-common,libharfbuzz0b 0.9.9
libwebkitgtk-3.0-0,libharfbuzz0b 0.9.18
libwebkitgtk-1.0-0,libharfbuzz0b 0.9.18
libwebkit2gtk-4.0-37-gtk2,libharfbuzz0b 1.4.1
libttfautohint1,libharfbuzz0b 0.9.11
libraqm0,libharfbuzz0b 1.2.6
libreoffice-core,libharfbuzz0b 0.9.42
libmapserver2,libharfbuzz0b 0.9.11
libmapnik3.0,libharfbuzz0b 1.2.6
libharfbuzz-bin,libharfbuzz0b 1.5.1
libass9,libharfbuzz0b 0.9.9
gnome-sushi,libharfbuzz0b 0.6.0
libharfbuzz0b:i386,libharfbuzz0b 1.7.2-1ubuntu1
libharfbuzz0b:i386,libharfbuzz0b 1.7.2-1ubuntu1
texlive-binaries,libharfbuzz0b 1.4.1
libwebkit2gtk-4.0-37,libharfbuzz0b 1.4.1
libharfbuzz-icu0,libharfbuzz0b 0.9.4
libqt5gui5,libharfbuzz0b 1.2.6
libpangoft2-1.0-0,libharfbuzz0b 1.2.6
libicu-le-hb0,libharfbuzz0b 1.0.3
gnome-font-viewer,libharfbuzz0b 0.9.9
libharfbuzz-gobject0,libharfbuzz0b 0.9.9
libharfbuzz-dev,libharfbuzz0b 1.7.2-1ubuntu1
gtk-3-examples,libharfbuzz0b 0.9.9
gir1.2-harfbuzz-0.0,libharfbuzz0b 1.6.0
Dependencies:
1.7.2-1ubuntu1 - libc6 (2 2.14) libfreetype6 (2 2.7.1) libglib2.0-0 (2 2.31.8) libgraphite2-3 (2 1.2.2) libharfbuzz0 (0 (null)) libharfbuzz0a (0 (null)) libharfbuzz0 (0 (null)) libharfbuzz0a (0 (null)) libharfbuzz0b:i386 (35 1.7.2-1ubuntu1) libharfbuzz0b:i386 (38 1.7.2-1ubuntu1)
Provides:
1.7.2-1ubuntu1 -
Reverse Provides:
Here is what I get with strace on Debian 9:
brk(NULL) = 0x8e1000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=167859, ...}) = 0
mmap(NULL, 167859, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f58100ad000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f58100ab000
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f580fcaf000
mprotect(0x7f580fcb2000, 2093056, PROT_NONE) = 0
mmap(0x7f580feb1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f580feb1000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f580fa92000
mprotect(0x7f580faaa000, 2093056, PROT_NONE) = 0
mmap(0x7f580fca9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f580fca9000
mmap(0x7f580fcab000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f580fcab000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=105088, ...}) = 0
mmap(NULL, 2200072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f580f878000
mprotect(0x7f580f891000, 2093056, PROT_NONE) = 0
mmap(0x7f580fa90000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7f580fa90000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f580f4d9000
mprotect(0x7f580f66e000, 2097152, PROT_NONE) = 0
mmap(0x7f580f86e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f580f86e000
mmap(0x7f580f874000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f580f874000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f58100a9000
arch_prctl(ARCH_SET_FS, 0x7f58100a9b40) = 0
mprotect(0x7f580f86e000, 16384, PROT_READ) = 0
mprotect(0x7f580fa90000, 4096, PROT_READ) = 0
mprotect(0x7f580fca9000, 4096, PROT_READ) = 0
mprotect(0x7f580feb1000, 4096, PROT_READ) = 0
mprotect(0x7f58100d6000, 4096, PROT_READ) = 0
munmap(0x7f58100ad000, 167859) = 0
set_tid_address(0x7f58100a9e10) = 20029
set_robust_list(0x7f58100a9e20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f580fa97bd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f580faa30e0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f580fa97c60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f580faa30e0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x8e1000
brk(0x902000) = 0x902000
open("/proc/self/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=39899112, ...}) = 0
read(3, "\177ELF\2\1\1\0AI\2\0\0\0\0\0\2\0>\0\1\0\0\0\220F@\0\0\0\0\0"..., 4096) = 4096
lseek(3, 0, SEEK_SET) = 0
read(3, "\177ELF\2\1\1\0AI\2\0\0\0\0\0\2\0>\0\1\0\0\0\220F@\0\0\0\0\0"..., 4096) = 4096
lseek(3, 184320, SEEK_SET) = 184320
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
close(3) = 0
readlink("/proc/self/exe", "/opt/onivim2/oni", 4096) = 16
futex(0x7f580feb20a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=167859, ...}) = 0
mmap(NULL, 167859, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f58100ad000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libfuse.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320~\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=252024, ...}) = 0
mmap(NULL, 2347296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f580f29b000
mprotect(0x7f580f2c6000, 2097152, PROT_NONE) = 0
mmap(0x7f580f4c6000, 77824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b000) = 0x7f580f4c6000
close(3) = 0
mprotect(0x7f580f4c6000, 73728, PROT_READ) = 0
munmap(0x7f58100ad000, 167859) = 0
getpid() = 20029
mkdir("/tmp/.mount_oniOJxeXI", 0700) = 0
pipe([3, 4]) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f58100a9e10) = 20030
close(4) = 0
read(3, 0x7ffccf4631dc, 1) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20030, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
read(3, "x", 1) = 1
wait4(20030, NULL, 0, NULL) = 20030
open("/tmp/.mount_oniOJxeXI", O_RDONLY) = 4
dup2(4, 1023) = 1023
close(4) = 0
access("/opt/onivim2/oni.home", W_OK) = -1 ENOENT (No such file or directory)
access("/opt/onivim2/oni.config", W_OK) = -1 ENOENT (No such file or directory)
getcwd("/home/david", 1024) = 12
execve("/tmp/.mount_oniOJxeXI/AppRun", ["oni"], [/* 54 vars */]) = 0
brk(NULL) = 0x55e88bcb7000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=167859, ...}) = 0
mmap(NULL, 167859, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f18dabd8000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f18dabd6000
mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f18da63f000
mprotect(0x7f18da7d4000, 2097152, PROT_NONE) = 0
mmap(0x7f18da9d4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x195000) = 0x7f18da9d4000
mmap(0x7f18da9da000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f18da9da000
close(4) = 0
arch_prctl(ARCH_SET_FS, 0x7f18dabd7480) = 0
mprotect(0x7f18da9d4000, 16384, PROT_READ) = 0
mprotect(0x55e88a44e000, 8192, PROT_READ) = 0
mprotect(0x7f18dac01000, 4096, PROT_READ) = 0
munmap(0x7f18dabd8000, 167859) = 0
getpid() = 20029
rt_sigaction(SIGCHLD, {sa_handler=0x55e88a244ef0, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f18da672060}, NULL, 8) = 0
geteuid() = 1000
brk(NULL) = 0x55e88bcb7000
brk(0x55e88bcd8000) = 0x55e88bcd8000
getppid() = 20027
stat("/home/david", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/tmp/.mount_oniOJxeXI/AppRun", O_RDONLY) = 4
fcntl(4, F_DUPFD, 10) = 10
close(4) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x55e88a244ef0, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f18da672060}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f18da672060}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f18da672060}, NULL, 8) = 0
read(10, "#!/bin/sh\nHERE=$(dirname $(readl"..., 8192) = 168
pipe([4, 5]) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f18dabd7750) = 20035
close(5) = 0
read(4, "/tmp/.mount_oniOJxeXI\n", 128) = 22
read(4, "", 128) = 0
close(4) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20035, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 20035
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f18dabd7750) = 20037
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 20037
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20037, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 20037
read(10, "", 8192) = 0
exit_group(0) = ?
+++ exited with 0 +++
I brought in #527 for this and kicked off a new publish CI build - portal should be updated in an hour or so with new builds 🤞
Hello! I don't know if this helps, but I run OniVim without problems on Ubuntu 18.04. I installed libharfbuzz-1.7.2 from Synaptic (the package manager), but I also downloaded the libharfbuzz-2.5.1 source code and built/installed it.
I am not completely sure if this is relevant. If not, please, ignore it. If you require more information, please, feel free to contact me.
The new appimage no more crash for me! :)