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

Zabbix Agent 6.4.0 for Windows Crashes and Service (eventually) Terminates

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.0
    • None
    • None

      Steps to reproduce:

      • Install Zabbix Agent 6.4.0 w/ Encryption on Windows 10 22H2 with all patches
      • Configure accordingly per install wizard
      • Agent crashes and eventually completely fails. Service stops.

      N.B. Zabbix Agent is compiled with OpenSSL 1.1.1t. Support ends for 1.1.1 in < 6 months. Would suggest migrating to OpenSSL 3.0.8 or later.

      Debug log output below:

      13104:20230314:121341.214 Starting Zabbix Agent [bastion1]. Zabbix 6.4.0 (revision 5b2736b6027).
       13104:20230314:121341.215 **** Enabled features ****
       13104:20230314:121341.216 IPv6 support:          YES
       13104:20230314:121341.217 TLS support:           YES
       13104:20230314:121341.218 **************************
       13104:20230314:121341.219 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
       13104:20230314:121341.220 In init_collector_data()
       13104:20230314:121341.221 logical CPU count 2
       13104:20230314:121341.222 End of init_collector_data()
       13104:20230314:121341.222 In init_perf_collector()
       13104:20230314:121341.224 In zbx_init_builtin_counter_indexes()
       13104:20230314:121341.225 In zbx_get_all_counter_names()
       13104:20230314:121341.330 End of zbx_get_all_counter_names()
       13104:20230314:121341.587 End of zbx_init_builtin_counter_indexes():SUCCEED
       13104:20230314:121341.588 In set_object_names()
       13104:20230314:121341.746 Unhandled exception 6ba detected at 0x00007FFA1E36CD29. Crashing ...
       13104:20230314:121341.747 ====== Fatal information: ======
       13104:20230314:121341.748 Program counter: 0x1e36cd29
       13104:20230314:121341.748 === Registers: ===
       13104:20230314:121341.749 r8      =        1f46857d4 =           8395446228 =           8395446228
       13104:20230314:121341.750 r9      =           dcc720 =             14468896 =             14468896
       13104:20230314:121341.750 r10     =                0 =                    0 =                    0
       13104:20230314:121341.751 r11     =           262000 =              2498560 =              2498560
       13104:20230314:121341.751 r12     =           e72740 =             15148864 =             15148864
       13104:20230314:121341.752 r13     =              6ba =                 1722 =                 1722
       13104:20230314:121341.753 r14     =                0 =                    0 =                    0
       13104:20230314:121341.753 r15     =           dcd5a0 =             14472608 =             14472608
       13104:20230314:121341.754 rdi     =     7ffa12f5b018 =      140712036642840 =      140712036642840
       13104:20230314:121341.755 rsi     =                0 =                    0 =                    0
       13104:20230314:121341.755 rbp     =                5 =                    5 =                    5
       13104:20230314:121341.756 rbx     =              6ba =                 1722 =                 1722
       13104:20230314:121341.757 rdx     =     7ffa20afee41 =      140712266952257 =      140712266952257
       13104:20230314:121341.757 rax     =     7ffa20a9b86b =      140712266545259 =      140712266545259
       13104:20230314:121341.758 rcx     =                0 =                    0 =                    0
       13104:20230314:121341.759 rsp     =           dcd2e0 =             14471904 =             14471904
       13104:20230314:121341.759 efl     =              206 =                  518 =                  518
       13104:20230314:121341.760 csgsfs  =         332b5300 =            858477312 =            858477312
       13104:20230314:121341.761 === Backtrace: ===
       13104:20230314:121341.831 24: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RaiseException+0x69) [0x1e36cd29]
       13104:20230314:121341.832 23: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RpcRaiseException+0x50) [0x1f9cc7b0]
       13104:20230314:121341.833 22: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RpcRaiseException+0x14) [0x1f9cc774]
       13104:20230314:121341.834 21: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(Ndr64AsyncServerCallAll+0x1599) [0x1fa4c7d9]
       13104:20230314:121341.834 20: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(NdrClientCall3+0xf0) [0x1fa4f5b0]
       13104:20230314:121341.835 19: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(I_BrowserQueryStatistics+0x3d) [0x12f527ad]
       13104:20230314:121341.836 18: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(CloseNetSvcsObject+0x13ba) [0x19c027fa]
       13104:20230314:121341.837 17: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(CollectNetSvcsObjectData+0xf3) [0x19c013e3]
       13104:20230314:121341.837 16: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(InitiateShutdownW+0xa0b) [0x1fc4a0bb]
       13104:20230314:121341.838 15: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(InitiateShutdownW+0x1630) [0x1fc4ace0]
       13104:20230314:121341.839 14: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PerfRegQueryValue+0x1a05) [0x1fc3af35]
       13104:20230314:121341.840 13: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PerfRegQueryValue+0x3b) [0x1fc3956b]
       13104:20230314:121341.841 12: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(SetProcessDynamicEnforcedCetCompatibleRanges+0xa46) [0x1e3d6766]
       13104:20230314:121341.841 11: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RegQueryValueExW+0x108) [0x1e373618]
       13104:20230314:121341.842 10: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x5f93) [0xf9ba8f43]
       13104:20230314:121341.843 9: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x6ea7) [0xf9ba9e57]
       13104:20230314:121341.844 8: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x205af) [0xf9bc355f]
       13104:20230314:121341.844 7: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhEnumObjectsHW+0xa2) [0xf9bd51b2]
       13104:20230314:121341.845 6: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhEnumObjectsW+0xeb) [0xf9bd52eb]
       13104:20230314:121341.846 5: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400acaf5]
       13104:20230314:121341.847 4: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ac81f]
       13104:20230314:121341.847 3: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ad359]
       13104:20230314:121341.848 2: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(WaitServiceState+0x328) [0x1eabdf78]
       13104:20230314:121341.849 1: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(BaseThreadInitThunk+0x14) [0x1fe17614]
       13104:20230314:121341.850 0: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RtlUserThreadStart+0x21) [0x20ac26a1]
       13104:20230314:121341.852 ================================
       13104:20230314:121341.868 Unhandled exception 6ba detected at 0x00007FFA1E36CD29. Crashing ...
       13104:20230314:121341.871 ====== Fatal information: ======
       13104:20230314:121341.872 Program counter: 0x1e36cd29
       13104:20230314:121341.873 === Registers: ===
       13104:20230314:121341.874 r8      =        1f46857d4 =           8395446228 =           8395446228
       13104:20230314:121341.875 r9      =           dcc720 =             14468896 =             14468896
       13104:20230314:121341.876 r10     =     7ffa20a9b86b =      140712266545259 =      140712266545259
       13104:20230314:121341.876 r11     =                0 =                    0 =                    0
       13104:20230314:121341.877 r12     =           e72740 =             15148864 =             15148864
       13104:20230314:121341.878 r13     =              6ba =                 1722 =                 1722
       13104:20230314:121341.879 r14     =                0 =                    0 =                    0
       13104:20230314:121341.880 r15     =           dcd5a0 =             14472608 =             14472608
       13104:20230314:121341.881 rdi     =     7ffa12f5b018 =      140712036642840 =      140712036642840
       13104:20230314:121341.881 rsi     =                0 =                    0 =                    0
       13104:20230314:121341.882 rbp     =                5 =                    5 =                    5
       13104:20230314:121341.883 rbx     =              6ba =                 1722 =                 1722
       13104:20230314:121341.884 rdx     =                0 =                    0 =                    0
       13104:20230314:121341.885 rax     =     7ffa20a9b86b =      140712266545259 =      140712266545259
       13104:20230314:121341.885 rcx     =                0 =                    0 =                    0
       13104:20230314:121341.886 rsp     =           dcd2e0 =             14471904 =             14471904
       13104:20230314:121341.887 efl     =              206 =                  518 =                  518
       13104:20230314:121341.888 csgsfs  =         332b5300 =            858477312 =            858477312
       13104:20230314:121341.889 === Backtrace: ===
       13104:20230314:121341.965 24: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RaiseException+0x69) [0x1e36cd29]
       13104:20230314:121341.966 23: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RpcRaiseException+0x50) [0x1f9cc7b0]
       13104:20230314:121341.967 22: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RpcRaiseException+0x14) [0x1f9cc774]
       13104:20230314:121341.968 21: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(Ndr64AsyncServerCallAll+0x1599) [0x1fa4c7d9]
       13104:20230314:121341.969 20: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(NdrClientCall3+0xf0) [0x1fa4f5b0]
       13104:20230314:121341.970 19: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(I_BrowserQueryStatistics+0x3d) [0x12f527ad]
       13104:20230314:121341.971 18: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(CloseNetSvcsObject+0x13ba) [0x19c027fa]
       13104:20230314:121341.972 17: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(CollectNetSvcsObjectData+0xf3) [0x19c013e3]
       13104:20230314:121341.973 16: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(InitiateShutdownW+0xa0b) [0x1fc4a0bb]
       13104:20230314:121341.974 15: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(InitiateShutdownW+0x1630) [0x1fc4ace0]
       13104:20230314:121341.975 14: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PerfRegQueryValue+0x1a05) [0x1fc3af35]
       13104:20230314:121341.976 13: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PerfRegQueryValue+0x3b) [0x1fc3956b]
       13104:20230314:121341.977 12: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(SetProcessDynamicEnforcedCetCompatibleRanges+0xa46) [0x1e3d6766]
       13104:20230314:121341.978 11: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RegQueryValueExW+0x108) [0x1e373618]
       13104:20230314:121341.978 10: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x5f93) [0xf9ba8f43]
       13104:20230314:121341.979 9: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x6ea7) [0xf9ba9e57]
       13104:20230314:121341.980 8: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x205af) [0xf9bc355f]
       13104:20230314:121341.981 7: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhEnumObjectsHW+0xa2) [0xf9bd51b2]
       13104:20230314:121341.982 6: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhEnumObjectsW+0xeb) [0xf9bd52eb]
       13104:20230314:121341.983 5: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400acaf5]
       13104:20230314:121341.984 4: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ac81f]
       13104:20230314:121341.985 3: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ad359]
       13104:20230314:121341.987 2: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(WaitServiceState+0x328) [0x1eabdf78]
       13104:20230314:121341.988 1: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(BaseThreadInitThunk+0x14) [0x1fe17614]
       13104:20230314:121341.989 0: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RtlUserThreadStart+0x21) [0x20ac26a1]
       13104:20230314:121341.992 ================================
       13104:20230314:121342.004 Unhandled exception 6ba detected at 0x00007FFA1E36CD29. Crashing ...
       13104:20230314:121342.006 ====== Fatal information: ======
       13104:20230314:121342.007 Program counter: 0x1e36cd29
       13104:20230314:121342.008 === Registers: ===
       13104:20230314:121342.009 r8      =        1f46857d4 =           8395446228 =           8395446228
       13104:20230314:121342.010 r9      =           dcc720 =             14468896 =             14468896
       13104:20230314:121342.011 r10     =     7ffa20a9b86b =      140712266545259 =      140712266545259
       13104:20230314:121342.012 r11     =                0 =                    0 =                    0
       13104:20230314:121342.013 r12     =           e72740 =             15148864 =             15148864
       13104:20230314:121342.015 r13     =              6ba =                 1722 =                 1722
       13104:20230314:121342.016 r14     =                0 =                    0 =                    0
       13104:20230314:121342.017 r15     =           dcd5a0 =             14472608 =             14472608
       13104:20230314:121342.018 rdi     =     7ffa12f5b018 =      140712036642840 =      140712036642840
       13104:20230314:121342.019 rsi     =                0 =                    0 =                    0
       13104:20230314:121342.020 rbp     =                5 =                    5 =                    5
       13104:20230314:121342.021 rbx     =              6ba =                 1722 =                 1722
       13104:20230314:121342.022 rdx     =                0 =                    0 =                    0
       13104:20230314:121342.023 rax     =     7ffa20a9b86b =      140712266545259 =      140712266545259
       13104:20230314:121342.024 rcx     =                0 =                    0 =                    0
       13104:20230314:121342.025 rsp     =           dcd2e0 =             14471904 =             14471904
       13104:20230314:121342.026 efl     =              206 =                  518 =                  518
       13104:20230314:121342.027 csgsfs  =         332b5300 =            858477312 =            858477312
       13104:20230314:121342.028 === Backtrace: ===
       13104:20230314:121342.095 24: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RaiseException+0x69) [0x1e36cd29]
       13104:20230314:121342.097 23: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RpcRaiseException+0x50) [0x1f9cc7b0]
       13104:20230314:121342.098 22: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RpcRaiseException+0x14) [0x1f9cc774]
       13104:20230314:121342.100 21: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(Ndr64AsyncServerCallAll+0x1599) [0x1fa4c7d9]
       13104:20230314:121342.101 20: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(NdrClientCall3+0xf0) [0x1fa4f5b0]
       13104:20230314:121342.102 19: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(I_BrowserQueryStatistics+0x3d) [0x12f527ad]
       13104:20230314:121342.104 18: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(CloseNetSvcsObject+0x13ba) [0x19c027fa]
       13104:20230314:121342.105 17: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(CollectNetSvcsObjectData+0xf3) [0x19c013e3]
       13104:20230314:121342.106 16: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(InitiateShutdownW+0xa0b) [0x1fc4a0bb]
       13104:20230314:121342.107 15: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(InitiateShutdownW+0x1630) [0x1fc4ace0]
       13104:20230314:121342.108 14: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PerfRegQueryValue+0x1a05) [0x1fc3af35]
       13104:20230314:121342.110 13: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PerfRegQueryValue+0x3b) [0x1fc3956b]
       13104:20230314:121342.111 12: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(SetProcessDynamicEnforcedCetCompatibleRanges+0xa46) [0x1e3d6766]
       13104:20230314:121342.112 11: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RegQueryValueExW+0x108) [0x1e373618]
       13104:20230314:121342.113 10: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x5f93) [0xf9ba8f43]
       13104:20230314:121342.115 9: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x6ea7) [0xf9ba9e57]
       13104:20230314:121342.116 8: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhCollectQueryData+0x205af) [0xf9bc355f]
       13104:20230314:121342.117 7: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhEnumObjectsHW+0xa2) [0xf9bd51b2]
       13104:20230314:121342.118 6: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(PdhEnumObjectsW+0xeb) [0xf9bd52eb]
       13104:20230314:121342.120 5: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400acaf5]
       13104:20230314:121342.121 4: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ac81f]
       13104:20230314:121342.123 3: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ad359]
       13104:20230314:121342.124 2: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(WaitServiceState+0x328) [0x1eabdf78]
       13104:20230314:121342.125 1: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(BaseThreadInitThunk+0x14) [0x1fe17614]
       13104:20230314:121342.126 0: C:\Program Files\Zabbix Agent\zabbix_agentd.exe(RtlUserThreadStart+0x21) [0x20ac26a1]
       13104:20230314:121342.130 ================================
       13104:20230314:121342.391 In zbx_get_all_counter_names()
       13104:20230314:121342.399 End of zbx_get_all_counter_names()
       13104:20230314:121342.400 In zbx_get_all_counter_names()
       13104:20230314:121342.404 End of zbx_get_all_counter_names()
       13104:20230314:121342.443 End of set_object_names():SUCCEED
       13104:20230314:121342.444 End of init_perf_collector():SUCCEED

            zabbix.dev Zabbix Development Team
            H4nd0 James Bourne
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: