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

segmentation fault #1671

Closed
zjykzk opened this Issue Aug 10, 2018 · 7 comments

Comments

Projects
None yet
5 participants
@zjykzk
Copy link

zjykzk commented Aug 10, 2018

download the last package on the offical site.

the platform is linux x64

the outout of uname on my machine:
4.17.13-arch1-1-ARCH #1 SMP PREEMPT Mon Aug 6 23:06:31 UTC 2018 x86_64 GNU/Linux

the output from the gdb is:

(gdb) bt
#0  0x0000000000afb1d0 in  ()
#1  0x00007f3e711b3ec2 in node::http2::Http2Session::Callbacks::Callbacks(bool) () at /usr/share/typora/libnode.so
#2  0x00007f3e711b3f85 in  () at /usr/share/typora/libnode.so
#3  0x00007f3e7140f6da in call_init.part () at /lib64/ld-linux-x86-64.so.2
#4  0x00007f3e7140f7da in _dl_init () at /lib64/ld-linux-x86-64.so.2
#5  0x00007f3e7140103a in _dl_start_user () at /lib64/ld-linux-x86-64.so.2
#6  0x0000000000000001 in  ()
#7  0x00007fff156b72c9 in  ()
#8  0x0000000000000000 in  ()

@PaulWoitaschek

This comment has been minimized.

Copy link

PaulWoitaschek commented Aug 10, 2018

Same here. Looks like the same bug mentioned in https://aur.archlinux.org/packages/slack-desktop/

So it might be related to the latest version of glibc. Would love a hotfix!

@PaulWoitaschek

This comment has been minimized.

Copy link

PaulWoitaschek commented Aug 10, 2018

This seems to be the actual error:
https://bugs.archlinux.org/task/59550

@dessalines

This comment has been minimized.

Copy link

dessalines commented Aug 10, 2018

Same.

@abnerlee abnerlee closed this Aug 12, 2018

@abnerlee

This comment has been minimized.

Copy link
Contributor

abnerlee commented Aug 12, 2018

see https://bugs.archlinux.org/task/59550

from https://aur.archlinux.org/packages/slack-desktop/

I had the same issue launching Slack. Downgrading glibc and lib32-glibc solved the issue.

# pacman -U /var/cache/pacman/pkg/lib32-glibc-2.27-3-x86_64.pkg.tar.xz /var/cache/pacman/pkg/glibc-2.27-3-x86_64.pkg.tar.xz
@Anapopo

This comment has been minimized.

Copy link

Anapopo commented Aug 12, 2018

@abnerlee I tried to downgrade glibc , and Typora works.
However, I can not boot my sddm, it depends libQt5Core.so which depends GLIBC_2.28.
So I roll back to v2.28 and Typora cannot work again.

@PaulWoitaschek

This comment has been minimized.

Copy link

PaulWoitaschek commented Aug 13, 2018

Downgrading is not an option for me. Can you make the program compatible with glibc 2.28?

@abnerlee

This comment has been minimized.

Copy link
Contributor

abnerlee commented Aug 13, 2018

It is an upstream bug, which would be fixed in electron/electron#13972

Use patchelf may also be a hot fix: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=slack-desktop

patchelf --set-interpreter "/opt/glibc-2.27/usr/lib/ld-linux-x86-64.so.2" code 
patchelf --set-rpath "/usr/share/Typora-linux-x64/:/opt/glibc-2.27/usr/lib/" code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment