Skip to content

1.1.0 does not start due to a SIGSEGV #1168

Closed
@freswa

Description

@freswa
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/criticalThis issue should be fixed ASAP. If it is a PR, the PR should be merged ASAPtopic/buildPR changes how Gitea is built, i.e. regarding Docker or the Makefiletype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions