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

Segmentation Fault errror #193

Open
Mederim opened this issue Aug 23, 2021 · 10 comments
Open

Segmentation Fault errror #193

Mederim opened this issue Aug 23, 2021 · 10 comments

Comments

@Mederim
Copy link

Mederim commented Aug 23, 2021

Version: 3.5.3
OS: KISS LINUX
NPM: 7.20.3
NodeJS: 16.7.0

I get segmentation fault when try to streaming. Just did 'webtorrent "magnet link" --mpv'.

@alxhotel
Copy link
Member

Hi @Mederim,

Thanks for opening an issue:

Can you show the logs?

@Mederim
Copy link
Author

Mederim commented Aug 24, 2021

When i use verbose i get this:

Warning: getaddrinfo ENOTFOUND tracker.internetwarriors.net (udp://t racker.internetwarriors.net:1337/announce) Warning: getaddrinfo ENOTFOUND opentracker.i2p.rocks (udp://opentrac ker.i2p.rocks:6969/announce) Warning: getaddrinfo ENOTFOUND 3rt.tace.ru (udp://3rt.tace.ru:60889/ announce) Warning: Non-200 response code 400 from http://tracker.opentrackr.or g:1337/announce Segmentation fault

Also i used strace to get logs so here the link

@DiegoRBaquero
Copy link
Member

Does it happen with Node 14?

@Mederim
Copy link
Author

Mederim commented Sep 17, 2021

Not tested, i use node 16.9.1

@DiegoRBaquero
Copy link
Member

Please test with LTS, we don't officially support current

@Mederim Mederim closed this as completed Sep 28, 2021
@SirCipherz
Copy link

tested with alpine linux and node 14, i have a segfault too

@Mederim Mederim reopened this Jul 24, 2022
@Mederim
Copy link
Author

Mederim commented Jul 24, 2022

Still have the same issue, now with node v18.6.0

@github-actions
Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@github-actions github-actions bot added the stale label Sep 22, 2022
@alxhotel alxhotel added accepted and removed stale labels Sep 22, 2022
@asimovc
Copy link

asimovc commented Jun 16, 2024

O can't even build it

@SilentBot1
Copy link
Member

SilentBot1 commented Jun 16, 2024

From what I can see, this appears to be due to a glibc version of utp-native being used across all libc environments, rather than a musl-specific version being used on musl environments.

I've submitted a PR here which adds musl-specific prebuilds to utp-native.

Using the musl pre-build generated from the above PR, I no longer experience segfaults when using webtorrent-cli in musl environments.

Alternatively, depending on how you're running webtorrent-cli, you can rebuild utp-native from source, which is mentioned in this issue from utp-native: mafintosh/utp-native#49

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

No branches or pull requests

6 participants