-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
[BUG] eww daemon segfaults #362
Comments
Ahh yes, alpine - I think I remember some others mentioning issues running on musl, might be related to that,... kinda hard to debug with this little info ^^' |
I haven't had the time to look further, but I intend to try and create an Alpine package for this project. I'll get back to you with more information as I proceed :) |
TLDR: turns out it's a problem with upstream rust that's known about and being worked on. For now, this can be fixed by explicitly specifying no static linking with Further investigation has revealed that there are currently problems in rust when it comes to static/dynamic linking. eww depends on gtk, which on Alpine is dynamically linked with musl libc. However, rustc by default links musl statically with eww, meaning that we have two different versions of musl - one static and the other dynamic. This causes the method at This valgrind output clearly shows what's going on:
More information can be found in this gtk bug, and these rustlang issues. |
Perhaps if the documentation is getting updated with this temporary fix, we could also update it to list |
That worked for me on void. Thanks! |
Checklist before submitting an issue
Describe the bug
On Alpine Linux, the current master branch segfaults when
eww daemon --no-daemonize
is run.Reproducing the issue
Compile
eww
from master on mainline Alpine. Create ~/.config/eww.Run
eww daemon --no-daemonize
Additional context
The text was updated successfully, but these errors were encountered: