-
Problem report
-
Resolution: Fixed
-
Major
-
5.0.2
-
OmniOS (OpenSolaris derivative) version r151034
Zabbix 4.4 is running fine, upgrading to 5.0.2 and I get this crash.
-
Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
-
0.25
Steps to reproduce:
**A completely fresh installation of Zabbix.
Postgres backend database, imported from the supplied files.
Start the server, crashes within a minute
Result:
4315:20200806:141417.898 Got signal [signal:11(SIGSEGV),reason:1,refaddr:7522d2d6]. Crashing ... 4315:20200806:141417.898 ====== Fatal information: ====== 4315:20200806:141417.898 Program counter: 4dec37 4315:20200806:141417.898 === Registers: === 4315:20200806:141417.898 r15 = bf6462 = 12543074 = 12543074 4315:20200806:141417.898 r14 = bd7e78 = 12418680 = 12418680 4315:20200806:141417.898 r13 = 74636e75 = 1952673397 = 1952673397 4315:20200806:141417.898 r12 = bdb588 = 12432776 = 12432776 4315:20200806:141417.898 r11 = 0 = 0 = 0 4315:20200806:141417.898 r10 = bdb588 = 12432776 = 12432776 4315:20200806:141417.898 r9 = 0 = 0 = 0 4315:20200806:141417.898 r8 = 74636e75 = 1952673397 = 1952673397 4315:20200806:141417.898 rdi = bd7e78 = 12418680 = 12418680 4315:20200806:141417.899 rsi = bf6462 = 12543074 = 12543074 4315:20200806:141417.899 rbp = fffffc7fffdfbb40 = 18446740225416739648 = -3848292811968 4315:20200806:141417.899 rbx = 109ea608 = 278832648 = 278832648 4315:20200806:141417.899 rdx = 9bc0a100 = 2613092608 = 2613092608 4315:20200806:141417.899 rcx = 3a31b74 = 61021044 = 61021044 4315:20200806:141417.899 rax = 74636e75 = 1952673397 = 1952673397 4315:20200806:141417.899 trapno = e = 14 = 14 4315:20200806:141417.899 err = 4 = 4 = 4 4315:20200806:141417.899 rip = 4dec37 = 5106743 = 5106743 4315:20200806:141417.899 cs = 53 = 83 = 83 4315:20200806:141417.899 unknown = 10203 = 66051 = 66051 4315:20200806:141417.899 rsp = fffffc7fffdfbb00 = 18446740225416739584 = -3848292812032 4315:20200806:141417.899 ss = 4b = 75 = 75 4315:20200806:141417.899 fs = 0 = 0 = 0 4315:20200806:141417.899 gs = 0 = 0 = 0 4315:20200806:141417.899 es = 0 = 0 = 0 4315:20200806:141417.899 ds = 0 = 0 = 0 4315:20200806:141417.899 unknown = fffffc7feeab3600 = 18446740225128084992 = -3848581466624 4315:20200806:141417.899 unknown = 0 = 0 = 0 4315:20200806:141417.899 === Backtrace: === 4315:20200806:141417.900 18: /opt/ooce/zabbix/sbin/zabbix_server'zbx_backtrace+0x3e [0x59a60e] 4315:20200806:141417.900 17: /opt/ooce/zabbix/sbin/zabbix_server'zbx_log_fatal_info+0x2c5 [0x59a9d5] 4315:20200806:141417.900 16: /opt/ooce/zabbix/sbin/zabbix_server'fatal_signal_handler+0x1f [0x59ae2f] 4315:20200806:141417.900 15: /lib/amd64/libc.so.1'__sighndlr+0x6 [0xfffffc7fee7f6dd6] 4315:20200806:141417.900 14: /lib/amd64/libc.so.1'call_user_handler+0x1db [0xfffffc7fee7e9bfb] 4315:20200806:141417.900 13: /opt/ooce/zabbix/sbin/zabbix_server'duk_heap_strtable_intern+0x47 [0x4dec37] 4315:20200806:141417.900 12: /opt/ooce/zabbix/sbin/zabbix_server'duk_heap_strtable_intern_checked+0x16 [0x4dfd86] 4315:20200806:141417.900 11: /opt/ooce/zabbix/sbin/zabbix_server'duk_push_lstring+0x35 [0x4dfdd5] 4315:20200806:141417.900 10: /opt/ooce/zabbix/sbin/zabbix_server'duk__load_func+0x28b [0x4f185b] 4315:20200806:141417.900 9: /opt/ooce/zabbix/sbin/zabbix_server'duk_load_function+0x4f [0x4f1b8f] 4315:20200806:141417.900 8: /opt/ooce/zabbix/sbin/zabbix_server'zbx_es_execute+0x197 [0x4ce4c7] 4315:20200806:141417.900 7: /opt/ooce/zabbix/sbin/zabbix_server'zbx_item_preproc+0x1b7 [0x4cc997] 4315:20200806:141417.900 6: /opt/ooce/zabbix/sbin/zabbix_server'preprocessing_worker_thread+0x60d [0x4c8c6d] 4315:20200806:141417.900 5: /opt/ooce/zabbix/sbin/zabbix_server'zbx_thread_start+0x2a [0x5a4e5a] 4315:20200806:141417.900 4: /opt/ooce/zabbix/sbin/zabbix_server'MAIN_ZABBIX_ENTRY+0x704 [0x481354] 4315:20200806:141417.900 3: /opt/ooce/zabbix/sbin/zabbix_server'daemon_start+0x1a7 [0x59a3d7] 4315:20200806:141417.900 2: /opt/ooce/zabbix/sbin/zabbix_server'main+0x3cd [0x481abd] 4315:20200806:141417.900 1: /opt/ooce/zabbix/sbin/zabbix_server'_start_crt+0x83 [0x480763] 4315:20200806:141417.900 0: /opt/ooce/zabbix/sbin/zabbix_server'_start+0x18 [0x4806c8] 4315:20200806:141417.900 === Memory map: === 4315:20200806:141417.900 memory map not available for this platform 4315:20200806:141417.900 ================================ 4315:20200806:141417.900 Please consider attaching a disassembly listing to your bug report. 4315:20200806:141417.900 This listing can be produced with, e.g., objdump -DSswx zabbix_server.
I increased the debug level and the crashing component logs this before:
208:20200806:153133.029 zbx_setproctitle() title:'preprocessing worker #3 starting' 208:20200806:153133.030 In zbx_ipc_socket_open() 208:20200806:153133.131 End of zbx_ipc_socket_open():SUCCEED 208:20200806:153133.131 In zbx_ipc_socket_write() 208:20200806:153133.131 End of zbx_ipc_socket_write():SUCCEED 208:20200806:153133.131 server #33 started [preprocessing worker #3] 208:20200806:153133.131 zbx_setproctitle() title:'preprocessing worker #3 started' ... 208:20200806:153213.139 zbx_ipc_socket_read() code:2 size:97 data:10 72 00 00 00 00 00 00 | 00 01 7d 22 2c 5f e1 f3 | 43 08 01 0a 00 00 00 39 | 38 2e 35 30 37 39 32 37 | 00 00 00 00 00 01 00 00 | 00 15 2d 00 00 00 2f 2f | 43 61 6c 63 75 6c 61 74 | 65 20 75 74 69 6c 69 7a | 61 74 69 6f 6e 0a 72 65 | 74 75 72 6e 20 28 31 30 | 30 20 2d 20 76 61 6c 75 | 65 29 00 00 01 00 00 00 | 00 208:20200806:153213.139 End of zbx_ipc_socket_read():SUCCEED 208:20200806:153213.140 In zbx_es_init_env() 208:20200806:153213.233 End of zbx_es_init_env():SUCCEED 208:20200806:153213.233 In zbx_es_compile() 208:20200806:153213.235 End of zbx_es_compile():SUCCEED 208:20200806:153213.235 In zbx_es_execute() param:98.507927 157:20200806:153213.337 One child process died (PID:208,exitcode/signal:11). Exiting ...
- is duplicated by
-
ZBX-18275 Zabbix 5.0.2 server crashes with program counter in duk_heap_strtable_intern()
- Closed