[ZBX-23480] zabbix agent 2 on Windows Server 2022 crashes on startup Created: 2023 Sep 28  Updated: 2025 May 12

Status: Need info
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Ricardo Botelho Sousa Assignee: Zabbix Support Team
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Server 2022 on Azure



 Description   

Steps to reproduce:

  1. Upgrade to 6.4.7
  2. start agent on the command line...

Result:
**

Starting Zabbix Agent 2 (6.4.7)
Zabbix Agent2 hostname: [347B121421CEFCBB71EDFDCE52B9BB58]
Press Ctrl+C to exit.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x3250da]

goroutine 76 [running]:
zabbix.com/pkg/zbxlib.ProcessEventLogCheck(0xc0003626f0?, 0xc0000b7d70, 0xc0001fa000?, 0xb30d50?)
        C:/Users/ZABBIX/build-agents-release-windows-amd64/zabbix-6.4.7/src/go/pkg/zbxlib/eventlog_windows.go:203 +0x1da
zabbix.com/plugins/windows/eventlog.(*Plugin).Export(0x1171e60, \{0xc0003626f0, 0x8}, \{0xc0001fa000?, 0x7, 0x8}, \{0xbe5a80, 0xc000002a80})
        C:/Users/ZABBIX/build-agents-release-windows-amd64/zabbix-6.4.7/src/go/plugins/windows/eventlog/eventlog_windows.go:109 +0x52b
zabbix.com/internal/agent/scheduler.(*exporterTask).perform.func1(\{0xc00036a000, 0x53})
        C:/Users/ZABBIX/build-agents-release-windows-amd64/zabbix-6.4.7/src/go/internal/agent/scheduler/task.go:168 +0x1af
created by zabbix.com/internal/agent/scheduler.(*exporterTask).perform in goroutine 5
        C:/Users/ZABBIX/build-agents-release-windows-amd64/zabbix-6.4.7/src/go/internal/agent/scheduler/task.go:156 +0x105
PS C:\Users\su6902603>

Expected:
Some output on the Log/EventViewer



 Comments   
Comment by Bartosz Nems [ 2025 May 12 ]

Hi,

I see that Your ticket was created in 2023, please let Us know if You still require our help. If You do, please state what was the image of Windows Server 2022, and how did You went with the agent upgrade.
If You don't respond in this ticket in the next two weeks we will close it.
Kind regards, 
Bartosz

Generated at Wed Jun 25 07:28:34 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.