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

Possible glibc issue on x86_64 linux systems #899

Closed
gotbadger opened this issue Apr 13, 2023 · 8 comments
Closed

Possible glibc issue on x86_64 linux systems #899

gotbadger opened this issue Apr 13, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@gotbadger
Copy link
Contributor

gotbadger commented Apr 13, 2023

Description

Currently on linux it looks like we are seeing some segfaults with some users that have the x86_64 instruction set. This is somewhat unexpected as we compile for amd64 here which should be compatible

uname -a

works:

Linux hostname 5.10.0-21-amd64 #1 MP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Linux hostname 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

does not work:

Linux hostname 5.15.0-50-generic #56~20.04.1-Ubuntu SMP Tue Sep 27 15:51:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux hostname 5.13.0-1031-aws #35~20.04.1-Ubuntu SMP Mon Jun 13 22:30:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux hostname 5.15.0-69-generic #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Related

https://stackoverflow.com/questions/75986529/bearer-scan-fails-to-run-for-react-project

@gotbadger gotbadger added the bug Something isn't working label Apr 13, 2023
@vjerci
Copy link
Contributor

vjerci commented Apr 13, 2023

There a discussion here, explaining that for using statically linked binary you need the same version of glibc.
rust-lang/libc#2054

@laluka
Copy link

laluka commented Apr 13, 2023

Happy debugging folks, if this can help.. :)
https://gist.github.com/laluka/a9e36c46cd9be6884cfc34034d507e4a

@gotbadger gotbadger changed the title Possible arch issue on x86_64 linux systems glibc issue on older x86_64 linux systems Apr 14, 2023
@gotbadger gotbadger changed the title glibc issue on older x86_64 linux systems Possible glibc issue on x86_64 linux systems Apr 14, 2023
@gotbadger
Copy link
Contributor Author

We are trying to work out the best approach to this one as its a bit tricky. In the meantime if you have this issue you can always either:

@laluka
Copy link

laluka commented Apr 14, 2023

Yup don't worry, I picked the docker right away, I was just giving feedbacks in case it'd help ;)

@gotbadger
Copy link
Contributor Author

Currently working towards a solution here #921

@gotbadger
Copy link
Contributor Author

gotbadger commented Apr 20, 2023

We've found a performance regression as a result of our fix and we are continuing to investigate and will release a new version as soon as we can. #925

@didroe
Copy link
Contributor

didroe commented Apr 24, 2023

@laluka We've just released 1.4.0 which should fix this issue. Please can you try it out and let us know if it's resolved for you.

@laluka
Copy link

laluka commented Apr 25, 2023

bearer_1.4.0_linux_amd64.tar.gz -> Works like a charm! ;)

@didroe didroe closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants