-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
GITEA CRASHES ON PULL REQUEST #24950
Comments
Thank you for your report with logs. Gitea's logger system doesn't record "panic" logs, so if you experienced other errors, the log file might not contain related information. Could you try to stop the service, and run Gitea manually from CMD / PowerShell terminal? Then if any panic occurs, you can see detailed logs. |
Hi Again. I did what you said and this is what appears panic: unaligned 64-bit atomic operation goroutine 2745 [running]: |
That's a known bug. Could you try 1.20 nightly, or download a 64bit release if your Windows is 64bit? |
Yes, is 64 Bit |
Wich one is the 64 bit release version? |
Done Thanks!!! it got fixed! |
Description
When creating a pull request, the service crashes and goes down.
Every time it does that.
I check the log and I found this:
2023/05/26 09:08:13 ...it/repo_attribute.go:306:func2() [E] [6470cb5c-2] Unable to open checker for a03997ba89f967c72e8f3981d9c8a9a529d0608a. Error: failed to run attr-check. Error: exit status 1
Stderr:
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
Gitea Version
Gitea 1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://cmv365-my.sharepoint.com/:u:/g/personal/sabdi_pantoja_cajamorelia_mx/EW6Pts0eEFxNnl5oI2M3MuoBl95YkhvSDkyEVJ5k0TmCGw?e=eddert
Screenshots
No response
Git Version
git version 2.37.1.windows.1
Operating System
WINDOWS
How are you running Gitea?
Gitea is running on a Windows Server 2016 with the Windows Services Manager.
We have been working great with the tool, and every update I installed it following the next steps:
Database
Mysql
The text was updated successfully, but these errors were encountered: