Skip to content
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

HTTP 500, when opening any commits from a certain repository #12825

Closed
2 of 7 tasks
keks24 opened this issue Sep 13, 2020 · 3 comments
Closed
2 of 7 tasks

HTTP 500, when opening any commits from a certain repository #12825

keks24 opened this issue Sep 13, 2020 · 3 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@keks24
Copy link
Contributor

keks24 commented Sep 13, 2020

  • Gitea version (or commit ref):
$ gitea --version
Gitea version 1.12.4 built with GNU Make 4.1, go1.14.8 : bindata, sqlite, sqlite_unlock_notify
  • Git version:
$ git --version
git version 2.20.1
  • Operating system:
$ uname --all
Linux gitea 5.4.60-1-pve #1 SMP PVE 5.4.60-2 (Fri, 04 Sep 2020 10:24:50 +0200) x86_64 GNU/Linux
$ < /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    gitea.log

Description

I am getting an HTTP 500 error, when I am trying to open any commit from my internal repository l4d2-configuration. The log file returns:

PANIC:: runtime error: slice bounds out of range

This also applies to a mirror repository on gitea.com.

For some reason it works on try.gitea.io and on codeberg.org; maybe because of some (custom) patches.

On github.com and gitlab.com the commit can be displayed as well, but these platforms cannot be used as reference actually.

I can reproduce this issue, when I recreate the repository on my internal server and do a git push --force.

Screenshots

20200913-171701_screenshot

@keks24
Copy link
Contributor Author

keks24 commented Sep 13, 2020

This also relates to #12823

@zeripath
Copy link
Contributor

Please do not open duplicate bug reports. Keeping on top of Gitea's issues is hard enough.
This is not only a duplicate of #12823 but is a duplicate of #12816 which was already fixed in master by the time it was reported.

@zeripath zeripath added the issue/duplicate The issue has already been reported. label Sep 13, 2020
@zeripath
Copy link
Contributor

Fixed by #12771 and its backport #12776

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

2 participants