go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.66k stars 5.46k forks source link

After some system updates Gitea 1.9.3 and 1.9.4 is not working on arm7 #8469

Closed somera closed 5 years ago

somera commented 5 years ago

2019/10/11 22:24:02 .../xorm/session_raw.go:87:queryRow() [I] [SQL] SELECT count(*) FROM notification WHERE (user_id = ?) AND (status = ?) []interface {}{1, 0x1} 2019/10/11 22:24:24 ...ce/gracehttp/http.go:170:Serve() [I] Exiting pid 938.

pi@pi-manager:~ $ sudo systemctl status gitea ● gitea.service - Gitea Loaded: loaded (/etc/systemd/system/gitea.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: signal) since Fri 2019-10-11 23:35:04 CEST; 524ms ago Process: 11683 ExecStart=/home/git/bin/gitea web -c /etc/gitea/app.ini (code=killed, signal=SEGV) Main PID: 11683 (code=killed, signal=SEGV)

git@pi-manager:~/bin$ /home/git/bin/gitea web Speicherzugriffsfehler

Okt 11 23:35:20 pi-manager systemd[1]: gitea.service: Service RestartSec=2s expired, scheduling restart. Okt 11 23:35:20 pi-manager systemd[1]: gitea.service: Scheduled restart job, restart counter is at 1616. Okt 11 23:35:20 pi-manager systemd[1]: Stopped Gitea. Okt 11 23:35:20 pi-manager systemd[1]: Started Gitea. Okt 11 23:35:20 pi-manager systemd[1]: gitea.service: Main process exited, code=killed, status=11/SEGV Okt 11 23:35:20 pi-manager systemd[1]: gitea.service: Failed with result 'signal'.

git@pi-manager:~/bin$ strace ./gitea web execve("./gitea", ["./gitea", "web"], 0xbe88dda4 / 15 vars /) = 0 brk(NULL) = 0xbfa000 brk(0xbfad18) = 0xbfa000 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x24} --- +++ killed by SIGSEGV +++ Speicherzugriffsfehler

Description

My Gitea 1.9.3 wos working for some weeks. Not I did some updates (kernel, golang, ...) and now Gitea is not working. I updated it to 1.9.4. Same problem.

I downloaded this versions:

wget -O gitea https://dl.gitea.io/gitea/1.9.3/gitea-1.9.3-linux-arm-6 -> works for some weeks

wget -O gitea https://dl.gitea.io/gitea/1.9.4/gitea-1.9.4-linux-arm-6

List of last updates ...

libraspberrypi-bin:armhf (1.20190819-1, 1.20190925+1-1), firmware-realtek:armhf (1:20190114-1+rpt2, 1:20190114-1+rpt3), libraspberrypi-dev:armhf (1.20190819-1, 1.20190925+1-1), libraspberrypi-doc:armhf (1.20190819-1, 1.20190925+1-1), raspi-config:armhf (20190917, 20191008), libxt-dev:armhf (1:1.1.5-1, 1:1.1.5-1+b3), openssh-sftp-server:armhf (1:7.9p1-10, 1:7.9p1-10+deb10u1), firmware-atheros:armhf (1:20190114-1+rpt2, 1:20190114-1+rpt3), firmware-libertas:armhf (1:20190114-1+rpt2, 1:20190114-1+rpt3), raspberrypi-kernel:armhf (1.20190819-1, 1.20190925+1-1), telegraf:armhf (1.12.2-1, 1.12.3-1), raspberrypi-bootloader:armhf (1.20190819-1, 1.20190925+1-1), libxaw7:armhf (2:1.0.13-1, 2:1.0.13-1+b2), firmware-brcm80211:armhf (1:20190114-1+rpt2, 1:20190114-1+rpt3), libxt6:armhf (1:1.1.5-1, 1:1.1.5-1+b3), ssh:armhf (1:7.9p1-10, 1:7.9p1-10+deb10u1), libxmuu1:armhf (2:1.1.2-2, 2:1.1.2-2+b3), libraspberrypi0:armhf (1.20190819-1, 1.20190925+1-1), openssh-server:armhf (1:7.9p1-10, 1:7.9p1-10+deb10u1), openssh-client:armhf (1:7.9p1-10, 1:7.9p1-10+deb10u1), firmware-misc-nonfree:armhf (1:20190114-1+rpt2, 1:20190114-1+rpt3), libxdamage1:armhf (1:1.1.4-3, 1:1.1.4-3+b3), libxml2:armhf (2.9.4+dfsg1-7+b1, 2.9.4+dfsg1-7+b3), libxmu6:armhf (2:1.1.2-2, 2:1.1.2-2+b3), docker-ce:armhf (5:19.03.2~3-0~raspbian-buster, 5:19.03.3~3-0~raspbian-buster), docker-ce-cli:armhf (5:19.03.2~3-0~raspbian-buster, 5:19.03.3~3-0~raspbian-buster) ...

Screenshots

somera commented 5 years ago

Self compiled version from release/v1.9 branch is working.