gitea: 1.1.0 does not start due to a SIGSEGV

  • Gitea version (or commit ref): 1.1.0
  • Git version:
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
Mar 09 21:51:59 git systemd[1]: Started Gitea (Git with a cup of tea).
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [T] Custom path: /usr/bin/custom
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [T] Log path: /var/log/gitea
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [I] Gitea v1.1.0 built with: bindata, sqlite
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table user column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table user Column max_repo_creation db default is '-1'::integer, struct default is -1
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table user Column allow_create_organization db default is , struct default is true
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table user Column diff_view_style db default is '''::character varying', struct default is ''
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table public_key column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table access_token column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table deploy_key column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table collaboration column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table access column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table upload column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table watch column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table star column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table follow column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table action column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table pull_request column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table comment column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table attachment column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table label column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue_label column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table milestone column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table mirror column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table release column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table login_source column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table webhook column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table hook_task column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table team column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table org_user column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table team_user column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table team_repo column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table notice column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table email_address column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue_user column id db type is SERIAL, struct type is BIGSERIAL
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repo_unit column config db type is JSON, struct type is TEXT
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table access_token has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table access_token has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table action has column act_email but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table action has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table attachment has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table collaboration has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table deploy_key has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table deploy_key has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue has column deadline but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue_user has column repo_id but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue_user has column milestone_id but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue_user has column is_poster but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table issue_user has column is_closed but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table login_source has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table login_source has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table comment has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table milestone has column deadline but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table milestone has column closed_date but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table mirror has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table mirror has column next_update but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table release has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table notice has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table public_key has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table public_key has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table pull_request has column merged but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column enable_wiki but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column enable_external_wiki but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column external_wiki_url but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column enable_issues but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column enable_external_tracker but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column external_tracker_format but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column enable_pulls but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column external_tracker_style but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table repository has column external_tracker_url but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table webhook has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table webhook has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table user has column created but struct has not related field
Mar 09 21:51:59 git gitea[1148]: 2017/03/09 21:51:59 [W] Table user has column updated but struct has not related field
Mar 09 21:51:59 git gitea[1148]: fatal error: unexpected signal during runtime execution
Mar 09 21:51:59 git gitea[1148]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x47 pc=0x3c2a4dab179]
Mar 09 21:51:59 git gitea[1148]: runtime stack:
Mar 09 21:51:59 git gitea[1148]: runtime.throw(0x1363e43, 0x2a)
Mar 09 21:51:59 git gitea[1148]:         /usr/local/go/src/runtime/panic.go:596 +0x95
Mar 09 21:51:59 git gitea[1148]: runtime.sigpanic()
Mar 09 21:51:59 git gitea[1148]:         /usr/local/go/src/runtime/signal_unix.go:274 +0x2db
Mar 09 21:51:59 git gitea[1148]: goroutine 112 [syscall, locked to thread]:
Mar 09 21:51:59 git gitea[1148]: runtime.cgocall(0xfc1840, 0xc4202a4ab0, 0x1362194)
Mar 09 21:51:59 git gitea[1148]:         /usr/local/go/src/runtime/cgocall.go:131 +0xe2 fp=0xc4202a4a70 sp=0xc4202a4a30
Mar 09 21:51:59 git gitea[1148]: net._C2func_getaddrinfo(0x3c28c0008c0, 0x0, 0xc420645320, 0xc42000e148, 0x0, 0x0, 0x0)
Mar 09 21:51:59 git gitea[1148]:         net/_obj/_cgo_gotypes.go:86 +0x68 fp=0xc4202a4ab0 sp=0xc4202a4a70
Mar 09 21:51:59 git gitea[1148]: net.cgoLookupIPCNAME.func2(0x3c28c0008c0, 0x0, 0xc420645320, 0xc42000e148, 0x0, 0x0, 0x0)
Mar 09 21:51:59 git gitea[1148]:         /usr/local/go/src/net/cgo_unix.go:151 +0x171 fp=0xc4202a4b10 sp=0xc4202a4ab0
Mar 09 21:51:59 git gitea[1148]: net.cgoLookupIPCNAME(0xc42063de60, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
Mar 09 21:51:59 git gitea[1148]:         /usr/local/go/src/net/cgo_unix.go:151 +0x1bd fp=0xc4202a4c10 sp=0xc4202a4b10
Mar 09 21:51:59 git systemd[1]: gitea.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 09 21:51:59 git systemd[1]: gitea.service: Unit entered failed state.
Mar 09 21:51:59 git systemd[1]: gitea.service: Failed with result 'exit-code'.
Mar 09 21:52:00 git systemd[1]: gitea.service: Service hold-off time over, scheduling restart.
Mar 09 21:52:00 git systemd[1]: Stopped Gitea (Git with a cup of tea).

Description

Gitea does not start since updating to 1.1.0 (prebuild version from release page)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 20 (14 by maintainers)

Most upvoted comments

@tboerger maybe we need comiple via go1.8

I have created the pull request https://github.com/go-gitea/gitea/pull/1690 which should solve this issue as it enforces the Go name resolution instead of CGO for cross-compiled binaries.

Hi

I get this error also from 1.1.1 version get from dl.gitea.io

And this happens with an empty DB and empty data dirs:

2017/03/09 22:58:35 [I] Gitea v1.1.0 built with: bindata, sqlite
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x47 pc=0x3e20a5ee179]

runtime stack:
runtime.throw(0x1363e43, 0x2a)
	/usr/local/go/src/runtime/panic.go:596 +0x95
runtime.sigpanic()
	/usr/local/go/src/runtime/signal_unix.go:274 +0x2db

goroutine 12 [syscall, locked to thread]:
runtime.cgocall(0xfc1840, 0xc42003bab0, 0x1362194)
	/usr/local/go/src/runtime/cgocall.go:131 +0xe2 fp=0xc42003ba70 sp=0xc42003ba30
net._C2func_getaddrinfo(0x3e1fc0008c0, 0x0, 0xc420161bc0, 0xc42000e070, 0x0, 0x0, 0x0)
	net/_obj/_cgo_gotypes.go:86 +0x68 fp=0xc42003bab0 sp=0xc42003ba70
net.cgoLookupIPCNAME.func2(0x3e1fc0008c0, 0x0, 0xc420161bc0, 0xc42000e070, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/cgo_unix.go:151 +0x171 fp=0xc42003bb10 sp=0xc42003bab0
net.cgoLookupIPCNAME(0xc42025de80, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/cgo_unix.go:151 +0x1bd fp=0xc42003bc10 sp=0xc42003bb10
net.cgoLookupIP(0x1c74340, 0xc420016400, 0xc42025de80, 0x9, 0xc420180048, 0x40446e, 0xc4205cc608, 0xc4205cc618, 0xc4205cc6a0, 0x418daf)
	/usr/local/go/src/net/cgo_unix.go:209 +0x3a1 fp=0xc42003bd78 sp=0xc42003bc10
net.(*Resolver).lookupIP(0x238c1a8, 0x1c74340, 0xc420016400, 0xc42025de80, 0x9, 0xc4205a2340, 0xc4205cc648, 0x4364de, 0xc4205a2340, 0x200000003)
	/usr/local/go/src/net/lookup_unix.go:69 +0x125 fp=0xc42003bde8 sp=0xc42003bd78
net.(*Resolver).(net.lookupIP)-fm(0x1c74340, 0xc420016400, 0xc42025de80, 0x9, 0x413dcc, 0xc420226850, 0xc4205cc7b0, 0x10, 0x0)
	/usr/local/go/src/net/lookup.go:156 +0x56 fp=0xc42003be48 sp=0xc42003bde8
net.glob..func11(0x1c74340, 0xc420016400, 0xc42025deb0, 0xc42025de80, 0x9, 0x0, 0x465518, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/hook.go:19 +0x52 fp=0xc42003bea0 sp=0xc42003be48
net.(*Resolver).LookupIPAddr.func1(0xc4205cc788, 0x58157f, 0xc420180048, 0x0)
	/usr/local/go/src/net/lookup.go:162 +0x5c fp=0xc42003bf28 sp=0xc42003bea0
internal/singleflight.(*Group).doCall(0x2366a30, 0xc420062050, 0xc42025de80, 0x9, 0xc420161b00)
	/usr/local/go/src/internal/singleflight/singleflight.go:93 +0x3c fp=0xc42003bfb8 sp=0xc42003bf28
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42003bfc0 sp=0xc42003bfb8
created by internal/singleflight.(*Group).DoChan
	/usr/local/go/src/internal/singleflight/singleflight.go:86 +0x323

goroutine 1 [syscall]:
syscall.Syscall(0x4b, 0x5, 0x0, 0x0, 0xa06422, 0xc4200c80d0, 0xc420502000)
	/usr/local/go/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.Fdatasync(0x5, 0x0, 0x0)
	/usr/local/go/src/syscall/zsyscall_linux_amd64.go:472 +0x4a
code.gitea.io/gitea/vendor/github.com/boltdb/bolt.fdatasync(0xc4204fe000, 0x4000, 0x4000)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/boltdb/bolt/bolt_linux.go:9 +0x3a
code.gitea.io/gitea/vendor/github.com/boltdb/bolt.(*DB).init(0xc4204fe000, 0x0, 0xc4204da8f0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/boltdb/bolt/db.go:360 +0x197
code.gitea.io/gitea/vendor/github.com/boltdb/bolt.Open(0xc42024c840, 0x29, 0x180, 0xc420106da8, 0x238d6a0, 0x12d7c60, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/boltdb/bolt/db.go:194 +0x24a
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/store/boltdb.New(0x1c71840, 0x238c080, 0xc42024c5d0, 0x6, 0xc42026c230, 0x9dd2d2, 0x12e05a0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/store/boltdb/store.go:77 +0x270
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/upsidedown.(*UpsideDownCouch).Open(0xc420264980, 0x0, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/upsidedown/upsidedown.go:308 +0x10c
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve.newIndexUsing(0xc420134961, 0x23, 0x1c77520, 0xc420264700, 0x13305c8, 0xb, 0x1325467, 0x6, 0x0, 0x0, ...)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index_impl.go:103 +0x5a3
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve.New(0xc420134961, 0x23, 0x1c77520, 0xc420264700, 0x1, 0x1, 0x30, 0x1271d00)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.go:205 +0x87
code.gitea.io/gitea/models.createIssueIndexer(0x1c69b40, 0xc420134000)
	/srv/app/src/code.gitea.io/gitea/models/issue_indexer.go:112 +0x350
code.gitea.io/gitea/models.InitIssueIndexer()
	/srv/app/src/code.gitea.io/gitea/models/issue_indexer.go:76 +0x166
code.gitea.io/gitea/modules/indexer.NewContext()
	/srv/app/src/code.gitea.io/gitea/modules/indexer/indexer.go:13 +0x20
code.gitea.io/gitea/routers.GlobalInit()
	/srv/app/src/code.gitea.io/gitea/routers/init.go:64 +0x3a1
code.gitea.io/gitea/cmd.runWeb(0xc420185900, 0x0, 0xc420185900)
	/srv/app/src/code.gitea.io/gitea/cmd/web.go:170 +0x9d
code.gitea.io/gitea/vendor/github.com/urfave/cli.HandleAction(0x11d46e0, 0x137beb8, 0xc420185900, 0xc42017c900, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/urfave/cli/app.go:471 +0xb9
code.gitea.io/gitea/vendor/github.com/urfave/cli.Command.Run(0x1321a4f, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1345e9a, 0x16, 0x0, ...)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/urfave/cli/command.go:191 +0xb4b
code.gitea.io/gitea/vendor/github.com/urfave/cli.(*App).Run(0xc420147040, 0xc420010180, 0x4, 0x4, 0x0, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/urfave/cli/app.go:241 +0x65f
main.main()
	/srv/app/src/code.gitea.io/gitea/main.go:44 +0x3cd

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1

goroutine 18 [select]:
code.gitea.io/gitea/modules/log.(*Logger).StartLogger(0xc4201765c0)
	/srv/app/src/code.gitea.io/gitea/modules/log/log.go:265 +0x2a7
created by code.gitea.io/gitea/modules/log.newLogger
	/srv/app/src/code.gitea.io/gitea/modules/log/log.go:191 +0x11f

goroutine 19 [select]:
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.AnalysisWorker(0xc42017d0e0, 0xc42017d140)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.NewAnalysisQueue
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 20 [select]:
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.AnalysisWorker(0xc42017d0e0, 0xc42017d140)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.NewAnalysisQueue
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 21 [select]:
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.AnalysisWorker(0xc42017d0e0, 0xc42017d140)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.NewAnalysisQueue
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 22 [select]:
code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.AnalysisWorker(0xc42017d0e0, 0xc42017d140)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index.NewAnalysisQueue
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 33 [chan receive]:
code.gitea.io/gitea/modules/notification.(*notificationService).Run(0x23644a0)
	/srv/app/src/code.gitea.io/gitea/modules/notification/notification.go:37 +0x63
created by code.gitea.io/gitea/modules/notification.init.1
	/srv/app/src/code.gitea.io/gitea/modules/notification/notification.go:31 +0x41

goroutine 50 [syscall]:
os/signal.signal_recv(0x0)
	/usr/local/go/src/runtime/sigqueue.go:116 +0x104
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
	/usr/local/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 51 [runnable]:
code.gitea.io/gitea/modules/log.(*Logger).StartLogger(0xc42024bb80)
	/srv/app/src/code.gitea.io/gitea/modules/log/log.go:265 +0x2a7
created by code.gitea.io/gitea/modules/log.newLogger
	/srv/app/src/code.gitea.io/gitea/modules/log/log.go:191 +0x11f

goroutine 52 [select]:
code.gitea.io/gitea/modules/log.(*Logger).StartLogger(0xc42024bbc0)
	/srv/app/src/code.gitea.io/gitea/modules/log/log.go:265 +0x2a7
created by code.gitea.io/gitea/modules/log.newLogger
	/srv/app/src/code.gitea.io/gitea/modules/log/log.go:191 +0x11f

goroutine 53 [chan receive]:
code.gitea.io/gitea/modules/mailer.processMailQueue()
	/srv/app/src/code.gitea.io/gitea/modules/mailer/mailer.go:241 +0x71
created by code.gitea.io/gitea/modules/mailer.NewContext
	/srv/app/src/code.gitea.io/gitea/modules/mailer/mailer.go:273 +0xd3

goroutine 54 [chan receive]:
database/sql.(*DB).connectionOpener(0xc42048cbe0)
	/usr/local/go/src/database/sql/sql.go:837 +0x4a
created by database/sql.Open
	/usr/local/go/src/database/sql/sql.go:582 +0x212

goroutine 86 [select]:
net.(*Resolver).LookupIPAddr(0x238c1a8, 0x1c74340, 0xc420016400, 0xc42025de80, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/lookup.go:165 +0x9b1
net.(*Resolver).internetAddrList(0x238c1a8, 0x1c74340, 0xc420016400, 0x1321a1c, 0x3, 0xc42025de80, 0xe, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/net/ipsock.go:245 +0x4cc
net.(*Resolver).resolveAddrList(0x238c1a8, 0x1c74340, 0xc420016400, 0x13225ac, 0x4, 0x1321a1c, 0x3, 0xc42025de80, 0xe, 0x0, ...)
	/usr/local/go/src/net/dial.go:188 +0x6b3
net.(*Dialer).DialContext(0xc42010b590, 0x1c74340, 0xc420016400, 0x1321a1c, 0x3, 0xc42025de80, 0xe, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/net/dial.go:349 +0x247
net.(*Dialer).Dial(0xc42010b590, 0x1321a1c, 0x3, 0xc42025de80, 0xe, 0x447fe7, 0x0, 0xc42010b5c0, 0x3)
	/usr/local/go/src/net/dial.go:294 +0x75
net.Dial(0x1321a1c, 0x3, 0xc42025de80, 0xe, 0xabbbd9, 0xc42025dcb0, 0x9, 0x40f374)
	/usr/local/go/src/net/dial.go:273 +0x99
code.gitea.io/gitea/vendor/github.com/lib/pq.defaultDialer.Dial(0x1321a1c, 0x3, 0xc42025de80, 0xe, 0x8, 0x1239580, 0xc42019e240, 0xc42019e350)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/lib/pq/conn.go:92 +0x49
code.gitea.io/gitea/vendor/github.com/lib/pq.(*defaultDialer).Dial(0x238c6b8, 0x1321a1c, 0x3, 0xc42025de80, 0xe, 0x238d6a0, 0x248, 0x260, 0xc420273b80)
	<autogenerated>:14 +0x6d
code.gitea.io/gitea/vendor/github.com/lib/pq.dial(0x1c6fd80, 0x238c6b8, 0xc420161980, 0x0, 0xc42019e408, 0x0, 0x1c37710)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/lib/pq/conn.go:361 +0x3e3
code.gitea.io/gitea/vendor/github.com/lib/pq.DialOpen(0x1c6fd80, 0x238c6b8, 0xc4204762a0, 0x5e, 0x0, 0x0, 0x0, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/lib/pq/conn.go:320 +0x60e
code.gitea.io/gitea/vendor/github.com/lib/pq.Open(0xc4204762a0, 0x5e, 0x0, 0x0, 0xc42025d400, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/lib/pq/conn.go:236 +0x67
code.gitea.io/gitea/vendor/github.com/lib/pq.(*drv).Open(0x238c6b8, 0xc4204762a0, 0x5e, 0x0, 0x0, 0x0, 0xc4204dc000)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/lib/pq/conn.go:44 +0x35
database/sql.(*DB).conn(0xc42048cbe0, 0x1c74340, 0xc420016400, 0x101, 0xc42003bcd0, 0x412a42, 0xc42025d6f0)
	/usr/local/go/src/database/sql/sql.go:965 +0x146
database/sql.(*DB).query(0xc42048cbe0, 0x1c74340, 0xc420016400, 0xc4204ee000, 0x16c, 0x238c6b8, 0x0, 0x0, 0x412a01, 0xc420161920, ...)
	/usr/local/go/src/database/sql/sql.go:1245 +0x5b
database/sql.(*DB).QueryContext(0xc42048cbe0, 0x1c74340, 0xc420016400, 0xc4204ee000, 0x16c, 0x238c6b8, 0x0, 0x0, 0x1, 0xc42003bda0, ...)
	/usr/local/go/src/database/sql/sql.go:1227 +0xb8
database/sql.(*DB).Query(0xc42048cbe0, 0xc4204ee000, 0x16c, 0x238c6b8, 0x0, 0x0, 0x7e584e, 0xc42048cc80, 0xc4204ee000)
	/usr/local/go/src/database/sql/sql.go:1241 +0x82
code.gitea.io/gitea/vendor/github.com/go-xorm/core.(*DB).Query(0xc4201f79c0, 0xc4204ee000, 0x16c, 0x238c6b8, 0x0, 0x0, 0xc4204ee000, 0x16c, 0x1261d01)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/go-xorm/core/db.go:79 +0x73
code.gitea.io/gitea/vendor/github.com/go-xorm/xorm.newRows(0xc420272f00, 0x131a220, 0xc4201631e0, 0x0, 0x0, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/go-xorm/xorm/rows.go:71 +0x7b3
code.gitea.io/gitea/vendor/github.com/go-xorm/xorm.(*Session).Rows(0xc420272f00, 0x131a220, 0xc4201631e0, 0xc42003bf60, 0x7aba82, 0xc420272f00)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/go-xorm/xorm/session_iterate.go:15 +0x3f
code.gitea.io/gitea/vendor/github.com/go-xorm/xorm.(*Session).Iterate(0xc420272f00, 0x131a220, 0xc4201631e0, 0x137bfc0, 0x0, 0x0)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/go-xorm/xorm/session_iterate.go:22 +0x5e
code.gitea.io/gitea/models.DeleteOldRepositoryArchives()
	/srv/app/src/code.gitea.io/gitea/models/repo.go:1797 +0x1a5
created by code.gitea.io/gitea/modules/cron.NewContext
	/srv/app/src/code.gitea.io/gitea/modules/cron/cron.go:66 +0x1ac

goroutine 85 [running]:
	goroutine running on other thread; stack unavailable
created by code.gitea.io/gitea/modules/cron.NewContext
	/srv/app/src/code.gitea.io/gitea/modules/cron/cron.go:55 +0x2eb

goroutine 87 [select]:
code.gitea.io/gitea/vendor/github.com/gogits/cron.(*Cron).run(0xc42022a780)
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/gogits/cron/cron.go:178 +0x92e
created by code.gitea.io/gitea/vendor/github.com/gogits/cron.(*Cron).Start
	/srv/app/src/code.gitea.io/gitea/vendor/github.com/gogits/cron/cron.go:140 +0x55