-
-
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
Seg Fault redux? #2728
Comments
I have also tried with |
I'm running a simpler version and I'm seeing a different error:
This is running in a Centos 7.3 docker image which I've deployed with Kubernetes. Something wonky appears to be happening with how the current user is being determined here |
User on Linux is determined by checking environment variables |
Ah, right. I have a script that was injecting that env var and now I'm back to the original seg fault posted at the top :/ |
Switching to 1.2.1 I get the error:
|
For the 1.2.1 indexer error, you can fix it by deleting the For the segfault, try running gitea in |
According to your stack trace:
I am not completely certain if this is the issue, as I only occasionally debug segfaults, and it is usually with a debugger like gdb or delve, not by reading stack traces. |
@geek1011, thanks for the comments. I'm pretty sure the issue is as you described -- the Apologies, I am unfamiliar with golang. I'm trying to build master with golang 1.8.3 but I get an error:
|
@quasiben you need go 1.9.1 to build the latest urfave.cli. I recently ran into this issue myself. |
Was golang 1.8.X used to build binaries ? |
@quasiben not the most recent ones. |
Ok. Still seeing errors with 1.9.1
But, perhaps upgrading to 1.9.1 won't actually solve my problem here |
I resolved things by setting
and a colleague submitted an upstream patch: lib/pq#666 |
Is there a place where this can be documented so that people can find this workaround in future? |
@quasiben Great job. I guess my analysis of the stack trace was correct. @necaris This workaround may not be needed in the future because of lib/pq#666 |
Note that lib/pq#666 has been merged -- does there need to be some kind of govendor update to ensure this is picked up by gitea? |
@necaris yes and done (waiting LGTM). |
[x]
):Description
Gitea dies in the middle of starting up. Not exactly sure how to diagnose this issue. Could
issue #1684 be related ?
The text was updated successfully, but these errors were encountered: