[ZBX-25130] Zabbix agent2 crashing on Windows server 2016 Created: 2024 Aug 28 Updated: 2024 Dec 13 Resolved: 2024 Oct 10 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Agent (G) |
| Affects Version/s: | 6.4.18 |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Blocker |
| Reporter: | Victor Breda Credidio | Assignee: | Michael Veksler |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Team: | |||||||||
| Sprint: | Prev.Sprint, S24-W34/35, S24-W36/37 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
The issue at hand is not easily reproduced.
Faulting application name: zabbix_agent2.exe, version: 6.4.18.2400, time stamp: 0x00000000 Faulting module name: thl.dll_unloaded, version: 18.3.0.7033, time stamp: 0x5f72f8ac Exception code: 0xc0000005 Fault offset: 0x0000000000006d87 Faulting process id: 0x24ec Faulting application start time: 0x01daf4a3ec177153 Faulting application path: C:\Zabbix\zabbix_agent2.exe Faulting module path: thl.dll Report Id: 44464c50-f615-4de9-8de2-d7508cb14d13 Faulting package full name: Faulting package-relative application ID:
Zabbix agent (classic) is being used as a workaround to be able to monitor the server. There's a similar issue reported for Zabbix agent (classic) as well on |
| Comments |
| Comment by Brian Coverstone [ 2024 Aug 31 ] |
|
The agent is also crashing on occasion on Windows 2019. Interesting thing, there isn't an entry in the Application Log. Just that the service stopped unexpectedly. It is very strange. The Zabbix log shows nothing, but I also don't have it set on full debug.
I did notice an event viewer entry just a few seconds before and after it crashed: The WMI Performance Adapter service entered the running state. and then The WMI Performance Adapter service entered the stopped state.
So I feel this problem might have something to do with WMI keys. The current host has the following two WMI requests: |
| Comment by Michael Veksler [ 2024 Oct 08 ] |
|
Hi Brain2000, Taken into consideration that there is no log entry I conclude that the crash happening outside of zabbix binary, but in zabbix process. (for example in any vendor dll involved in wmi process) Try using zabbix_agentd.exe with debug log level 5. It has more advance error handling and i hope we can catch name of problematic dll. But in any case I don't see a reasonable way how we can fix crash in external dll |
| Comment by Michael Veksler [ 2024 Oct 08 ] |
|
Given that the issue is not reproducible I hope it will be fixed within |