Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23480

zabbix agent 2 on Windows Server 2022 crashes on startup

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None
    • Windows Server 2022 on Azure

      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

            neogan Andrei Gushchin (Inactive)
            ricardo.botelho-sousa Ricardo Botelho Sousa
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: