Steps to reproduce:
- Updated zabbix-release to v7 (zabbix-release_7.0-1+debian11_all.deb)
- Updated zabbix-agent v6.4 to v7
- Check service status
Result:
Critical failure: unaligned 64-bit atomic operation
2024/06/07 08:37:52.667637 Starting Zabbix Agent 2 (7.0.0) 2024/06/07 08:37:52.669525 OpenSSL library (OpenSSL 1.1.1w 11 Sep 2023) initialized 2024/06/07 08:37:52.669811 using configuration file: /etc/zabbix/zabbix_agent2.conf 2024/06/07 08:37:52.670193 using plugin 'Agent' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.670269 using plugin 'Ceph' (built-in) providing following interfaces: exporter, runner, configurator 2024/06/07 08:37:52.670356 using plugin 'Cpu' (built-in) providing following interfaces: exporter, collector, runner 2024/06/07 08:37:52.670424 using plugin 'DNS' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.670486 using plugin 'Docker' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.670589 using plugin 'File' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.670723 using plugin 'Hw' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.670820 using plugin 'Kernel' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.670882 using plugin 'Log' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.670939 using plugin 'MQTT' (built-in) providing following interfaces: watcher, configurator 2024/06/07 08:37:52.670995 using plugin 'Memcached' (built-in) providing following interfaces: exporter, runner, configurator 2024/06/07 08:37:52.671055 using plugin 'Memory' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.671111 using plugin 'Modbus' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.671225 using plugin 'MongoDB' (/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-mongodb) providing following interfaces: exporter, runner, configurator 2024/06/07 08:37:52.671325 using plugin 'Mysql' (built-in) providing following interfaces: exporter, runner, configurator 2024/06/07 08:37:52.671398 using plugin 'NetIf' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.671462 using plugin 'Oracle' (built-in) providing following interfaces: exporter, runner, configurator 2024/06/07 08:37:52.671613 using plugin 'PostgreSQL' (/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-postgresql) providing following interfaces: exporter, runner, configurator 2024/06/07 08:37:52.671729 using plugin 'Proc' (built-in) providing following interfaces: exporter, collector 2024/06/07 08:37:52.671833 using plugin 'ProcExporter' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.671896 using plugin 'Redis' (built-in) providing following interfaces: exporter, runner, configurator 2024/06/07 08:37:52.671959 using plugin 'Smart' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672020 using plugin 'Sw' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672081 using plugin 'Swap' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.672141 using plugin 'SystemRun' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672203 using plugin 'Systemd' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.672270 using plugin 'TCP' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672332 using plugin 'UDP' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672432 using plugin 'Uname' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.672497 using plugin 'Uptime' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.672557 using plugin 'Users' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672619 using plugin 'VFSDev' (built-in) providing following interfaces: exporter, collector 2024/06/07 08:37:52.672679 using plugin 'VFSDir' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.672745 using plugin 'VfsFs' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.672812 using plugin 'WebCertificate' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672876 using plugin 'WebPage' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.672938 using plugin 'ZabbixAsync' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.673011 using plugin 'ZabbixStats' (built-in) providing following interfaces: exporter, configurator 2024/06/07 08:37:52.673064 lowering the plugin ZabbixSync capacity to 1 as the configured capacity 1000 exceeds limits 2024/06/07 08:37:52.673132 using plugin 'ZabbixSync' (built-in) providing following interfaces: exporter 2024/06/07 08:37:52.673677 Plugin communication protocol version is 6.4.0 2024/06/07 08:37:52.673786 Zabbix Agent2 hostname: [OTTO.star-one.co.uk] 2024/06/07 08:37:53.692832 Critical failure: unaligned 64-bit atomic operation 2024/06/07 08:37:53.693105 goroutine 4 [running]: 2024/06/07 08:37:53.693274 runtime/debug.Stack() 2024/06/07 08:37:53.693735 /home/packager/go1.22.0-armv6l/src/runtime/debug/stack.go:24 +0x78 2024/06/07 08:37:53.694157 golang.zabbix.com/sdk/log.PanicHook() 2024/06/07 08:37:53.694375 /tmp/build-raspbian-11-armhf.aq5e2D1U/buildroot/zabbix-7.0.0/debian/tmp.build-sqlite3/src/go/vendor/golang.zabbix.com/sdk/log/log.go:245 +0x4c 2024/06/07 08:37:53.694645 panic({0x939070, 0xae9620}) 2024/06/07 08:37:53.695060 /home/packager/go1.22.0-armv6l/src/runtime/panic.go:770 +0xfc 2024/06/07 08:37:53.695446 runtime/internal/atomic.panicUnaligned() 2024/06/07 08:37:53.697018 /home/packager/go1.22.0-armv6l/src/runtime/internal/atomic/unaligned.go:8 +0x24 2024/06/07 08:37:53.697398 runtime/internal/atomic.Store64(0x2dd42dc, 0x0) 2024/06/07 08:37:53.697525 /home/packager/go1.22.0-armv6l/src/runtime/internal/atomic/atomic_arm.s:302 +0x14 2024/06/07 08:37:53.697647 golang.zabbix.com/sdk/plugin.(*Meta).SetLastLogsize(...) 2024/06/07 08:37:53.697730 /tmp/build-raspbian-11-armhf.aq5e2D1U/buildroot/zabbix-7.0.0/debian/tmp.build-sqlite3/src/go/vendor/golang.zabbix.com/sdk/plugin/types.go:85 2024/06/07 08:37:53.697810 golang.zabbix.com/agent2/internal/agent/scheduler.(*client).addRequest(0x2df61c0, 0x2ddfb60, 0x2d445d0, 0x4, {0xb55c3a70, 0x2df27b0}, {0xc190c8906920b022, 0x41f3582a, 0xffbd90}, 0x0) 2024/06/07 08:37:53.697886 /tmp/build-raspbian-11-armhf.aq5e2D1U/buildroot/zabbix-7.0.0/debian/tmp.build-sqlite3/src/go/internal/agent/scheduler/client.go:198 +0xcd0 2024/06/07 08:37:53.698076 golang.zabbix.com/agent2/internal/agent/scheduler.(*Manager).processUpdateRequestRun(0x2ddfb00, 0x2c96d40) 2024/06/07 08:37:53.698162 /tmp/build-raspbian-11-armhf.aq5e2D1U/buildroot/zabbix-7.0.0/debian/tmp.build-sqlite3/src/go/internal/agent/scheduler/manager.go:292 +0x518 2024/06/07 08:37:53.698237 golang.zabbix.com/agent2/internal/agent/scheduler.(*Manager).processUpdateRequest(0x2ddfb00, 0x2c96d40) 2024/06/07 08:37:53.698309 /tmp/build-raspbian-11-armhf.aq5e2D1U/buildroot/zabbix-7.0.0/debian/tmp.build-sqlite3/src/go/internal/agent/scheduler/manager.go:359 +0xe4 2024/06/07 08:37:53.698381 golang.zabbix.com/agent2/internal/agent/scheduler.(*Manager).run(0x2ddfb00) 2024/06/07 08:37:53.698454 /tmp/build-raspbian-11-armhf.aq5e2D1U/buildroot/zabbix-7.0.0/debian/tmp.build-sqlite3/src/go/internal/agent/scheduler/manager.go:602 +0x354 2024/06/07 08:37:53.698582 created by golang.zabbix.com/agent2/internal/agent/scheduler.(*Manager).Start in goroutine 1 2024/06/07 08:37:53.698714 /tmp/build-raspbian-11-armhf.aq5e2D1U/buildroot/zabbix-7.0.0/debian/tmp.build-sqlite3/src/go/internal/agent/scheduler/manager.go:763 +0xd4
Can revert to v6.4 without difficulty (zabbix-release_6.4-1+debian11_all.deb)