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 on alpine #9

Open
SuperCuber opened this issue Apr 3, 2022 · 0 comments
Open

Segmentation fault on alpine #9

SuperCuber opened this issue Apr 3, 2022 · 0 comments

Comments

@SuperCuber
Copy link

SuperCuber commented Apr 3, 2022

Hey, I'm trying to run a discord bot using serenity and songbird on an alpine docker container.
However when trying to join a voice channel it segfaults on this line

https://github.com/Lakelezz/audiopus/blob/701dbf9c07afba9f39e8944c9acdad46b5f921e1/src/coder/encoder.rs#L87

See serenity-rs/songbird#120 for original issue.

Info about the system:

/app # ldd /usr/local/bin/my-binary
        /lib/ld-musl-x86_64.so.1 (0x7fcb47cea000)
        libopus.so.0 => /usr/lib/libopus.so.0 (0x7fcb458d1000)
        libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7fcb47cea000)
/app # apk info opus
opus-1.3.1-r1 description:
Codec designed for interactive speech and audio transmission over the Internet

It may be relevant that the binary is created in a different docker build stage with only opus-dev installed - I don't think this should matter.

LetUsFlow added a commit to LetUsFlow/Rusty-BruhBot that referenced this issue Feb 14, 2023
kszinhu added a commit to kszinhu/bostil-bot that referenced this issue Aug 1, 2023
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

1 participant