-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
SIGSEGV when sending mails #1408
Comments
@lunny It is possible that this problem could occur during execution webhook? |
Do you download the binary version or you build it yourself? |
@Tirus91 have no idea. |
This error occurs only with the precompiled binary. |
@Tirus91 This problem occurs every time I do something, that triggers an email (smtp test, account creation, etc.) |
@mrdrogdrog so that's maybe a cross-compile issue? |
Please try to launch it with this environment variable: GODEBUG=netdns=go |
@tboerger The SMTP-Test succeeded without crash |
Than it's related to the name resolution within cgo, maybe it's related to our statically compiled binaries. Enforcing the go resolver solves this problem. |
Looks like we have to build the binary with the build tag |
Which version of your Arch Linux @mrdrogdrog |
There is no Version, only Zuul. No, joking aside. Arch is rolling release. All my packages are always up-to-date. |
I have created the pull request #1690 which should solve this issue as it enforces the Go name resolution instead of CGO for cross-compiled binaries. |
[x]
):Description
I have no idea why, but my instance of gitea crashs with a SIGSEGV every time, I try to send a mail.
The text was updated successfully, but these errors were encountered: