goroutine 3724496162 [running]: runtime/pprof.writeGoroutineStacks({0x7fe6eeeecc20, 0xc002ee65a0}) runtime/pprof/pprof.go:756 +0x6b runtime/pprof.writeGoroutine({0x7fe6eeeecc20?, 0xc002ee65a0?}, 0x7e?) runtime/pprof/pprof.go:745 +0x25 runtime/pprof.(*Profile).WriteTo(0x4bf3d70?, {0x7fe6eeeecc20?, 0xc002ee65a0?}, 0xc?) runtime/pprof/pprof.go:371 +0x14b net/http/pprof.handler.ServeHTTP({0xc0015d5001, 0x9}, {0x7fe6eeeecbf0, 0xc002ee65a0}, 0xc004353b80) net/http/pprof/pprof.go:272 +0x52a net/http/pprof.Index({0x7fe6eeeecbf0, 0xc002ee65a0}, 0xc004353b80?) net/http/pprof/pprof.go:389 +0xda gopkg.in/macaron%2ev1.handlerFuncInvoker.Invoke(0x195b5a0?, {0xc00310c9e0?, 0x195b5a0?, 0xc0034094a0?}) gopkg.in/macaron.v1@v1.5.1/macaron.go:48 +0xd0 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00254faa0?, {0x7fe6eeeee4c0?, 0x3c33648?}, {0x3e38e30?, 0x17bb6a0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00254faa0, {0x17bb6a0, 0x3c33648}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc003655e60) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000916ea0?) gopkg.in/macaron.v1@v1.5.1/context.go:114 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x1775560?) gopkg.in/macaron.v1@v1.5.1/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1927d40?, {0xc00310c920?, 0x1927d40?, 0x3e38e30?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00254faa0?, {0x7fe6eeeecb50?, 0x3c31f80?}, {0x3e38e30?, 0x17bb620?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00254faa0, {0x17bb620, 0x3c31f80}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc003655e60) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3e18338?, 0xc004ab54a0?}, 0x3dff088?, 0xc0034091d0) gopkg.in/macaron.v1@v1.5.1/router.go:187 +0x23a gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc000548a20, {0x3e18338, 0xc004ab54a0}, 0xc004353b80) gopkg.in/macaron.v1@v1.5.1/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc000920400, {0x3e18338, 0xc004ab54a0}, 0xc004353b80) gopkg.in/macaron.v1@v1.5.1/macaron.go:218 +0x153 net/http.serverHandler.ServeHTTP({0xc003658b80?}, {0x3e18338?, 0xc004ab54a0?}, 0x6?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc003655d40, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe735e16800, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc002330f80?, 0x20?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc002330f80) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc002330f80) net/fd_unix.go:161 +0x29 net.(*UnixListener).accept(0xc00338d328?) net/unixsock_posix.go:172 +0x16 net.(*UnixListener).Accept(0xc00234c6c0) net/unixsock.go:260 +0x30 net/http.(*Server).Serve(0xc0004c5100, {0x3e180f8, 0xc00234c6c0}) net/http/server.go:3463 +0x30c net/http.Serve(...) net/http/server.go:2971 gogs.io/gogs/internal/cmd.runWeb(0xc00043f080) gogs.io/gogs/internal/cmd/web.go:771 +0x1108 github.com/urfave/cli.HandleAction({0x1744520?, 0x3c31fd0?}, 0x3?) github.com/urfave/cli@v1.22.17/app.go:524 +0x9f github.com/urfave/cli.Command.Run({{0x19a3684, 0x3}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x19bf5b1, 0x10}, {0x0, ...}, ...}, ...) github.com/urfave/cli@v1.22.17/command.go:175 +0x656 github.com/urfave/cli.(*App).Run(0xc00044c380, {0xc00003e0c0, 0x4, 0x4}) github.com/urfave/cli@v1.22.17/app.go:277 +0xb1b main.main() gogs.io/gogs/gogs.go:35 +0x3cc goroutine 10 [select, 1 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 +0x58b goroutine 12 [select, 212123 minutes]: database/sql.(*DB).connectionOpener(0xc00079a410, {0x3e1bcb0, 0xc0006386e0}) database/sql/sql.go:1261 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x130 goroutine 50 [select, 212123 minutes]: database/sql.(*DB).connectionOpener(0xc000166b60, {0x3e1bcb0, 0xc000134280}) database/sql/sql.go:1261 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x130 goroutine 60 [select, 3 minutes]: github.com/gogs/cron.(*Cron).run(0xc000518a50) github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:197 +0x565 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 61 [chan receive, 212123 minutes]: gogs.io/gogs/internal/database.SyncMirrors() gogs.io/gogs/internal/database/mirror.go:340 +0x50 created by gogs.io/gogs/internal/database.InitSyncMirrors in goroutine 1 gogs.io/gogs/internal/database/mirror.go:480 +0x1a goroutine 62 [chan receive, 212123 minutes]: gogs.io/gogs/internal/database.DeliverHooks() gogs.io/gogs/internal/database/webhook.go:803 +0x258 created by gogs.io/gogs/internal/database.InitDeliverHooks in goroutine 1 gogs.io/gogs/internal/database/webhook.go:823 +0x1a goroutine 63 [chan receive, 212123 minutes]: gogs.io/gogs/internal/database.TestPullRequests() gogs.io/gogs/internal/database/pull.go:867 +0x118 created by gogs.io/gogs/internal/database.InitTestPullRequests in goroutine 1 gogs.io/gogs/internal/database/pull.go:885 +0x1a goroutine 3722459715 [IO wait, 5 minutes]: internal/poll.runtime_pollWait(0x7fe6ec593800, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc002331580?, 0xc003120000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc002331580, {0xc003120000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc002331580, {0xc003120000?, 0x0?, 0xc0036ffac8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc0009b66b8, {0xc003120000?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0xc003070b40, {0xc003120000, 0x1000, 0x1000}) net/http/server.go:812 +0x154 bufio.(*Reader).fill(0xc005b5f7a0) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc005b5f7a0, 0x4) bufio/bufio.go:152 +0x53 net/http.(*conn).serve(0xc0037a9440, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2145 +0x7c5 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724525097 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ee86e600, 0x77) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0036b0900?, 0xc00501a000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitWrite(...) internal/poll/fd_poll_runtime.go:93 internal/poll.(*FD).Write(0xc0036b0900, {0xc00501a000, 0x8000, 0x8000}) internal/poll/fd_unix.go:390 +0x2fc net.(*netFD).Write(0xc0036b0900, {0xc00501a000?, 0xc004220c2a?, 0xc002556e28?}) net/fd_posix.go:109 +0x25 net.(*conn).Write(0xc0035cf650, {0xc00501a000?, 0xc003051000?, 0x1500000041052a?}) net/net.go:208 +0x45 net/http.checkConnErrorWriter.Write({0xc000a4e580?}, {0xc00501a000?, 0xcb919c069c6a34e9?, 0xd2545b3137f7d087?}) net/http/server.go:4066 +0x26 bufio.(*Writer).Write(0xc000a4e580, {0xc00501a000?, 0x8000?, 0x8000?}) bufio/bufio.go:685 +0xe7 net/http.(*chunkWriter).Write(0xc004ab46d0, {0xc00501a000, 0x8000, 0x8000}) net/http/server.go:391 +0x105 bufio.(*Writer).Write(0xc003658f00, {0xc00501a000?, 0x41de93?, 0x486e72?}) bufio/bufio.go:685 +0xe7 net/http.(*response).write(0xc004ab4690, 0x8000, {0xc00501a000, 0x8000, 0x8000}, {0x0, 0x0}) net/http/server.go:1694 +0x28d net/http.(*response).Write(0x483089?, {0xc00501a000?, 0x172ae80?, 0x7fe6ec36f501?}) net/http/server.go:1657 +0x2a gopkg.in/macaron%2ev1.(*responseWriter).Write(0xc005004280, {0xc00501a000?, 0xc002557178?, 0x47e5a5?}) gopkg.in/macaron.v1@v1.5.1/response_writer.go:70 +0x6c io.copyBuffer({0x7fe6eeeecc20, 0xc005004280}, {0x3e0b2e0, 0xc00500b950}, {0x0, 0x0, 0x0}) io/io.go:431 +0x1d7 io.Copy(...) io/io.go:388 io.CopyN({0x7fe6eeeecc20, 0xc005004280}, {0x7fe6eee65fd0, 0xc005010880}, 0x996d6) io/io.go:364 +0x8c net/http.serveContent({0x7fe6eeeecbf0, 0xc005004280}, 0xc002005040, {0xc004d449c4, 0x1b}, {0xc00407c688?, 0xc002557450?, 0x0?}, 0xc002557438, {0x7fe6eee65de0, ...}) net/http/fs.go:429 +0xd25 net/http.ServeContent({0x7fe6eeeecbf0?, 0xc005004280?}, 0x1?, {0xc004d449c4?, 0xc0025574b0?}, {0x4ca1f3?, 0xc00479faa0?, 0x0?}, {0x7fe6eee65de0, 0xc005010880}) net/http/fs.go:257 +0x67 gopkg.in/macaron%2ev1.staticHandler(0xc004d54e10, 0xc000916ea0, {{0x0, 0x0}, 0x1, {0x19b3238, 0xa}, 0x0, 0x1, {0x3e0b600, ...}}) gopkg.in/macaron.v1@v1.5.1/static.go:195 +0xb7e gopkg.in/macaron%2ev1.Static.func1(0x20?, 0x1775560?) gopkg.in/macaron.v1@v1.5.1/static.go:210 +0x3f gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1927d40?, {0xc0050015c0?, 0x1927d40?, 0x17e44e0?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00500b938?, {0x7fe6eeeecb50?, 0xc0005180a0?}, {0x3e38e30?, 0x17bb620?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00500b938, {0x17bb620, 0xc0005180a0}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc004d54e10) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000916ea0?) gopkg.in/macaron.v1@v1.5.1/context.go:114 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x1775560?) gopkg.in/macaron.v1@v1.5.1/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1927d40?, {0xc005001580?, 0x1927d40?, 0x3e38e30?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00500b938?, {0x7fe6eeeecb50?, 0x3c31f80?}, {0x3e38e30?, 0x17bb620?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00500b938, {0x17bb620, 0x3c31f80}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc004d54e10) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3e18338?, 0xc004ab4690?}, 0x19a330e?, 0xc00500e810) gopkg.in/macaron.v1@v1.5.1/router.go:187 +0x23a gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc000548a20, {0x3e18338, 0xc004ab4690}, 0xc002005040) gopkg.in/macaron.v1@v1.5.1/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc000920400, {0x3e18338, 0xc004ab4690}, 0xc002005040) gopkg.in/macaron.v1@v1.5.1/macaron.go:218 +0x153 net/http.serverHandler.ServeHTTP({0xc000a4e400?}, {0x3e18338?, 0xc004ab4690?}, 0x6?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc002af22d0, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724524299 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ee8b9800, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003422300?, 0xc002bbd000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003422300, {0xc002bbd000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc003422300, {0xc002bbd000?, 0x0?, 0xc002b71ac8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc003667388, {0xc002bbd000?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0xc002d84a80, {0xc002bbd000, 0x1000, 0x1000}) net/http/server.go:812 +0x154 bufio.(*Reader).fill(0xc0033ab1a0) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc0033ab1a0, 0x4) bufio/bufio.go:152 +0x53 net/http.(*conn).serve(0xc002af2ea0, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2145 +0x7c5 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724496115 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ec53be00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003423180?, 0xc00251f000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003423180, {0xc00251f000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc003423180, {0xc00251f000?, 0x0?, 0xc002f11ac8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc003145e10, {0xc00251f000?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0xc003712740, {0xc00251f000, 0x1000, 0x1000}) net/http/server.go:812 +0x154 bufio.(*Reader).fill(0xc002334540) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc002334540, 0x4) bufio/bufio.go:152 +0x53 net/http.(*conn).serve(0xc0037a8000, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2145 +0x7c5 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724719961 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ec58e600, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0048b4a00?, 0xc00472f000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0048b4a00, {0xc00472f000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc0048b4a00, {0xc00472f000?, 0x0?, 0xc002a47ac8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc004607190, {0xc00472f000?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0xc00470ba80, {0xc00472f000, 0x1000, 0x1000}) net/http/server.go:812 +0x154 bufio.(*Reader).fill(0xc00470f6e0) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc00470f6e0, 0x4) bufio/bufio.go:152 +0x53 net/http.(*conn).serve(0xc004956e10, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2145 +0x7c5 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724170281 [IO wait, 8 minutes]: internal/poll.runtime_pollWait(0x7fe6ecc92e00, 0x77) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003d46880?, 0xc00a5dd090?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitWrite(...) internal/poll/fd_poll_runtime.go:93 internal/poll.(*FD).Write(0xc003d46880, {0xc00a57ae50, 0x125f86, 0xcd31b0}) internal/poll/fd_unix.go:390 +0x2fc net.(*netFD).Write(0xc003d46880, {0xc00a57ae50?, 0x1?, 0x7fe735fa0108?}) net/fd_posix.go:109 +0x25 net.(*conn).Write(0xc002e10278, {0xc00a57ae50?, 0xc002a57000?, 0xc0036268c0?}) net/net.go:208 +0x45 net/http.checkConnErrorWriter.Write({0xc003713180?}, {0xc00a57ae50?, 0x4?, 0xc003626980?}) net/http/server.go:4066 +0x26 bufio.(*Writer).Write(0xc003713180, {0xc00a57a000?, 0x19a429b?, 0x4?}) bufio/bufio.go:685 +0xe7 net/http.(*chunkWriter).Write(0xc00038f3f0, {0xc00a57a000, 0x126dd6, 0xcd4000}) net/http/server.go:391 +0x105 bufio.(*Writer).Write(0xc000418140, {0xc00a57a000?, 0xc00048f170?, 0x17e0240?}) bufio/bufio.go:685 +0xe7 net/http.(*response).write(0xc00038f3b0, 0x126dd6, {0xc00a57a000, 0x126dd6, 0xcd4000}, {0x0, 0x0}) net/http/server.go:1694 +0x28d net/http.(*response).Write(0xc003660000?, {0xc00a57a000?, 0x7fe735fa0108?, 0x10?}) net/http/server.go:1657 +0x2a gopkg.in/macaron%2ev1.(*responseWriter).Write(0xc002ee7e50, {0xc00a57a000?, 0x10?, 0x1743ce0?}) gopkg.in/macaron.v1@v1.5.1/response_writer.go:70 +0x6c bytes.(*Buffer).WriteTo(0xc00048f170, {0x3e0d6a0?, 0xc002ee7ea0?}) bytes/buffer.go:267 +0x7b gopkg.in/macaron%2ev1.(*TplRender).renderHTML(0xc002ee7ea0, 0xc8, {0x19aa69e, 0x7}, {0x19b0fbd, 0x9}, {0x17e0240, 0xc00364b7a0}, {0x0, 0x0, ...}) gopkg.in/macaron.v1@v1.5.1/render.go:573 +0x237 gopkg.in/macaron%2ev1.(*TplRender).HTMLSet(0x0?, 0x10?, {0x19aa69e?, 0x537085?}, {0x19b0fbd?, 0xc003626d48?}, {0x17e0240?, 0xc00364b7a0?}, {0x0, 0x0, ...}) gopkg.in/macaron.v1@v1.5.1/render.go:584 +0x50 gopkg.in/macaron%2ev1.(*Context).renderHTML(0x19b0fbd?, 0x0?, {0x19aa69e?, 0x19b7a6e?}, {0x19b0fbd?, 0xc003626da0?}, {0x0?, 0x1?, 0xc001ec2e48?}) gopkg.in/macaron.v1@v1.5.1/context.go:160 +0x191 gopkg.in/macaron%2ev1.(*Context).HTML(...) gopkg.in/macaron.v1@v1.5.1/context.go:170 gogs.io/gogs/internal/context.(*Context).HTML(0xc00365e070, 0xc8, {0x19b0fbd, 0x9}) gogs.io/gogs/internal/context/context.go:119 +0xa9 gogs.io/gogs/internal/context.(*Context).Success(...) gogs.io/gogs/internal/context/context.go:124 gogs.io/gogs/internal/route/repo.Home(0xc00365e070) gogs.io/gogs/internal/route/repo/view.go:303 +0x905 reflect.Value.call({0x172f7c0?, 0x3c323b8?, 0xc002183140?}, {0x19a41f7, 0x4}, {0xc003627580, 0x1, 0x0?}) reflect/value.go:581 +0xcc6 reflect.Value.Call({0x172f7c0?, 0x3c323b8?, 0x198b440?}, {0xc003627580?, 0x410e11?, 0xc0036275f8?}) reflect/value.go:365 +0xb9 github.com/go-macaron/inject.(*injector).callInvoke(0xc00336a798?, {0x172f7c0?, 0x3c323b8?}, {0x3e38e30?, 0x172f7c0?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:177 +0x15b github.com/go-macaron/inject.(*injector).Invoke(0xc00336a798, {0x172f7c0, 0x3c323b8}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:137 +0x97 gopkg.in/macaron%2ev1.(*Context).run(0xc0036541b0) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(...) gopkg.in/macaron.v1@v1.5.1/context.go:114 github.com/go-macaron/session.Sessioner.func1(0xc0036541b0) github.com/go-macaron/session@v1.0.3/session.go:197 +0x505 gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x1985ae0?, {0xc00334f980?, 0x1985ae0?, 0xc00364b890?}) gopkg.in/macaron.v1@v1.5.1/context.go:80 +0x36 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00336a798?, {0x7fe6eeeecbd0?, 0xc000b32288?}, {0x3e38e30?, 0x17aaae0?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00336a798, {0x17aaae0, 0xc000b32288}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc0036541b0) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000916ea0?) gopkg.in/macaron.v1@v1.5.1/context.go:114 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x1775560?) gopkg.in/macaron.v1@v1.5.1/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1927d40?, {0xc00365c100?, 0x1927d40?, 0x3e38e30?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc00336a798?, {0x7fe6eeeecb50?, 0x3c31f80?}, {0x3e38e30?, 0x17bb620?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc00336a798, {0x17bb620, 0x3c31f80}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc0036541b0) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3e18338?, 0xc00038f3b0?}, 0x19a330e?, 0xc00364b740) gopkg.in/macaron.v1@v1.5.1/router.go:187 +0x23a gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc000548a20, {0x3e18338, 0xc00038f3b0}, 0xc0003a5cc0) gopkg.in/macaron.v1@v1.5.1/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc000920400, {0x3e18338, 0xc00038f3b0}, 0xc0003a5cc0) gopkg.in/macaron.v1@v1.5.1/macaron.go:218 +0x153 net/http.serverHandler.ServeHTTP({0xc003713140?}, {0x3e18338?, 0xc00038f3b0?}, 0x6?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc003b8fd40, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724741161 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ebac7400, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003ac5980?, 0xc0023bf000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003ac5980, {0xc0023bf000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc003ac5980, {0xc0023bf000?, 0x0?, 0xc0021d5ac8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc0038fded8, {0xc0023bf000?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0xc000b51a40, {0xc0023bf000, 0x1000, 0x1000}) net/http/server.go:812 +0x154 bufio.(*Reader).fill(0xc003a40960) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc003a40960, 0x4) bufio/bufio.go:152 +0x53 net/http.(*conn).serve(0xc000319e60, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2145 +0x7c5 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724662539 [IO wait]: internal/poll.runtime_pollWait(0x7fe6eed74a00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003c57b80?, 0xc003a02000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003c57b80, {0xc003a02000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc003c57b80, {0xc003a02000?, 0x0?, 0xc002f11ac8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc0035cf3d0, {0xc003a02000?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0xc0038f2800, {0xc003a02000, 0x1000, 0x1000}) net/http/server.go:812 +0x154 bufio.(*Reader).fill(0xc0043972c0) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc0043972c0, 0x4) bufio/bufio.go:152 +0x53 net/http.(*conn).serve(0xc0036a3560, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2145 +0x7c5 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724739157 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ee86e600, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0036b0900?, 0xc000a4e421?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0036b0900, {0xc000a4e421, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc0036b0900, {0xc000a4e421?, 0xc000094070?, 0xc004cccf70?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc0035cf650, {0xc000a4e421?, 0xb84498?, 0xc0022db9a0?}) net/net.go:196 +0x45 net/http.(*connReader).backgroundRead(0xc000a4e400) net/http/server.go:702 +0x33 created by net/http.(*connReader).startBackgroundRead in goroutine 3724525097 net/http/server.go:698 +0xb6 goroutine 3660422695 [select]: database/sql.(*DB).connectionCleaner(0xc000166b60, 0x0?) database/sql/sql.go:1104 +0x9c created by database/sql.(*DB).startCleanerLocked in goroutine 3660381560 database/sql/sql.go:1091 +0x105 goroutine 3724754693 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ee8b9c00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0048b4880?, 0xc0049b7a21?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0048b4880, {0xc0049b7a21, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc0048b4880, {0xc0049b7a21?, 0x1?, 0xc004cc3fb8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc004607188, {0xc0049b7a21?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).backgroundRead(0xc0049b7a00) net/http/server.go:702 +0x33 created by net/http.(*connReader).startBackgroundRead in goroutine 3724719960 net/http/server.go:698 +0xb6 goroutine 3724305333 [IO wait, 8 minutes]: internal/poll.runtime_pollWait(0x7fe6ecc92e00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc003d46880?, 0xc003713161?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc003d46880, {0xc003713161, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc003d46880, {0xc003713161?, 0xc00361a9a0?, 0x0?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc002e10278, {0xc003713161?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).backgroundRead(0xc003713140) net/http/server.go:702 +0x33 created by net/http.(*connReader).startBackgroundRead in goroutine 3724170281 net/http/server.go:698 +0xb6 goroutine 3724527932 [select]: database/sql.(*DB).connectionCleaner(0xc00079a410, 0x0?) database/sql/sql.go:1104 +0x9c created by database/sql.(*DB).startCleanerLocked in goroutine 3724524299 database/sql/sql.go:1091 +0x105 goroutine 3724719962 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ec536e00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0048b4b80?, 0xc0049f2000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0048b4b80, {0xc0049f2000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc0048b4b80, {0xc0049f2000?, 0x0?, 0xc0025d7ac8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc004607198, {0xc0049f2000?, 0x0?, 0x0?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0xc0049b7900, {0xc0049f2000, 0x1000, 0x1000}) net/http/server.go:812 +0x154 bufio.(*Reader).fill(0xc0049d0f60) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc0049d0f60, 0x4) bufio/bufio.go:152 +0x53 net/http.(*conn).serve(0xc004956ea0, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2145 +0x7c5 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724719960 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ee8b9c00, 0x77) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0048b4880?, 0xc007e8ddd0?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitWrite(...) internal/poll/fd_poll_runtime.go:93 internal/poll.(*FD).Write(0xc0048b4880, {0xc007b6ae50, 0x68bf98, 0xd171b0}) internal/poll/fd_unix.go:390 +0x2fc net.(*netFD).Write(0xc0048b4880, {0xc007b6ae50?, 0x1?, 0x7fe735fa05c0?}) net/fd_posix.go:109 +0x25 net.(*conn).Write(0xc004607188, {0xc007b6ae50?, 0xc0049f9000?, 0xc0037648c0?}) net/net.go:208 +0x45 net/http.checkConnErrorWriter.Write({0xc0049b7a40?}, {0xc007b6ae50?, 0x4?, 0xc003764980?}) net/http/server.go:4066 +0x26 bufio.(*Writer).Write(0xc0049b7a40, {0xc007b6a000?, 0x19a429b?, 0x4?}) bufio/bufio.go:685 +0xe7 net/http.(*chunkWriter).Write(0xc0040b2b80, {0xc007b6a000, 0x68cde8, 0xd18000}) net/http/server.go:391 +0x105 bufio.(*Writer).Write(0xc002be5e00, {0xc007b6a000?, 0xc003baea80?, 0x17e0240?}) bufio/bufio.go:685 +0xe7 net/http.(*response).write(0xc0040b2b40, 0x68cde8, {0xc007b6a000, 0x68cde8, 0xd18000}, {0x0, 0x0}) net/http/server.go:1694 +0x28d net/http.(*response).Write(0xc0046ebb80?, {0xc007b6a000?, 0x7fe735fa05c0?, 0x10?}) net/http/server.go:1657 +0x2a gopkg.in/macaron%2ev1.(*responseWriter).Write(0xc00484ac30, {0xc007b6a000?, 0x10?, 0x1743ce0?}) gopkg.in/macaron.v1@v1.5.1/response_writer.go:70 +0x6c bytes.(*Buffer).WriteTo(0xc003baea80, {0x3e0d6a0?, 0xc00484ac80?}) bytes/buffer.go:267 +0x7b gopkg.in/macaron%2ev1.(*TplRender).renderHTML(0xc00484ac80, 0xc8, {0x19aa69e, 0x7}, {0x19b0fbd, 0x9}, {0x17e0240, 0xc004888270}, {0x0, 0x0, ...}) gopkg.in/macaron.v1@v1.5.1/render.go:573 +0x237 gopkg.in/macaron%2ev1.(*TplRender).HTMLSet(0x0?, 0x10?, {0x19aa69e?, 0x537085?}, {0x19b0fbd?, 0xc003764d48?}, {0x17e0240?, 0xc004888270?}, {0x0, 0x0, ...}) gopkg.in/macaron.v1@v1.5.1/render.go:584 +0x50 gopkg.in/macaron%2ev1.(*Context).renderHTML(0x19b0fbd?, 0x0?, {0x19aa69e?, 0x19b7a6e?}, {0x19b0fbd?, 0xc003764da0?}, {0x0?, 0x1?, 0xc001587d58?}) gopkg.in/macaron.v1@v1.5.1/context.go:160 +0x191 gopkg.in/macaron%2ev1.(*Context).HTML(...) gopkg.in/macaron.v1@v1.5.1/context.go:170 gogs.io/gogs/internal/context.(*Context).HTML(0xc004841030, 0xc8, {0x19b0fbd, 0x9}) gogs.io/gogs/internal/context/context.go:119 +0xa9 gogs.io/gogs/internal/context.(*Context).Success(...) gogs.io/gogs/internal/context/context.go:124 gogs.io/gogs/internal/route/repo.Home(0xc004841030) gogs.io/gogs/internal/route/repo/view.go:303 +0x905 reflect.Value.call({0x172f7c0?, 0x3c323b8?, 0xc001606330?}, {0x19a41f7, 0x4}, {0xc003765580, 0x1, 0x0?}) reflect/value.go:581 +0xcc6 reflect.Value.Call({0x172f7c0?, 0x3c323b8?, 0x198b440?}, {0xc003765580?, 0x410e11?, 0xc0037655f8?}) reflect/value.go:365 +0xb9 github.com/go-macaron/inject.(*injector).callInvoke(0xc0048808e8?, {0x172f7c0?, 0x3c323b8?}, {0x3e38e30?, 0x172f7c0?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:177 +0x15b github.com/go-macaron/inject.(*injector).Invoke(0xc0048808e8, {0x172f7c0, 0x3c323b8}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:137 +0x97 gopkg.in/macaron%2ev1.(*Context).run(0xc0045bf440) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(...) gopkg.in/macaron.v1@v1.5.1/context.go:114 github.com/go-macaron/session.Sessioner.func1(0xc0045bf440) github.com/go-macaron/session@v1.0.3/session.go:197 +0x505 gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x1985ae0?, {0xc00487eac0?, 0x1985ae0?, 0xc004888360?}) gopkg.in/macaron.v1@v1.5.1/context.go:80 +0x36 github.com/go-macaron/inject.(*injector).fastInvoke(0xc0048808e8?, {0x7fe6eeeecbd0?, 0xc000b32288?}, {0x3e38e30?, 0x17aaae0?}, 0x1?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc0048808e8, {0x17aaae0, 0xc000b32288}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc0045bf440) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc000916ea0?) gopkg.in/macaron.v1@v1.5.1/context.go:114 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x1775560?) gopkg.in/macaron.v1@v1.5.1/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1927d40?, {0xc00487d3e0?, 0x1927d40?, 0x3e38e30?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc0048808e8?, {0x7fe6eeeecb50?, 0x3c31f80?}, {0x3e38e30?, 0x17bb620?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc0048808e8, {0x17bb620, 0x3c31f80}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc0045bf440) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3e18338?, 0xc0040b2b40?}, 0x19a330e?, 0xc004888210) gopkg.in/macaron.v1@v1.5.1/router.go:187 +0x23a gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc000548a20, {0x3e18338, 0xc0040b2b40}, 0xc004352a00) gopkg.in/macaron.v1@v1.5.1/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc000920400, {0x3e18338, 0xc0040b2b40}, 0xc004352a00) gopkg.in/macaron.v1@v1.5.1/macaron.go:218 +0x153 net/http.serverHandler.ServeHTTP({0xc0049b7a00?}, {0x3e18338?, 0xc0040b2b40?}, 0x6?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc004956d80, {0x3e1bc78, 0xc00234c810}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 3724756283 [IO wait]: internal/poll.runtime_pollWait(0x7fe6ebac6a00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00367a280?, 0xc003658ba1?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00367a280, {0xc003658ba1, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc00367a280, {0xc003658ba1?, 0x1?, 0xc004dd5fb8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc0039c5688, {0xc003658ba1?, 0x0?, 0xc004dd5fd0?}) net/net.go:196 +0x45 net/http.(*connReader).backgroundRead(0xc003658b80) net/http/server.go:702 +0x33 created by net/http.(*connReader).startBackgroundRead in goroutine 3724496162 net/http/server.go:698 +0xb6