-
Incident report
-
Resolution: Unresolved
-
Major
-
6.4.0beta6
-
None
-
Sprint candidates
On some Windows 2012 machines Zabbix agent 2 crashes with the exception on startup:
C:\Windows\system32>"C:\Program Files\Zabbix Agent 2\zabbix_agent2.exe" -c "C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf" Exception 0xc000001d 0x0 0x0 0x7ffee8788ba4PC=0x7ffee8788ba4 signal arrived during external code execution runtime.cgocall(0xa67320, 0x1c24120) C:/Program Files/Go/src/runtime/cgocall.go:156 +0x4a fp=0xc0000e3778 sp=0xc0000e3740 pc=0xa045ea syscall.Syscall6(0x7fff08e0ae90, 0x6, 0x0, 0x0, 0x0, 0xc0000e385c, 0x190, 0x1) C:/Program Files/Go/src/runtime/syscall_windows.go:497 +0xfa fp=0xc0000e37b0 sp=0xc0000e3778 pc=0xa6209a syscall.Syscall6(0x100000000000182, 0x817cd2d7a8, 0x30, 0x30, 0x8154c20108, 0x30 , 0x1c23e40, 0xc0002e0db0) <autogenerated>:1 +0x3a fp=0xc0000e3818 sp=0xc0000e37b0 pc=0xa6821a zabbix.com/pkg/win32.PdhEnumObject() C:/Users/ZABBIX/build-agents-web-windows-amd64/zabbix-6.0.9/src/go/pkg/win32/pdh.go:319 +0x65 fp=0xc0000e38c0 sp=0xc0000e3818 pc=0xe15c25 zabbix.com/pkg/pdh.LocateObjectsAndDefaultCounters(0x1) C:/Users/ZABBIX/build-agents-web-windows-amd64/zabbix-6.0.9/src/go/pkg/pdh/pdh_windows.go:78 +0x58 fp=0xc0000e3c10 sp=0xc0000e38c0 pc=0xfdccd8main.loadOSDependentItems() C:/Users/ZABBIX/build-agents-web-windows-amd64/zabbix-6.0.9/src/go/cmd/zabbix_agent2/zabbix_agent2_windows.go:34 +0x25 fp=0xc0000e3c60 sp=0xc0000e3c10 pc=0x1050c25 main.main() C:/Users/ZABBIX/build-agents-web-windows-amd64/zabbix-6.0.9/src/go/cmd/zabbix_agent2/zabbix_agent2.go:512 +0x16aa fp=0xc0000e3f80 sp=0xc0000e3c60 pc=0x104fcca runtime.main() C:/Program Files/Go/src/runtime/proc.go:255 +0x217 fp=0xc0000e3fe0 sp=0xc0000e3f80 pc=0xa3a2f7runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0000e3fe8 sp=0xc0000e3fe0 pc=0xa65a81 rax 0x1 rbx 0xffffffffffffffff rcx 0x81548dbd70 rdi 0x7ffee8858890 rsi 0x81548deb80 rbp 0x7fff138511d0 rsp 0x81548dbd38 r8 0x81548dbd30 r9 0x11 r10 0x7fff141357d0 r11 0x81548dba20 r12 0x0 r13 0x4 r14 0x0 r15 0x817d354ea0 rip 0x7ffee8788ba4 rflags 0x10293 cs 0x33 fs 0x53 gs 0x2b
Observed at 5.0.19, 5.4.12, 6.0.9. Starting Zabbix agent 2 with foreground option and administrative privileges did not help. Windows logs do not contain helpful information.