This repository has been archived by the owner on Apr 12, 2019. It is now read-only.
forked from gogs/git-module
-
Notifications
You must be signed in to change notification settings - Fork 42
Gitea crashes in "code.gitea.io/git/commit_info.go:218 +0x288" #125
Labels
Comments
After building gitea locally on my machine and starting it directly from the build directory, the following message was giving additional hints to nail down the culprit:
This part of the repository was originally converted to git from svn and for an unknown reason is missing the name portion in the author and committer fields. I'm not super fluent in reading go code, but might it be, that this module is not able to handle this case? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a self-hosted gitea instance (currently v1.4.2) where I'm trying to import all my old git repositories. However, I found one that can crash the gitea instance when accessing it through the Web interface:
This only happens with this individual repository, so there must be somehow an issue with parsing the git metadata. A regular git client can handle the repository without issue.
I could reproduce the issue on
try.gitea.io
where I created the commitsegv repository a few minutes ago. If you want to check the logs: Jun 19, 2018 ~08:10h CEST.The git repository which is able to crash gitea is also available here. To reproduce the bug, enter the URL in a new gitea migrate screen and after the repository is migrated, try to access the Web interface.
If you need more information, please let me know.
The text was updated successfully, but these errors were encountered: