-
Notifications
You must be signed in to change notification settings - Fork 375
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
Segfault on Alpine 3.18.5 #1299
Comments
Can confirm elementsd 22.1.1 segfaults at the same point as well. |
Here is a backtrace using 22.1.1 built with
|
Does this also happen with 0.21 ? When did testing with Alpine/musl begin (has it ever worked?) Just trying to figure out if it's a new or existing issue. Will dig into it and try reproduce. |
I can't seem to build 0.21 on Alpine 3.18 so not sure there. I just started testing unfortunately. |
Managed to compile, and ran the functional test suite. There are about 100 different functional tests failing, so presumably Elements has never worked completely on Alpine Linux. I will work on figuring out what is causing these issues. |
my current suspicion is the Alpine Linux thread stack size, which is much lower than gnu/linux: https://serverfault.com/a/1123054 https://ariadne.space/2021/06/25/understanding-thread-stack-sizes-and-how-alpine-is-different/ |
Looks like we could maybe try to detect if using Alpine/musl and adjust the |
yeah that sounds like it might work, i’m busy trying the docker env var above. |
I compiled with |
OS: Alpine 3.18.5
Arch: x86_64
Elements version: v23.2.1
When testing a PeerSwap swap (patched with ElementsProject/peerswap#257) , elementsd segfaults.
The segfault seems to occur when PeerSwap tries to create the initial swap open transaction.
gdb backtrace here:
The text was updated successfully, but these errors were encountered: