Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on launch Arch Linux #1644

Closed
aurabindo opened this issue Aug 11, 2019 · 9 comments
Closed

Segfault on launch Arch Linux #1644

aurabindo opened this issue Aug 11, 2019 · 9 comments

Comments

@aurabindo
Copy link

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.

@aurabindo aurabindo changed the title Segfault on Arch Linux Segfault on launch Arch Linux Aug 11, 2019
@feross
Copy link
Member

feross commented Aug 11, 2019

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.

@feross feross closed this as completed Aug 11, 2019
@aurabindo
Copy link
Author

aurabindo commented Aug 12, 2019

Thanks. I do not have the crash when building from master. Nevertheless there is an error when I do npm clean, likely related to isaacs/rimraf#111. I've opened another issue for it

@SerdarSaglam
Copy link

Hello there
when will the next release be released?

@boskote
Copy link

boskote commented Aug 29, 2019

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

@SerdarSaglam
Copy link

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

@feross
Copy link
Member

feross commented Sep 6, 2019

@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!

@SerdarSaglam
Copy link

SerdarSaglam commented Sep 7, 2019

@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 👍
Electron: 6.0.7
Pango: 1:1.44.6

Test: Arch Linux

DeepinScreenshot_20190907151236

@feross
Copy link
Member

feross commented Sep 7, 2019

@teknomobil Thank you so much for testing this for us. ❤️ You can follow the progress toward releasing the next version here: #1674

@delthas
Copy link

delthas commented Nov 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants