-
Notifications
You must be signed in to change notification settings - Fork 268
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 with compiled module 3.4.10-3.4.15 #110
Comments
Did you compile the module for your system with correct Zabbix version? Could you provide more logs before backtrace, please? |
Yes. I have compiled the correct version. These hosts are running as manager-worker mode.
|
Problem is with
|
Some network data appeared in Zabbix before the agent died. |
Probably it is crashing somewhere in this part zabbix-docker-monitoring/src/modules/zabbix_module_docker/zabbix_module_docker.c Lines 1286 to 1306 in dba2fb7
Probably some pointer for |
I also have this problem, but I have zabbix-agent version 4.4.3. Debian 9.9 |
But I downgrade my zabbix-agent to 4.2.8 and compiled .so - it worked! |
same problem: |
It looks to me that the problem is here: zabbix-docker-monitoring/src/modules/zabbix_module_docker/zabbix_module_docker.c Lines 1274 to 1280 in fd3f6e8
fgets() fails, then loop body is never executed and first_task is not initialized and subsequent attempt to release memory: zabbix-docker-monitoring/src/modules/zabbix_module_docker/zabbix_module_docker.c Line 1290 in fd3f6e8
The solution would be to convert this |
The text was updated successfully, but these errors were encountered: