-
-
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
Panic index out of range
in routers/web/repo/actions/view.go
#24458
Comments
index out of range
while serving request
index out of range
while serving requestindex out of range
in routers/web/repo/actions/view.go
What page/URL were you one? |
That logic is quite complex, could you help to show the database record for that ActionTask? It could be some possible problems (just a guess):
|
Yes, if it is reproducible. There is a mapping in LogIndexes for log lines, it panics there. |
It's OK for frontend to request with a incorrect cursor. gitea/routers/web/repo/actions/view.go Line 161 in 95c2cb4
So it's a backend bug. I'm 90% sure what happened is:
See gitea/routers/web/repo/actions/view.go Lines 126 to 135 in 95c2cb4
|
It may also be related to https://gitea.com/gitea/act_runner/pulls/176, and #24516 can prevent panic if it is true. |
Description
Panic happened. Maybe need investigating.
Gitea Version
1.19.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu 22.04
How are you running Gitea?
in Docker
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: