gitea: Seg Fault redux?
- Gitea version (or commit ref): 1.1.2
- Git version: 2.11.1
- Operating system: Centos 7.3
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist: https://gist.github.com/quasiben/87c130849086510267f252a31455e515
Description
Gitea dies in the middle of starting up. Not exactly sure how to diagnose this issue. Could issue #1684 be related ?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (7 by maintainers)
I resolved things by setting
and a colleague submitted an upstream patch: https://github.com/lib/pq/pull/666
For the 1.2.1 indexer error, you can fix it by deleting the
/path/to/gitea/data/dir/indexers/issues.bleve
folder and restarting gitea.For the segfault, try running gitea in
gdb
, and see if there is a null value in a variable on one of the stack frames (google it, you’ll find lots of stuff about debugging segfaults with gdb).