-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent crash 4.7.3 - 4.7.5 on Windows #23985
Comments
@cscfocus Thank you for reporting the details of this bug. To begin with, I would like to clarify the version range 4.7.3-4.7.5. Does this mean the issue occurs in 4.7.3 and not in 4.7.2? Does it also fail in 4.7.5? This reminds me of an issue we specifically addressed in agent version 4.7.5 for Windows: I have looked up the fault offset, and it corresponds to the Since this version lacks this functionality, we need a way to reproduce the problem. I suggest starting by selectively disabling modules, for instance, FIM or Syscollector (which are implemented in C++ and use this DLL). Additionally, please enable Thank you again. |
Will enable debug. |
Hello @cscfocus, @aritosteles helped us to create an MSI package for version 4.7.5 with debugging capabilities: Please install this package and enable core dumps in Windows by following the instructions in the future Wazuh documentation. This way, we expect that Windows will generate a core dump when the agent program crashes. If you can provide us with that core dump, we will likely be able to trace the issue you are experiencing more effectively. Thank you for your cooperation. Best regards, |
Thank you @vikman90, I will be on site next week and will try to install the debug agent. |
@cscfocus Thanks, we look forward to your response. Answering your question, according to the documentation, you just need to restart the Wazuh Agent service. Best. |
w.log |
Hello @cscfocus, For the good news, it's great to hear that uninstalling the old agent and installing the new one resolved the issue. Regarding the bad news, if the problem reappears, we will regenerate the debug package, test it, and provide it to you for further troubleshooting. In the meantime, since the official 4.7.5 installer works correctly, I recommend continuing to use that version for now. If we need to gather more detailed debug information in the future, we will ensure that the debug version is fully functional. Thank you for your cooperation and patience. Please let us know if you encounter any further issues or have any other questions. Best regards |
Thank you for your support @vikman90 @aritosteles |
Windows agent crashes after minutes being running fine.
Same agent deployed on all the servers, only this one is crashing.
Event report:
Faulting application name: wazuh-agent.exe, version: 4.7.3.0, time stamp: 0x65e0813c
Faulting module name: libstdc++-6.dll, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x40000015
Fault offset: 0x000ed794
Faulting process id: 0x1f34
Faulting application start time: 0x01dab672f26d8ad2 Faulting application path: C:\Program Files (x86)\ossec-agent\wazuh-agent.exe
Faulting module path: C:\Program Files (x86)\ossec-agent\libstdc++-6.dll Report Id: da68fdd9-f409-4a32-95cf-9093ebe6baa1 Faulting package full name: Faulting package-relative application ID: "
The text was updated successfully, but these errors were encountered: