goroutine 25432953 [running]: runtime/pprof.writeGoroutineStacks({0x7f6aac0a9b28, 0xc002eeaff0}) runtime/pprof/pprof.go:764 +0x6a runtime/pprof.writeGoroutine({0x7f6aac0a9b28?, 0xc002eeaff0?}, 0x1f?) runtime/pprof/pprof.go:753 +0x25 runtime/pprof.(*Profile).WriteTo(0x47d4620?, {0x7f6aac0a9b28?, 0xc002eeaff0?}, 0xc?) runtime/pprof/pprof.go:377 +0x14b net/http/pprof.handler.ServeHTTP({0xc0011d01f1, 0x9}, {0x7f6aac0a9af8, 0xc002eeaff0}, 0xc001f9c3c0) net/http/pprof/pprof.go:272 +0x52f net/http/pprof.Index({0x7f6aac0a9af8, 0xc002eeaff0}, 0xc001f9c3c0?) net/http/pprof/pprof.go:389 +0xde gopkg.in/macaron%2ev1.handlerFuncInvoker.Invoke(0x3ae1850?, {0xc000782880?, 0x2?, 0x160d940?}) gopkg.in/macaron.v1@v1.5.0/macaron.go:48 +0xd0 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00267aac8?, {0x7f6aab4fdf08?, 0x3ae1850?}, {0x3cb8b30?, 0x160d940?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00267aac8, {0x160d940, 0x3ae1850}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc0026279e0) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000850180?) gopkg.in/macaron.v1@v1.5.0/context.go:115 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x15ca340?) gopkg.in/macaron.v1@v1.5.0/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1763400?, {0xc000782760?, 0x1763400?, 0x492fde0?}) gopkg.in/macaron.v1@v1.5.0/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00267aac8?, {0x7f6aac0a9a58?, 0x3ae0190?}, {0x3cb8b30?, 0x160d8c0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00267aac8, {0x160d8c0, 0x3ae0190}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc0026279e0) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3c9af78?, 0xc000720ee0?}, 0x3c82b80?, 0xc0027ab050) gopkg.in/macaron.v1@v1.5.0/router.go:187 +0x23e gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc00084e0c0, {0x3c9af78, 0xc000720ee0}, 0xc001f9c3c0) gopkg.in/macaron.v1@v1.5.0/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc00082b500, {0x3c9af78, 0xc000720ee0}, 0xc001f9c3c0) gopkg.in/macaron.v1@v1.5.0/macaron.go:218 +0x13f net/http.serverHandler.ServeHTTP({0xc0027aaf90?}, {0x3c9af78?, 0xc000720ee0?}, 0x6?) net/http/server.go:3301 +0x8e net/http.(*conn).serve(0xc002627830, {0x3c9d938, 0xc0009ae780}) net/http/server.go:2102 +0x625 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3454 +0x485 goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f6aac65d828, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0022ef780?, 0x900000036?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc0022ef780) internal/poll/fd_unix.go:620 +0x295 net.(*netFD).accept(0xc0022ef780) net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000a6e100) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc000a6e100) net/tcpsock.go:380 +0x30 net/http.(*Server).Serve(0xc000b0d000, {0x3c9b220, 0xc000a6e100}) net/http/server.go:3424 +0x30c net/http.(*Server).ListenAndServe(0xc000b0d000) net/http/server.go:3350 +0x71 net/http.ListenAndServe(...) net/http/server.go:3665 gogs.io/gogs/internal/cmd.runWeb(0xc00077db80) gogs.io/gogs/internal/cmd/web.go:718 +0x1175 github.com/urfave/cli.HandleAction({0x159b0a0?, 0x3ae01e0?}, 0x3?) github.com/urfave/cli@v1.22.17/app.go:524 +0x70 github.com/urfave/cli.Command.Run({{0x17d5b30, 0x3}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x17f0c19, 0x10}, {0x0, ...}, ...}, ...) github.com/urfave/cli@v1.22.17/command.go:175 +0x676 github.com/urfave/cli.(*App).Run(0xc00043d340, {0xc00003e240, 0x2, 0x2}) github.com/urfave/cli@v1.22.17/app.go:277 +0xb1b main.main() gogs.io/gogs/gogs.go:39 +0x3cc goroutine 23 [select, 147 minutes]: unknwon.dev/clog/v2.New.func1() unknwon.dev/clog/v2@v2.2.0/logger.go:202 +0xce created by unknwon.dev/clog/v2.New in goroutine 1 unknwon.dev/clog/v2@v2.2.0/logger.go:199 +0x59c goroutine 25 [select, 301 minutes]: database/sql.(*DB).connectionOpener(0xc0003c4f70, {0x3c9d970, 0xc000333540}) database/sql/sql.go:1261 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x130 goroutine 26 [select, 301 minutes]: database/sql.(*DB).connectionOpener(0xc0003c55f0, {0x3c9d970, 0xc000333810}) database/sql/sql.go:1261 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x130 goroutine 43 [select, 1 minutes]: github.com/gogs/cron.(*Cron).run(0xc0003325f0) github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:197 +0x593 created by github.com/gogs/cron.(*Cron).Start in goroutine 1 github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:150 +0x59 goroutine 44 [chan receive, 301 minutes]: gogs.io/gogs/internal/database.SyncMirrors() gogs.io/gogs/internal/database/mirror.go:329 +0x50 created by gogs.io/gogs/internal/database.InitSyncMirrors in goroutine 1 gogs.io/gogs/internal/database/mirror.go:469 +0x1a goroutine 45 [chan receive, 7 minutes]: gogs.io/gogs/internal/database.DeliverHooks() gogs.io/gogs/internal/database/webhook.go:806 +0x258 created by gogs.io/gogs/internal/database.InitDeliverHooks in goroutine 1 gogs.io/gogs/internal/database/webhook.go:826 +0x1a goroutine 46 [chan receive, 301 minutes]: gogs.io/gogs/internal/database.TestPullRequests() gogs.io/gogs/internal/database/pull.go:870 +0x16c created by gogs.io/gogs/internal/database.InitTestPullRequests in goroutine 1 gogs.io/gogs/internal/database/pull.go:888 +0x1a goroutine 25432842 [select]: github.com/gogs/git-module.(*Command).RunInDirWithOptions(0xc00227e840, {0xc0020e8b00, 0x36}, {0xc00507ab58?, 0x40?, 0xc0033bf008?}) github.com/gogs/git-module@v1.8.4/command.go:226 +0x645 github.com/gogs/git-module.(*Command).RunInDirPipeline(...) github.com/gogs/git-module@v1.8.4/command.go:245 github.com/gogs/git-module.(*Command).RunInDir(0xc00227e840, {0xc0020e8b00, 0x36}) github.com/gogs/git-module@v1.8.4/command.go:284 +0xc8 github.com/gogs/git-module.(*Command).RunInDirWithTimeout(0xc0009a6860?, 0x300000002?, {0xc0020e8b00?, 0x5?}) github.com/gogs/git-module@v1.8.4/command.go:276 +0xb9 github.com/gogs/git-module.RepoTags({0xc0020e8b00, 0x36}, {0x0?, 0xc0027b5200?, 0xc0020e8b00?}) github.com/gogs/git-module@v1.8.4/repo_tag.go:191 +0x7fe github.com/gogs/git-module.(*Repository).Tags(0xc0020e8b00?, {0x0?, 0xc00140a194?, 0x7?}) github.com/gogs/git-module@v1.8.4/repo_tag.go:214 +0x2e gogs.io/gogs/internal/cmd.runWeb.func1.RepoAssignment.28(0xc002875650) gogs.io/gogs/internal/context/repo.go:247 +0xa85 reflect.Value.call({0x1587f80?, 0xc000b4b2e0?, 0xc0026654d8?}, {0x17d668d, 0x4}, {0xc002579860, 0x1, 0x0?}) reflect/value.go:584 +0xca6 reflect.Value.Call({0x1587f80?, 0xc000b4b2e0?, 0x17bd900?}, {0xc002579860?, 0x4103bc?, 0x8?}) reflect/value.go:368 +0xb9 github.com/go-macaron/inject.(*injector).callInvoke(0xc0025797b8?, {0x1587f80?, 0xc000b4b2e0?}, {0x3cb8b30?, 0x1587f80?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:177 +0xee github.com/go-macaron/inject.(*injector).Invoke(0xc0025797b8, {0x1587f80, 0xc000b4b2e0}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:137 +0x97 gopkg.in/macaron%2ev1.(*Context).run(0xc002d9c120) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(...) gopkg.in/macaron.v1@v1.5.0/context.go:115 github.com/go-macaron/session.Sessioner.func1(0xc002d9c120) github.com/go-macaron/session@v1.0.3/session.go:197 +0x4fd gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x17b85c0?, {0xc002d9a400?, 0x17b85c0?, 0xc00226f820?}) gopkg.in/macaron.v1@v1.5.0/context.go:81 +0x36 github.com/go-macaron/inject.(*injector).fastInvoke(0xc0025797b8?, {0x7f6aac0a9ad8?, 0xc000996378?}, {0x3cb8b30?, 0x15fdb40?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc0025797b8, {0x15fdb40, 0xc000996378}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc002d9c120) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000850180?) gopkg.in/macaron.v1@v1.5.0/context.go:115 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x15ca340?) gopkg.in/macaron.v1@v1.5.0/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1763400?, {0xc0009a60a0?, 0x1763400?, 0xc0004d0008?}) gopkg.in/macaron.v1@v1.5.0/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc0025797b8?, {0x7f6aac0a9a58?, 0x3ae0190?}, {0x3cb8b30?, 0x160d8c0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc0025797b8, {0x160d8c0, 0x3ae0190}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc002d9c120) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3c9af78?, 0xc0037b2460?}, 0x17d57bc?, 0xc0027b41b0) gopkg.in/macaron.v1@v1.5.0/router.go:187 +0x23e gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc00084e0c0, {0x3c9af78, 0xc0037b2460}, 0xc000406140) gopkg.in/macaron.v1@v1.5.0/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc00082b500, {0x3c9af78, 0xc0037b2460}, 0xc000406140) gopkg.in/macaron.v1@v1.5.0/macaron.go:218 +0x13f net/http.serverHandler.ServeHTTP({0xc0027b40f0?}, {0x3c9af78?, 0xc0037b2460?}, 0x1?) net/http/server.go:3301 +0x8e net/http.(*conn).serve(0xc002d9c000, {0x3c9d938, 0xc0009ae780}) net/http/server.go:2102 +0x625 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3454 +0x485 goroutine 25432843 [IO wait]: internal/poll.runtime_pollWait(0x7f6aaa94ce00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003a94000?, 0xc0027b4101?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003a94000, {0xc0027b4101, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x27a net.(*netFD).Read(0xc003a94000, {0xc0027b4101?, 0xc003f3ba40?, 0x0?}) net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc00340a000, {0xc0027b4101?, 0x0?, 0x0?}) net/net.go:194 +0x45 net/http.(*connReader).backgroundRead(0xc0027b40f0) net/http/server.go:690 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 25432842 net/http/server.go:686 +0xb6 goroutine 25432846 [runnable]: os/exec.(*Cmd).Start.gowrap1() os/exec/exec.go:748 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 created by os/exec.(*Cmd).Start in goroutine 25432842 os/exec/exec.go:748 +0x92b goroutine 25432841 [IO wait]: internal/poll.runtime_pollWait(0x7f6aabdaf1f0, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0022efd80?, 0xc003a23d81?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0022efd80, {0xc003a23d81, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x27a net.(*netFD).Read(0xc0022efd80, {0xc003a23d81?, 0xc000b93158?, 0xc0036d3770?}) net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc00343b510, {0xc003a23d81?, 0xa7a498?, 0xc00bc052c0?}) net/net.go:194 +0x45 net/http.(*connReader).backgroundRead(0xc003a23d70) net/http/server.go:690 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 25432840 net/http/server.go:686 +0xb6 goroutine 25432710 [select]: github.com/gogs/git-module.(*Command).RunInDirWithOptions(0xc003368d20, {0xc0017ea880, 0x3d}, {0xc00507e8c0?, 0x20?, 0xc0000a1808?}) github.com/gogs/git-module@v1.8.4/command.go:226 +0x645 github.com/gogs/git-module.(*Command).RunInDirPipeline(...) github.com/gogs/git-module@v1.8.4/command.go:245 github.com/gogs/git-module.(*Command).RunInDir(0xc003368d20, {0xc0017ea880, 0x3d}) github.com/gogs/git-module@v1.8.4/command.go:284 +0xc8 github.com/gogs/git-module.(*Command).RunInDirWithTimeout(0xc00266f300?, 0xc0011d0120?, {0xc0017ea880?, 0xc00507eab8?}) github.com/gogs/git-module@v1.8.4/command.go:276 +0xb9 github.com/gogs/git-module.(*Repository).LsTree(0xc003583a10, {0xc0011d0120, 0x28}, {0x0?, 0x10?, 0xc0000a1808?}) github.com/gogs/git-module@v1.8.4/repo_tree.go:127 +0x6aa github.com/gogs/git-module.(*Tree).Entries.func1() github.com/gogs/git-module@v1.8.4/tree.go:61 +0x7a sync.(*Once).doSlow(0xc0000a1808?, 0xc0021fdae0?) sync/once.go:78 +0xab sync.(*Once).Do(...) sync/once.go:69 github.com/gogs/git-module.(*Tree).Entries(0xc002eeae10, {0x0?, 0x3c82b60?, 0x1?}) github.com/gogs/git-module@v1.8.4/tree.go:55 +0x65 github.com/gogs/git-module.(*Tree).TreeEntry(0xc002eeae10, {0xc0021fdae0?, 0x3c82b60?}, {0x0, 0x0, 0x0}) github.com/gogs/git-module@v1.8.4/tree_blob.go:29 +0x146 github.com/gogs/git-module.(*Tree).Subtree(0xc002eeae10, {0xc0021fdae0?, 0x3c82b60?}, {0x0, 0x0, 0x0}) github.com/gogs/git-module@v1.8.4/tree.go:38 +0xd0 github.com/gogs/git-module.(*Tree).TreeEntry(0xc002eeae10, {0xc0021fdae0?, 0x17ed80f?}, {0x0, 0x0, 0x0}) github.com/gogs/git-module@v1.8.4/tree_blob.go:40 +0x185 gogs.io/gogs/internal/route/repo.Home(0xc0032462a0) gogs.io/gogs/internal/route/repo/view.go:268 +0x4eb reflect.Value.call({0x1587f80?, 0x3ae05c8?, 0xc00507f4d8?}, {0x17d668d, 0x4}, {0xc00267a918, 0x1, 0x0?}) reflect/value.go:584 +0xca6 reflect.Value.Call({0x1587f80?, 0x3ae05c8?, 0x17bd900?}, {0xc00267a918?, 0x4103bc?, 0x8?}) reflect/value.go:368 +0xb9 github.com/go-macaron/inject.(*injector).callInvoke(0xc002654258?, {0x1587f80?, 0x3ae05c8?}, {0x3cb8b30?, 0x1587f80?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:177 +0xee github.com/go-macaron/inject.(*injector).Invoke(0xc002654258, {0x1587f80, 0x3ae05c8}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:137 +0x97 gopkg.in/macaron%2ev1.(*Context).run(0xc002513d40) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(...) gopkg.in/macaron.v1@v1.5.0/context.go:115 github.com/go-macaron/session.Sessioner.func1(0xc002513d40) github.com/go-macaron/session@v1.0.3/session.go:197 +0x4fd gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x17b85c0?, {0xc002662310?, 0x17b85c0?, 0xc002521820?}) gopkg.in/macaron.v1@v1.5.0/context.go:81 +0x36 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002654258?, {0x7f6aac0a9ad8?, 0xc000996378?}, {0x3cb8b30?, 0x15fdb40?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002654258, {0x15fdb40, 0xc000996378}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc002513d40) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000850180?) gopkg.in/macaron.v1@v1.5.0/context.go:115 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x15ca340?) gopkg.in/macaron.v1@v1.5.0/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1763400?, {0xc003208200?, 0x1763400?, 0x42d0fc?}) gopkg.in/macaron.v1@v1.5.0/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002654258?, {0x7f6aac0a9a58?, 0x3ae0190?}, {0x3cb8b30?, 0x160d8c0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002654258, {0x160d8c0, 0x3ae0190}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc002513d40) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3c9af78?, 0xc000720e00?}, 0x17d57bc?, 0xc0035829c0) gopkg.in/macaron.v1@v1.5.0/router.go:187 +0x23e gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc00084e0c0, {0x3c9af78, 0xc000720e00}, 0xc001f9c280) gopkg.in/macaron.v1@v1.5.0/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc00082b500, {0x3c9af78, 0xc000720e00}, 0xc001f9c280) gopkg.in/macaron.v1@v1.5.0/macaron.go:218 +0x13f net/http.serverHandler.ServeHTTP({0xc003582900?}, {0x3c9af78?, 0xc000720e00?}, 0x6?) net/http/server.go:3301 +0x8e net/http.(*conn).serve(0xc002513950, {0x3c9d938, 0xc0009ae780}) net/http/server.go:2102 +0x625 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3454 +0x485 goroutine 25432952 [runnable]: net/http.(*Server).Serve.gowrap3() net/http/server.go:3454 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3454 +0x485 goroutine 25432848 [runnable]: os/exec.(*Cmd).Start.gowrap2() os/exec/exec.go:775 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 created by os/exec.(*Cmd).Start in goroutine 25432842 os/exec/exec.go:775 +0x8f3 goroutine 293473 [select]: database/sql.(*DB).connectionCleaner(0xc0003c55f0, 0x0?) database/sql/sql.go:1104 +0x9c created by database/sql.(*DB).startCleanerLocked in goroutine 293469 database/sql/sql.go:1091 +0x105 goroutine 25432849 [syscall]: syscall.Syscall6(0xf7, 0x3, 0x17, 0xc000841e40, 0x4, 0xc001686240, 0x0) syscall/syscall_linux.go:95 +0x39 internal/syscall/unix.Waitid(0x0?, 0x0?, 0xc000841e50?, 0x4c6bd2?, 0x7f6aabdaf650?) internal/syscall/unix/waitid_linux.go:18 +0x39 os.(*Process).pidfdWait.func1(...) os/pidfd_linux.go:106 os.ignoringEINTR(...) os/file_posix.go:251 os.(*Process).pidfdWait(0x414397?) os/pidfd_linux.go:105 +0x209 os.(*Process).wait(0x1?) os/exec_unix.go:27 +0x25 os.(*Process).Wait(...) os/exec.go:358 os/exec.(*Cmd).Wait(0xc00255f200) os/exec/exec.go:922 +0x45 github.com/gogs/git-module.(*Command).RunInDirWithOptions.func3() github.com/gogs/git-module@v1.8.4/command.go:223 +0x25 created by github.com/gogs/git-module.(*Command).RunInDirWithOptions in goroutine 25432842 github.com/gogs/git-module@v1.8.4/command.go:222 +0x5c9 goroutine 25432713 [IO wait]: internal/poll.runtime_pollWait(0x7f6aab7acc78, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc002588080?, 0xc003582911?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc002588080, {0xc003582911, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x27a net.(*netFD).Read(0xc002588080, {0xc003582911?, 0xc003c19110?, 0xc0041a57b8?}) net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0020f22c8, {0xc003582911?, 0x0?, 0x0?}) net/net.go:194 +0x45 net/http.(*connReader).backgroundRead(0xc003582900) net/http/server.go:690 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 25432710 net/http/server.go:686 +0xb6 goroutine 25432847 [runnable]: os/exec.(*Cmd).Start.gowrap1() os/exec/exec.go:748 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 created by os/exec.(*Cmd).Start in goroutine 25432842 os/exec/exec.go:748 +0x92b goroutine 25432949 [runnable]: internal/poll.runtime_pollWait(0x7f6aac0c3900, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003368f00?, 0xc002b88400?, 0x1) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003368f00, {0xc002b88400, 0x200, 0x200}) internal/poll/fd_unix.go:165 +0x27a os.(*File).read(...) os/file_posix.go:29 os.(*File).Read(0xc0020f31a0, {0xc002b88400?, 0x41c546?, 0xc00083f678?}) os/file.go:124 +0x4f bytes.(*Buffer).ReadFrom(0xc0027aad50, {0x3c8dce0, 0xc0020f31c0}) bytes/buffer.go:211 +0x98 io.copyBuffer({0x3c8de00, 0xc0027aad50}, {0x3c8dce0, 0xc0020f31c0}, {0x0, 0x0, 0x0}) io/io.go:415 +0x151 io.Copy(...) io/io.go:388 os.genericWriteTo(0xc0020f31a0?, {0x3c8de00, 0xc0027aad50}) os/file.go:275 +0x4f os.(*File).WriteTo(0xc0020f31a0, {0x3c8de00, 0xc0027aad50}) os/file.go:253 +0x9c io.copyBuffer({0x3c8de00, 0xc0027aad50}, {0x3c8dd60, 0xc0020f31a0}, {0x0, 0x0, 0x0}) io/io.go:411 +0x9d io.Copy(...) io/io.go:388 os/exec.(*Cmd).writerDescriptor.func1() os/exec/exec.go:596 +0x34 os/exec.(*Cmd).Start.func2(0xc0044ed0a0?) os/exec/exec.go:749 +0x2c created by os/exec.(*Cmd).Start in goroutine 25432710 os/exec/exec.go:748 +0x92b goroutine 25432948 [runnable]: internal/poll.runtime_pollWait(0x7f6aabdafab0, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003368e40?, 0xc002b88200?, 0x1) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003368e40, {0xc002b88200, 0x200, 0x200}) internal/poll/fd_unix.go:165 +0x27a os.(*File).read(...) os/file_posix.go:29 os.(*File).Read(0xc0020f3188, {0xc002b88200?, 0x41c546?, 0x4a279a?}) os/file.go:124 +0x4f bytes.(*Buffer).ReadFrom(0xc0027aad20, {0x3c8dce0, 0xc0020f31b8}) bytes/buffer.go:211 +0x98 io.copyBuffer({0x3c8de00, 0xc0027aad20}, {0x3c8dce0, 0xc0020f31b8}, {0x0, 0x0, 0x0}) io/io.go:415 +0x151 io.Copy(...) io/io.go:388 os.genericWriteTo(0xc0020f3188?, {0x3c8de00, 0xc0027aad20}) os/file.go:275 +0x4f os.(*File).WriteTo(0xc0020f3188, {0x3c8de00, 0xc0027aad20}) os/file.go:253 +0x9c io.copyBuffer({0x3c8de00, 0xc0027aad20}, {0x3c8dd60, 0xc0020f3188}, {0x0, 0x0, 0x0}) io/io.go:411 +0x9d io.Copy(...) io/io.go:388 os/exec.(*Cmd).writerDescriptor.func1() os/exec/exec.go:596 +0x34 os/exec.(*Cmd).Start.func2(0x0?) os/exec/exec.go:749 +0x2c created by os/exec.(*Cmd).Start in goroutine 25432710 os/exec/exec.go:748 +0x92b goroutine 25368118 [select]: database/sql.(*DB).connectionCleaner(0xc0003c4f70, 0x0?) database/sql/sql.go:1104 +0x9c created by database/sql.(*DB).startCleanerLocked in goroutine 25368114 database/sql/sql.go:1091 +0x105 goroutine 25432950 [select]: os/exec.(*Cmd).watchCtx(0xc002b8a000, 0xc0044ed1f0) os/exec/exec.go:789 +0xb2 created by os/exec.(*Cmd).Start in goroutine 25432710 os/exec/exec.go:775 +0x8f3 goroutine 25432840 [runnable]: runtime.(*Frames).Next(0xc002e8f680) runtime/symtab.go:135 +0x251 runtime/pprof.printStackRecord({0x3c8de20, 0xc00042f290}, {0x7f6aaacbef20, 0xa, 0xa}, 0x0) runtime/pprof/pprof.go:553 +0xff runtime/pprof.writeHeapInternal({0x7f6aac0a9b28, 0xc00342e1e0}, 0x1, {0x17e82d5, 0xb}) runtime/pprof/pprof.go:685 +0x4af runtime/pprof.writeAlloc({0x7f6aac0a9b28?, 0xc00342e1e0?}, 0x44?) runtime/pprof/pprof.go:599 +0x29 runtime/pprof.(*Profile).WriteTo(0x47d4620?, {0x7f6aac0a9b28?, 0xc00342e1e0?}, 0xc?) runtime/pprof/pprof.go:377 +0x14b net/http/pprof.handler.ServeHTTP({0xc001662551, 0x6}, {0x7f6aac0a9af8, 0xc00342e1e0}, 0xc000464280) net/http/pprof/pprof.go:272 +0x52f net/http/pprof.Index({0x7f6aac0a9af8, 0xc00342e1e0}, 0xc000464280?) net/http/pprof/pprof.go:389 +0xde gopkg.in/macaron%2ev1.handlerFuncInvoker.Invoke(0x3ae1850?, {0xc0027cd140?, 0x2?, 0x160d940?}) gopkg.in/macaron.v1@v1.5.0/macaron.go:48 +0xd0 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002579740?, {0x7f6aab4fdf08?, 0x3ae1850?}, {0x3cb8b30?, 0x160d940?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002579740, {0x160d940, 0x3ae1850}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc002513680) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000850180?) gopkg.in/macaron.v1@v1.5.0/context.go:115 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x15ca340?) gopkg.in/macaron.v1@v1.5.0/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1763400?, {0xc0027cd080?, 0x1763400?, 0x700000006?}) gopkg.in/macaron.v1@v1.5.0/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002579740?, {0x7f6aac0a9a58?, 0x3ae0190?}, {0x3cb8b30?, 0x160d8c0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002579740, {0x160d8c0, 0x3ae0190}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc002513680) gopkg.in/macaron.v1@v1.5.0/context.go:125 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3c9af78?, 0xc000720b60?}, 0x3c82b80?, 0xc003a23e30) gopkg.in/macaron.v1@v1.5.0/router.go:187 +0x23e gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc00084e0c0, {0x3c9af78, 0xc000720b60}, 0xc000464280) gopkg.in/macaron.v1@v1.5.0/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc00082b500, {0x3c9af78, 0xc000720b60}, 0xc000464280) gopkg.in/macaron.v1@v1.5.0/macaron.go:218 +0x13f net/http.serverHandler.ServeHTTP({0xc003a23d70?}, {0x3c9af78?, 0xc000720b60?}, 0x6?) net/http/server.go:3301 +0x8e net/http.(*conn).serve(0xc0025134d0, {0x3c9d938, 0xc0009ae780}) net/http/server.go:2102 +0x625 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3454 +0x485 goroutine 25432954 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() net/http/server.go:686 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 created by net/http.(*connReader).startBackgroundRead in goroutine 25432953 net/http/server.go:686 +0xb6 goroutine 25432951 [runnable]: syscall.Syscall6(0xf7, 0x3, 0x13, 0xc0026f1640, 0x4, 0xc002153dd0, 0x0) syscall/syscall_linux.go:95 +0x39 internal/syscall/unix.Waitid(0x0?, 0x0?, 0xc0026f1650?, 0x4c6bd2?, 0x7f6aac65ce50?) internal/syscall/unix/waitid_linux.go:18 +0x39 os.(*Process).pidfdWait.func1(...) os/pidfd_linux.go:106 os.ignoringEINTR(...) os/file_posix.go:251 os.(*Process).pidfdWait(0x414397?) os/pidfd_linux.go:105 +0x209 os.(*Process).wait(0x1?) os/exec_unix.go:27 +0x25 os.(*Process).Wait(...) os/exec.go:358 os/exec.(*Cmd).Wait(0xc002b8a000) os/exec/exec.go:922 +0x45 github.com/gogs/git-module.(*Command).RunInDirWithOptions.func3() github.com/gogs/git-module@v1.8.4/command.go:223 +0x25 created by github.com/gogs/git-module.(*Command).RunInDirWithOptions in goroutine 25432710 github.com/gogs/git-module@v1.8.4/command.go:222 +0x5c9