-
-
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
segmentation violation #1684
Comments
@tboerger have no idea about this, maybe a problem of xgo? |
I think it's a duplicate of #1408. Please try to launch it with the environment variable Maybe somebody wants to contribute an Arch package to avoid this problem? |
@lunny @tboerger i can reproduce this behavior.
|
@tboerger after reading you post i have to think about this one: harness/harness#1943 |
Looks like we have to build the binary with the build tag |
It seems many of this-like issues are reported from Arch Linux users? |
@lunny maybe 😄 seem "freshness" isn't always the best. |
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. |
@tboerger sorry if i stress this topic further but after suggesting this possible fix in the drone project, @bradrydzewski told me, that the project use the netgo build tag already.
So maybe i understand this wrong as i'm not an developer, but it reads as is netdns=go the default and can changed at runtime to cgo. After reading those, i'm a litte bit confused about this as your hint to use I know, this is not relevant for this project, but as gitea "co-operate" with drone i would be pleased if my question could answered so that i could understand this topic 🤔 |
@MorphBonehunter could you confirm #1690 could resolve your problem? |
@lunny for beeing close to your release mechanism, i do the following steps (based on project drone.yml): build
release
The produced |
As far as I can say it's related to xgo (the tool we are using for cross-compiling). Since this is a tool for cross-compiling programs with CGO dependencies I can just imagine that it enables the CGO name resolver which crashs in your case. So really enforcing the Go name resolver seems to fix this problem on the supported platforms. |
[x]
):Description
Today i upgrade to gitea 1.1.1.
I've used the binary from
https://github.com/go-gitea/gitea/releases/download/v1.1.1/gitea-1.1.1-linux-amd64
First all runs as expected but after pushing to an repo which have an webhook i got the following:
Since this message gitea is "dead" and could not restarted as it dies on startup:
The text was updated successfully, but these errors were encountered: