-
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
Exploratory debug symbols & core dump analysis for Manager (DEB) #23453
Comments
Update
Compilation
Package generation
Restarting wazuh
It can be seen that the manager installed correctly and is running
wazuh-analysisd crash
gdb output
|
Replicated previous test: 1. Cloned wazuh/wazuh repository:
2. Installed dependencies:
3. Generated rpm packages:
4. Installed the manager and debug symbols:
5. Restart wazuh:
6. Enabling and configuring coredump:
7- Get list of wazuh processes:
8- Generate crash in one of wazuh processes:sudo kill -SIGSEGV 473322 9- Look for generated dump file
10- Install zstd and unzip file:
11- gdb output:gdb /var/ossec/bin/wazuh-analysisd wazuh-analisysd-core-dump
|
Blocked until access to wazuh internal repositories is provided |
Exploratory has been repeated with almost identical results on Ubuntu 24.04. Some minor fixes were implemented in scripts and updated documentation was followed instead (which requires to clone wazuh/wazuh repository instead of wazuh/wazuh-packages as it was before, as it major difference). Automatic upload is still failing and the cause is being tracked down. Both packages seem to be generated but not being found later. |
Description
This issue aims to make a exploratory session of current #9913 phase 1 development for the Manager instance of the DEB package.
Verifications should be performed on the following issues to check end to end the process from generation of symbols to core/crash dump analysis with them.
These verifications must be performed by a different collaborator than the originally assigned to the issue, and a full detail of procedures, logs and results must be provided.
Evidence of success must be provided as well.
Goals
DoD
Approval
DRI Name: @ncvicchi
Objective: Generate debug symbols
The text was updated successfully, but these errors were encountered: