[ZBX-9206] zabbix-agentd segfault Created: 2015 Jan 11 Updated: 2017 May 30 Resolved: 2015 Jan 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 2.4.3 |
Fix Version/s: | 2.4.4rc1, 2.5.0 |
Type: | Incident report | Priority: | Critical |
Reporter: | michal svoboda | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | crash, regression, segfault | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Arch linux; Linux hostname 3.18.1.201501042021-1-grsec #1 SMP PREEMPT Mon Jan 5 09:44:10 EST 2015 x86_64 GNU/Linux |
Attachments: | crash.txt objdump.txt.bz2 zabbix_agentd.conf | ||||||||
Issue Links: |
|
Description |
I have a template, with 1 app and 1 item: |
Comments |
Comment by Aleksandrs Saveljevs [ 2015 Jan 12 ] |
Indeed, it seems to crash after "net.tcp.service[https]" check is processed if agent is compiled without cURL support. Meanwhile, you might wish to compile the agent with cURL by passing "--with-libcurl" option to ./configure. |
Comment by Aleksandrs Saveljevs [ 2015 Jan 12 ] |
Seems to work well in the latest 2.2. |
Comment by Aleksandrs Saveljevs [ 2015 Jan 12 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9206 . |
Comment by Aleksandrs Saveljevs [ 2015 Jan 12 ] |
The problem was that the error message was not set in the following cases:
If these checks were used as active agent checks, then the agent would try to use the error message and would crash. |
Comment by Aleksandrs Saveljevs [ 2015 Jan 12 ] |
Fixed in pre-2.4.4 r51532 and pre-2.5.0 (trunk) r51533. |