gitea: Segmentation Fault on Raspbian 10 with Raspberry 4
- Gitea version (or commit ref): 1.9.3
- Git version: 2.20.1
- Operating system: Raspbian 10
- 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:
Description
Raspberry Pi 4 with Raspbian 10. When I launch ./gitea I got “Segmentation Fault”
Used build: arm-6 downloaded from here: https://dl.gitea.io/gitea/1.9.3/gitea-1.9.3-linux-arm-6 . …
Screenshots
N.A.
edit: I got the error just trying to do ./gitea web after I downloaded the file without doing any kind of configuration. On my Odroid XU4 with DietPi the same operation works without any error.
edit 2 : the same error appears with Archlinux for Raspi 4. I’ll do a gdb and I’ll post the results in a gist
edit 3: sooo, after I installed git, I run under gdb and everything works. But when I execute outside gdb I got segmentation fault. I have a “core dump”, who arch linux made. Here the dump: https://drive.google.com/open?id=1oP0KpZO4WfGo0lNk6cs45xAwgRP8w_Sp
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 19 (7 by maintainers)
The problem is related to the kernel version you are using. On my pi running kernel version: 4.19.66-v7+ gitea is working without problems. The other two pi´s - where gitea gave the “segmentation fault” - are running kernel version: 4.19.75-v7+.
You can check it with following commands:
cat /proc/version
ORuname -a
Therefore the workaround for the issue would be to go back to the old kernel version:
sudo apt reinstall raspberrypi-kernel=1.20190819-1 raspberrypi-bootloader=1.20190819-1
After the installation you need to reboot the pi.
Release information can be found at raspberrypi kernel project repo.
The same error happens with the binary from 1.7.3 tested on a newley installed raspberrypi.