[ZBX-4171] Crash zabbix_server (escalator) on the macro {ITEM.LASTVALUE} Created: 2011 Sep 25 Updated: 2017 May 30 Resolved: 2011 Sep 26 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.9.7 (beta) |
Fix Version/s: | 1.9.7 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | escalator | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Debian 6.0.2 |
Attachments: | objdump.server.tar.bz2 zabbix_server.log.20382only |
Description |
If an action has a macro {ITEM.LASTVALUE}in a message body then zabbi_server always crashes in function "add_value_suffix()" That happens when item does not have (by default) configured "Units": 20382:20110924:235413.332 In zbx_format_value() If the item has configured "Units" ("sss" in next example) then server is not crashed: 20864:20110925:000656.682 In zbx_format_value() objdump, debuglog (grep of escalator process only) attached |
Comments |
Comment by Oleksii Zagorskyi [ 2011 Sep 25 ] |
I cannot reproduce this problem on another trunk server:
To be sure i tried to switch zabbix_server under Debian 6.0.2 to use DB under FreeBSD8.1 (mentioned above), but zabbix_server still crashes at the same step. <added> And finally i cannot reproduce this problem under 3rd trunk server under CentOS5.5 () If you need problematic "zabbix_server" binary from the Debian (my workstation) I'll attach it. |
Comment by Aleksandrs Saveljevs [ 2011 Sep 26 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4171. |
Comment by Oleksii Zagorskyi [ 2011 Sep 26 ] |
Dev branch tested and it works! Thanks Aleksandrs. |
Comment by Aleksandrs Saveljevs [ 2011 Sep 26 ] |
Fixed in pre-1.9.7 in r21928. |