[ZBX-8322] zabbix 2.2.0 proxy crash on ODBC check - in poller Created: 2014 Jun 08  Updated: 2017 May 30  Resolved: 2014 Aug 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P)
Affects Version/s: 2.2.2
Fix Version/s: None

Type: Incident report Priority: Critical
Reporter: Harrison Zhu Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: crash, odbc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 6.4 X64


Issue Links:
Duplicate
duplicates ZBX-8629 ODBC Monitor always cause crash of za... Closed

 Description   

8579:20140607:054939.600 Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...
8579:20140607:054939.601 ====== Fatal information: ======
8579:20140607:054939.601 Program counter: 0x45e017
8579:20140607:054939.601 === Registers: ===
8579:20140607:054939.601 r8 = 0 = 0 = 0
8579:20140607:054939.601 r9 = 40 = 64 = 64
8579:20140607:054939.601 r10 = 7fff875d1070 = 140735464411248 = 140735464411248
8579:20140607:054939.601 r11 = 45df70 = 4579184 = 4579184
8579:20140607:054939.601 r12 = 17ec450 = 25085008 = 25085008
8579:20140607:054939.601 r13 = 17ec470 = 25085040 = 25085040
8579:20140607:054939.601 r14 = 0 = 0 = 0
8579:20140607:054939.601 r15 = 1 = 1 = 1
8579:20140607:054939.601 rdi = 2 = 2 = 2
8579:20140607:054939.601 rsi = 0 = 0 = 0
8579:20140607:054939.601 rbp = 7fff875d12e0 = 140735464411872 = 140735464411872
8579:20140607:054939.601 rbx = 17e0010 = 25034768 = 25034768
8579:20140607:054939.601 rdx = 17f0397 = 25101207 = 25101207
8579:20140607:054939.601 rax = 17e0010 = 25034768 = 25034768
8579:20140607:054939.601 rcx = 40 = 64 = 64
8579:20140607:054939.601 rsp = 7fff875d12e0 = 140735464411872 = 140735464411872
8579:20140607:054939.601 rip = 45e017 = 4579351 = 4579351
8579:20140607:054939.601 efl = 10202 = 66050 = 66050
8579:20140607:054939.601 csgsfs = 33 = 51 = 51
8579:20140607:054939.601 err = 6 = 6 = 6
8579:20140607:054939.601 trapno = e = 14 = 14
8579:20140607:054939.601 oldmask = 0 = 0 = 0
8579:20140607:054939.601 cr2 = 0 = 0 = 0
8579:20140607:054939.601 === Backtrace: ===
8579:20140607:054939.602 15: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](print_fatal_info+0x287) [0x459277]
8579:20140607:054939.602 14: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values]() [0x45999f]
8579:20140607:054939.602 13: /lib64/libc.so.6() [0x3316c32920]
8579:20140607:054939.602 12: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](get_string+0xa7) [0x45e017]
8579:20140607:054939.602 11: /opt/17173_install/lib/libmyodbc5w.so(sql_get_data+0x2fb) [0x7f2fe9d41f3b]
8579:20140607:054939.602 10: /opt/17173_install/lib/libmyodbc5w.so(my_SQLExtendedFetch+0x3eb) [0x7f2fe9d42bcb]
8579:20140607:054939.602 9: /usr/lib64/libodbc.so.2(SQLFetch+0x103) [0x3153416713]
8579:20140607:054939.602 8: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](odbc_DBfetch+0x44) [0x47f794]
8579:20140607:054939.602 7: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](get_value_db+0xd2) [0x426422]
8579:20140607:054939.602 6: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values]() [0x420fb8]
8579:20140607:054939.602 5: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](main_poller_loop+0x8a) [0x42112a]
8579:20140607:054939.602 4: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](MAIN_ZABBIX_ENTRY+0x6af) [0x412ecf]
8579:20140607:054939.602 3: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](daemon_start+0x1c5) [0x458665]
8579:20140607:054939.602 2: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values](main+0x2c7) [0x413597]
8579:20140607:054939.602 1: /lib64/libc.so.6(__libc_start_main+0xfd) [0x3316c1ecdd]
8579:20140607:054939.602 0: /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy: poller #18 [got 0 values in 0.000006 sec, getting values]() [0x4121b9]
8579:20140607:054939.602 === Memory map: ===
8579:20140607:054939.603 00400000-004ed000 r-xp 00000000 08:02 2765273 /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy_mysql
8579:20140607:054939.603 006ed000-00741000 rw-p 000ed000 08:02 2765273 /opt/17173_install/zabbix-2.2.0/sbin/zabbix_proxy_mysql
8579:20140607:054939.603 00741000-00747000 rw-p 00000000 00:00 0
8579:20140607:054939.603 016ce000-016ef000 rw-p 00000000 00:00 0
8579:20140607:054939.603 016ef000-01bb5000 rw-p 00000000 00:00 0
8579:20140607:054939.603 3153400000-315345f000 r-xp 00000000 08:02 1462268 /usr/lib64/li



 Comments   
Comment by Oleksii Zagorskyi [ 2014 Jun 09 ]

There is ZBX-7665, which looks different, though (IMO).
Harrison, would be good if you retest the proxy with Pre-2.2.4rc1 (stable) downloaded here http://www.zabbix.com/developers.php

Comment by Aleksandrs Saveljevs [ 2014 Jun 09 ]

Note only that you if wish to test the nightly snapshot, you have to wait until the regression in (1) in ZBX-8287 is fixed. Otherwise, a proxy that sends empty item data is pretty useless.

Comment by Aleksandrs Saveljevs [ 2014 Aug 21 ]

This issue is the same as ZBX-8629. Let's continue the discussion there, because that issue has more information. Closing this one as a duplicate.

Generated at Sat Apr 20 09:40:56 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.