mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 16:25:52 +03:00
[GH-ISSUE #1276] Segmentation fault when running static build with with-dns-sd #585
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#585
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yubiuser on GitHub (Apr 21, 2024).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1276
I'm trying to build a static binary on alpine within a docker container. It works well when using
-no-default-features. In order to compile it withwith-dns-sdI needed to manually add links to certainavahilibraries. It now builds without issues, but as soon as I startlibrespotI get a segmentation fault.Here is the relevant part of the docker file
Capturing the crash with
gdbI even tried to compile
avahimanually and copied the necessary libraries but it fails at the same point.The issue might not be directly caused by
librespotbut due tomuslvsglibcand/or´avahiandlibintl@roderickvd commented on GitHub (Sep 16, 2024):
Latest head is now set up for Alpine I think. Does that do anything?
@yubiuser commented on GitHub (Sep 16, 2024):
Unfortunately not. I still think this might be an issue 'outside' of
librespotbut withavahiand/orlibintl@wisp3rwind commented on GitHub (Sep 23, 2024):
@yubiuser maybe #1347 would be interesting to you? The PR adds an alternative zeroconf implementation that does not use the
dns_sdcompatibility layer on top of Avahi, but talks to Avahi directly.@yubiuser commented on GitHub (Sep 23, 2024):
This sounds very interesting. Once you get the CI to pass, I'll start looking into it.