Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

500 error: slice bounds out of range #141

Open
vampirefrog opened this issue Jan 22, 2019 · 2 comments
Open

500 error: slice bounds out of range #141

vampirefrog opened this issue Jan 22, 2019 · 2 comments
Labels

Comments

@vampirefrog
Copy link

Hello folks, I am using gitea version 1.6.3, I am getting the following error when accessing one of the directories in a repo, and not other directories:

ian 22 19:13:51 evo gitea[9633]: [Macaron] 2019-01-22 19:13:51: Started GET /vampi/v68/src/branch/master/musashi for 79.115.174.215
ian 22 19:13:51 evo gitea[9633]: [Macaron] PANIC: runtime error: slice bounds out of range
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/runtime/panic.go:513 (0x42ebd8)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/runtime/panic.go:54 (0x42db49)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/code.gitea.io/git/commit_info.go:166 (0x7334a6)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/code.gitea.io/git/commit_info.go:270 (0x733dc9)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/code.gitea.io/git/commit_info.go:222 (0x73398a)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/code.gitea.io/git/commit_info.go:123 (0x732ca6)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/routers/repo/view.go:53 (0xf26423)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/routers/repo/view.go:347 (0xf2ad9e)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/routers/repo/view.go:287 (0xf2a5ff)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/runtime/asm_amd64.s:522 (0x45d55a)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/reflect/value.go:447 (0x4c5078)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/reflect/value.go:308 (0x4c4b13)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:177 (0x7ebe33)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:137 (0x7eb799)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x819920)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:112 (0x81983e)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/session/session.go:188 (0x86d5de)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:79 (0x8197c0)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:157 (0x7ebb20)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:135 (0x7eb88b)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x819920)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:112 (0x81983e)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/recovery.go:161 (0x82a5fa)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/logger.go:40 (0x81cac3)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:157 (0x7ebb20)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:135 (0x7eb88b)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x819920)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:112 (0x81983e)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/logger.go:52 (0x829910)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/logger.go:40 (0x81cac3)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:157 (0x7ebb20)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:135 (0x7eb88b)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x819920)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/router.go:187 (0x82b7f4)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/router.go:303 (0x82514e)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/macaron.go:220 (0x81ddb1)
ian 22 19:13:51 evo gitea[9633]: /go/src/code.gitea.io/gitea/vendor/github.com/gorilla/context/context.go:141 (0xb90e3a)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/net/http/server.go:1964 (0x6bcb43)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/net/http/server.go:2741 (0x6bf83a)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/net/http/server.go:1847 (0x6bbba5)
ian 22 19:13:51 evo gitea[9633]: /usr/local/go/src/runtime/asm_amd64.s:1333 (0x45f270)
ian 22 19:13:51 evo gitea[9633]: [Macaron] 2019-01-22 19:13:51: Completed GET /vampi/v68/src/branch/master/musashi 500 Internal Server Error in 64.814769ms
@lafriks
Copy link
Member

lafriks commented Jan 22, 2019

Is there are anything special about that directory, some special commit/file?

@vampirefrog
Copy link
Author

vampirefrog commented Jan 23, 2019

they're all special and I love each and every one of them

it's possible that the directory was previously in a .gitmodule and then I deleted that and now it's a regular directory

6a4b110d64577a6e2e38a8cc6f0dd184f1e99520 1548107970 musashi: enable reset handler
M       musashi/m68kconf.h
M       musashi/m68kcpu.h

03c910427f9a07dcdf80693cf1f4549ad2de3d12 1546743524 musashi fixes
M       musashi/m68kcpu.c
D       musashi/m68kmake
D       musashi/m68kopac.c
D       musashi/m68kopdm.c
D       musashi/m68kopnz.c
D       musashi/m68kops.c

379f54d5b545ebe2ed6f48d536108ac9b5e28f4d 1545453864 cpu verbose tweak
M       musashi/m68kcpu.c

c6cee858f429c1de06d7a22f11bfc1a50ef5739d 1545257444 verbosity fixes
M       musashi/m68kcpu.h

11b3e9cd45c9c456d8bfeaec366178e0bdcb9d68 1545215224 verbosity fixes
M       musashi/m68kcpu.c
M       musashi/m68kcpu.h

b4d5591fef04e2bc4606f149189b656cdbd659f8 1545122334 musashi again
D       musashi
A       musashi/.gitignore
A       musashi/example/example.txt
A       musashi/example/m68kconf.h
A       musashi/example/makefile
A       musashi/example/osd.h
A       musashi/example/osd_dos.c
A       musashi/example/program.bin
A       musashi/example/sim.c
A       musashi/example/sim.h
A       musashi/history.txt
A       musashi/m68k.h
A       musashi/m68k_in.c
A       musashi/m68kconf.h
A       musashi/m68kcpu.c
A       musashi/m68kcpu.h
A       musashi/m68kdasm.c
A       musashi/m68kmake
A       musashi/m68kmake.c
A       musashi/m68kopac.c
A       musashi/m68kopdm.c
A       musashi/m68kopnz.c
A       musashi/m68kops.c
A       musashi/m68kops.h
A       musashi/readme.txt

ee5e1fc2e07b747e1189d2b6f3a1e8d4c469ea07 1545122010 musashi
A       musashi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants