goroutine 138468 [running]: runtime/pprof.writeGoroutineStacks({0xffff533a6f18, 0x4000356780}) runtime/pprof/pprof.go:756 +0x6c runtime/pprof.writeGoroutine({0xffff533a6f18?, 0x4000356780?}, 0x30?) runtime/pprof/pprof.go:745 +0x2c runtime/pprof.(*Profile).WriteTo(0x489f770?, {0xffff533a6f18?, 0x4000356780?}, 0xc?) runtime/pprof/pprof.go:371 +0x144 net/http/pprof.handler.ServeHTTP({0x40016a8011, 0x9}, {0xffff5342d100, 0x4000356780}, 0x4000434780) net/http/pprof/pprof.go:272 +0x414 net/http/pprof.Index({0xffff5342d100, 0x4000356780}, 0x4000434780?) net/http/pprof/pprof.go:389 +0xc0 gopkg.in/macaron%2ev1.handlerFuncInvoker.Invoke(0x3a28578?, {0x40004f7de0?, 0x2?, 0x8ac5b4?}) gopkg.in/macaron.v1@v1.5.1/macaron.go:48 +0xcc github.com/go-macaron/inject.(*injector).fastInvoke(0x40006623d8?, {0xffff533a6dc8?, 0x3a28578?}, {0x3c387f0?, 0x159ece0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x88 github.com/go-macaron/inject.(*injector).Invoke(0x40006623d8, {0x159ece0, 0x3a28578}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x128 gopkg.in/macaron%2ev1.(*Context).run(0x40004126c0) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x68 gopkg.in/macaron%2ev1.(*Context).Next(0x170ef80?) gopkg.in/macaron.v1@v1.5.1/context.go:114 +0x28 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x1556e00?) gopkg.in/macaron.v1@v1.5.1/recovery.go:161 +0x48 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x170ef80?, {0x40004f78c0?, 0x170ef80?, 0x8aceb8?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x64 github.com/go-macaron/inject.(*injector).fastInvoke(0x40006623d8?, {0xffff5342d060?, 0x3a26e80?}, {0x3c387f0?, 0x159ec60?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x88 github.com/go-macaron/inject.(*injector).Invoke(0x40006623d8, {0x159ec60, 0x3a26e80}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x128 gopkg.in/macaron%2ev1.(*Context).run(0x40004126c0) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x68 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3c17d78?, 0x40002b82d0?}, 0x3bfdba8?, 0x40021211a0) gopkg.in/macaron.v1@v1.5.1/router.go:187 +0x1fc gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0x4000331320, {0x3c17d78, 0x40002b82d0}, 0x4000434780) gopkg.in/macaron.v1@v1.5.1/router.go:304 +0x148 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0x4000370e00, {0x3c17d78, 0x40002b82d0}, 0x4000434780) gopkg.in/macaron.v1@v1.5.1/macaron.go:218 +0x140 net/http.serverHandler.ServeHTTP({0x4000ab2540?}, {0x3c17d78?, 0x40002b82d0?}, 0x6?) net/http/server.go:3340 +0xb0 net/http.(*conn).serve(0x40004125a0, {0x3c1b938, 0x4002135170}) net/http/server.go:2109 +0x528 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x384 goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0xffff53ab6c00, 0x72) runtime/netpoll.go:351 +0xa0 internal/poll.(*pollDesc).wait(0x4002114580?, 0x4cbf0c?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x4002114580) internal/poll/fd_unix.go:613 +0x21c net.(*netFD).accept(0x4002114580) net/fd_unix.go:161 +0x28 net.(*TCPListener).accept(0x400034d880) net/tcpsock_posix.go:159 +0x24 net.(*TCPListener).Accept(0x400034d880) net/tcpsock.go:380 +0x2c net/http.(*Server).Serve(0x400051c300, {0x3c18020, 0x400034d880}) net/http/server.go:3463 +0x24c net/http.(*Server).ListenAndServe(0x400051c300) net/http/server.go:3389 +0x80 net/http.ListenAndServe(...) net/http/server.go:3704 gogs.io/gogs/internal/cmd.runWeb(0x400079cc60) gogs.io/gogs/internal/cmd/web.go:748 +0xe14 github.com/urfave/cli.HandleAction({0x15254e0?, 0x3a26ed0?}, 0x3?) github.com/urfave/cli@v1.22.17/app.go:524 +0xd8 github.com/urfave/cli.Command.Run({{0x178aa8a, 0x3}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x17a6aaa, 0x10}, {0x0, ...}, ...}, ...) github.com/urfave/cli@v1.22.17/command.go:175 +0x494 github.com/urfave/cli.(*App).Run(0x4000093340, {0x400003e280, 0x2, 0x2}) github.com/urfave/cli@v1.22.17/app.go:277 +0x778 main.main() gogs.io/gogs/gogs.go:35 +0x360 goroutine 3 [select, 1935 minutes]: unknwon.dev/clog/v2.New.func1() unknwon.dev/clog/v2@v2.2.0/logger.go:202 +0xac created by unknwon.dev/clog/v2.New in goroutine 1 unknwon.dev/clog/v2@v2.2.0/logger.go:199 +0x4cc goroutine 5 [select, 15659 minutes]: database/sql.(*DB).connectionOpener(0x400060fe10, {0x3c1b970, 0x400078b1d0}) database/sql/sql.go:1261 +0x80 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x114 goroutine 6 [select, 15659 minutes]: database/sql.(*DB).connectionOpener(0x40003889c0, {0x3c1b970, 0x400078b5e0}) database/sql/sql.go:1261 +0x80 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x114 goroutine 12 [select, 11 minutes]: github.com/gogs/cron.(*Cron).run(0x40004b52c0) github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:197 +0x3a8 created by github.com/gogs/cron.(*Cron).Start in goroutine 1 github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:150 +0x6c goroutine 13 [chan receive, 15659 minutes]: gogs.io/gogs/internal/database.SyncMirrors() gogs.io/gogs/internal/database/mirror.go:390 +0x48 created by gogs.io/gogs/internal/database.InitSyncMirrors in goroutine 1 gogs.io/gogs/internal/database/mirror.go:530 +0x24 goroutine 14 [chan receive, 39 minutes]: gogs.io/gogs/internal/database.DeliverHooks() gogs.io/gogs/internal/database/webhook.go:810 +0x1c8 created by gogs.io/gogs/internal/database.InitDeliverHooks in goroutine 1 gogs.io/gogs/internal/database/webhook.go:830 +0x24 goroutine 15 [chan receive, 15659 minutes]: gogs.io/gogs/internal/database.TestPullRequests() gogs.io/gogs/internal/database/pull.go:866 +0xd4 created by gogs.io/gogs/internal/database.InitTestPullRequests in goroutine 1 gogs.io/gogs/internal/database/pull.go:884 +0x24 goroutine 138469 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() net/http/server.go:698 runtime.goexit({}) runtime/asm_arm64.s:1268 +0x4 created by net/http.(*connReader).startBackgroundRead in goroutine 138468 net/http/server.go:698 +0xb8 goroutine 138385 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() net/http/server.go:698 runtime.goexit({}) runtime/asm_arm64.s:1268 +0x4 created by net/http.(*connReader).startBackgroundRead in goroutine 138467 net/http/server.go:698 +0xb8 goroutine 138467 [runnable]: strings.(*Builder).Write(0x4000315b40?, {0x400197c748?, 0x4?, 0x8?}) strings/builder.go:87 +0x134 fmt.Fprintf({0x3c0b0a0, 0x4000315b40}, {0x178c15b, 0x4}, {0x4001777228, 0x1, 0x1}) fmt/print.go:225 +0x84 runtime/pprof.printCountProfile.func1(...) runtime/pprof/pprof.go:461 runtime/pprof.printCountProfile({0xffff533a6f18, 0x40006be190}, 0x1, {0x179fc5d, 0xc}, {0x3c18ea0, 0x4000862210}) runtime/pprof/pprof.go:474 +0x95c runtime/pprof.writeRuntimeProfile({0xffff533a6f18, 0x40006be190}, 0x1, {0x179fc5d, 0xc}, 0x3a299a0) runtime/pprof/pprof.go:796 +0x138 runtime/pprof.writeThreadCreate({0xffff533a6f18?, 0x40006be190?}, 0x30?) runtime/pprof/pprof.go:732 +0x38 runtime/pprof.(*Profile).WriteTo(0x489f770?, {0xffff533a6f18?, 0x40006be190?}, 0xc?) runtime/pprof/pprof.go:371 +0x144 net/http/pprof.handler.ServeHTTP({0x40017fe041, 0xc}, {0xffff5342d100, 0x40006be190}, 0x4000434a00) net/http/pprof/pprof.go:272 +0x414 net/http/pprof.Index({0xffff5342d100, 0x40006be190}, 0x4000434a00?) net/http/pprof/pprof.go:389 +0xc0 gopkg.in/macaron%2ev1.handlerFuncInvoker.Invoke(0x3a28578?, {0x4000315a00?, 0x2?, 0x8ac5b4?}) gopkg.in/macaron.v1@v1.5.1/macaron.go:48 +0xcc github.com/go-macaron/inject.(*injector).fastInvoke(0x4000010078?, {0xffff533a6dc8?, 0x3a28578?}, {0x3c387f0?, 0x159ece0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x88 github.com/go-macaron/inject.(*injector).Invoke(0x4000010078, {0x159ece0, 0x3a28578}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x128 gopkg.in/macaron%2ev1.(*Context).run(0x4000348ab0) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x68 gopkg.in/macaron%2ev1.(*Context).Next(0x170ef80?) gopkg.in/macaron.v1@v1.5.1/context.go:114 +0x28 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x1556e00?) gopkg.in/macaron.v1@v1.5.1/recovery.go:161 +0x48 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x170ef80?, {0x4000315560?, 0x170ef80?, 0x4254f0?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x64 github.com/go-macaron/inject.(*injector).fastInvoke(0x4000010078?, {0xffff5342d060?, 0x3a26e80?}, {0x3c387f0?, 0x159ec60?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x88 github.com/go-macaron/inject.(*injector).Invoke(0x4000010078, {0x159ec60, 0x3a26e80}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x128 gopkg.in/macaron%2ev1.(*Context).run(0x4000348ab0) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x68 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3c17d78?, 0x40021500f0?}, 0x3bfdba8?, 0x4000600c60) gopkg.in/macaron.v1@v1.5.1/router.go:187 +0x1fc gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0x4000331320, {0x3c17d78, 0x40021500f0}, 0x4000434a00) gopkg.in/macaron.v1@v1.5.1/router.go:304 +0x148 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0x4000370e00, {0x3c17d78, 0x40021500f0}, 0x4000434a00) gopkg.in/macaron.v1@v1.5.1/macaron.go:218 +0x140 net/http.serverHandler.ServeHTTP({0x4000ab27c0?}, {0x3c17d78?, 0x40021500f0?}, 0x6?) net/http/server.go:3340 +0xb0 net/http.(*conn).serve(0x4000412510, {0x3c1b938, 0x4002135170}) net/http/server.go:2109 +0x528 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x384