[Bug]
Title: CasaOS v0.4.15 repeatedly crashes with “found pointer to free object” on Ubuntu 26.04
CasaOS main service repeatedly crashes and is automatically restarted by systemd.
Environment:
- CasaOS: v0.4.15
- OS: Ubuntu Server 26.04.1 LTS
- Kernel: 7.0.0-31-generic
- Architecture: x86_64
- RAM: 8 GB
- Service command:
/usr/bin/casaos -c /etc/casaos/casaos.conf
The failures happen throughout the day, with no consistent correlation to scheduled backups, system updates, Docker cleanup, or reporting tasks. The CasaOS UI returns after the automatic systemd restart, but the repeated crashes make the service unreliable.
Representative errors:
fatal error: found pointer to free objectand:
fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?)Relevant stack frames include Go runtime code and CasaOS activity such as:
github.com/robfig/cron/v3.(*Cron).run
github.com/robfig/cron/v3.(*Cron).Start.gowrap2
net/http.(*Transport).dialConn
os/exec.(*Cmd).StartExamples of crash times:
Sep 15: 01:42, 07:52, 13:33, 15:51, 19:56, 20:04
Sep 16: 06:58, 10:50
Sep 17: 04:38, 06:27, 08:47, 10:30, 10:55, 11:11, 14:50, 19:43, 20:03, 22:06, 23:20
Sep 18: 11:51, 13:42, 13:56, 19:18, 22:16
Sep 19: 01:12, 13:15, 20:31, 21:58, 23:20
Sep 20: 02:29, 03:27, 04:14, 06:06, 06:28I checked for kernel, filesystem, MCE and EDAC errors, but found no hardware or storage errors. A memtester run using 2048 MB for two full passes completed successfully with no failures.
Could this be a known issue in CasaOS v0.4.15 or a compatibility issue with Ubuntu 26.04 / Go 1.23.4? Is there a recommended stable workaround or supported version for this host?
Source: IceWhaleTech/CasaOS