-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Panic in git blame #12440
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
looks like at Line 70 in 20c2bdf
|
Did some debugging on this. https://golang.org/pkg/bufio/#Scanner
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Is it fixed or not? It is the last ticket in milestone 1.13 |
This is not fixed yet |
Fix go-gitea#12440 Closes go-gitea#13192 Signed-off-by: Andrew Thornton <[email protected]>
Fix go-gitea#12440 Closes go-gitea#13192 Signed-off-by: Andrew Thornton <[email protected]>
Fix go-gitea#12440 Closes go-gitea#13192 Signed-off-by: Andrew Thornton <[email protected]>
…13470) Fix #12440 Closes #13192 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
…o-gitea#13470) Fix go-gitea#12440 Closes go-gitea#13192 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
…o-gitea#13470) Fix go-gitea#12440 Closes go-gitea#13192 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
…13492) Fix #12440 Closes #13192 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]>
…13491) Fix #12440 Closes #13192 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]>
Thanks, everyone for fixing this :D |
the fix in #13470 is not a complete fix - it could do with a little more finesse as I wrote on the PR itself. |
(not least because the 4096 byte stripper could end up splitting within a rune.) |
[x]
):Description
When accessing a specific git blame, I get a HTTP error 500. I noticed this because the Googlebot was indexing my git server, and caught it. The specific URL is as follows: https://git.starbeamrainbowlabs.com/sbrl-github/Pepperminty-Wiki/blame/commit/edba3b9bf3af109935a8ec7dc76914611b0dcb2f/php_error.php
This particular repo is a backup mirror of https://github.com/sbrl/Pepperminty-Wiki, so the specific URL on GitHub is as follows: https://github.com/sbrl/Pepperminty-Wiki/blame/edba3b9bf3af109935a8ec7dc76914611b0dcb2f/php_error.php
Just thought I'd report, since it seems like a crash that might need fixing. Feel free to close this if it can't be debugged :-)
Screenshots
Stack trace from logs:
The text was updated successfully, but these errors were encountered: