What version of WebTorrent Desktop? 0.20.0
What operating system and version? Arch Linux, x86_64
What did you do? Open webtorrent-desktop in command line
What did you expect to happen? Open normally
What actually happened? Segmentation fault (core dumped)
Backtrace:
#0 0x0000000002175b8e in hb_face_reference_table ()
Full: https://paste.ubuntu.com/p/7vNfd6CtWP/
It was all working fine, but all of a sudden this happened. I dont quite remember doing anything particular that might make webtorrent crash. I did delete some cache, but dont quite remember which files.
If you git clone this repo then you can run npm run clean to delete all settings files uses by WebTorrent Desktop. This may fix your issue.
We're also updating the version of Electron we use internally, which may fix crash errors like this one. If you wait until the next version of the app is released and give it a shot, your issue may be resolved.
In the meantime, since Arch is not one of the Linux variants that we officially support, I'm going to close this issue.
Thanks. I do not have the crash when building from master. Nevertheless there is an error when I do npm clean, likely related to https://github.com/isaacs/rimraf/issues/111. I've opened another issue for it
Hello there
when will the next release be released?
I found that downgrading the pango package in arch linux to version 1.43 is a workaround for this error with segfault at launch.
It seems that the error is related to the change in version 1.44 of pango to the HarfBuzz font loader - more info here: https://wiki.archlinux.org/index.php/Fonts#Bitmap
I found that downgrading the pango package in arch linux to version 1.43 is a workaround for this error with segfault at launch.
It seems that the error is related to the change in version 1.44 of pango to the HarfBuzz font loader - more info here: https://wiki.archlinux.org/index.php/Fonts#Bitmap
Thank you very much was in the end
@boskote @TeknoMobil I'm happy that you found a workaround to your issue. If you're able to help out the project a bit more, could I ask you to try upgrading to 1.44 again and testing with the version of WebTorrent Desktop that is in this GitHub repo? This is going to be released as the next version very soon, so it would be good to know if the updated version of Electron we are using resolves this issue. Thanks!
@boskote @TeknoMobil I'm happy that you found a workaround to your issue. If you're able to help out the project a bit more, could I ask you to try upgrading to 1.44 again and testing with the version of WebTorrent Desktop that is in this GitHub repo? This is going to be released as the next version very soon, so it would be good to know if the updated version of Electron we are using resolves this issue. Thanks!
Yes latest git version works :+1:
Electron: 6.0.7
Pango: 1:1.44.6
Test: Arch Linux

@TeknoMobil Thank you so much for testing this for us. 鉂わ笍 You can follow the progress toward releasing the next version here: https://github.com/webtorrent/webtorrent-desktop/issues/1674
To downgrade to Pango <1.44 on Ubuntu 20.04:
curl -O http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpango-1.0-0_1.42.4-7_amd64.deb
curl -O http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangocairo-1.0-0_1.42.4-7_amd64.deb
curl -O http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangoft2-1.0-0_1.42.4-7_amd64.deb
sudo apt-get install -y -q --allow-downgrades ./*.deb
rm ./*.deb
# tell ubuntu not to update these packages automatically
sudo apt-mark hold libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
Most helpful comment
I found that downgrading the pango package in arch linux to version 1.43 is a workaround for this error with segfault at launch.
It seems that the error is related to the change in version 1.44 of pango to the HarfBuzz font loader - more info here: https://wiki.archlinux.org/index.php/Fonts#Bitmap