Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18275

Zabbix 5.0.2 server crashes with program counter in duk_heap_strtable_intern()

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.2 (plan)
    • 5.0.2
    • Documentation (D)
    • None
    • NetBSD 9.0
      SmartOS
    • Sprint 68 (Sep 2020)

      Steps to reproduce:

      1. Run zabbix-server 5.0.2 with default config

      Result:
      **

      After some seconds, server crashes with backtrace:

       

       65720:20200818:183113.942 zbx_setproctitle() title:'poller #5 [got 0 values in 0.000171 sec, idle 1 sec]'
       65732:20200818:183113.942 End of zbx_es_init_env():SUCCEED
       65732:20200818:183113.942 In zbx_es_compile()
       65732:20200818:183113.942 End of zbx_es_compile():SUCCEED
       65732:20200818:183113.942 In zbx_es_execute() param:84.294502
       65732:20200818:183113.942 Got signal [signal:11(SIGSEGV),reason:1,refaddr:74d85386]. Crashing ...
       60850:20200818:181413.355 === Backtrace: ===
       60834:20200818:181413.355 End of DCconfig_get_poller_items():0
       60834:20200818:181413.355 In DCconfig_get_poller_nextcheck() poller_type:0
       60834:20200818:181413.355 End of DCconfig_get_poller_nextcheck():1597774454
       60834:20200818:181413.355 End of get_values():0
       60834:20200818:181413.355 zbx_setproctitle() title:'poller #4 [got 0 values in 0.000245 sec, idle 1 sec]'
       60850:20200818:181413.355 18: /opt/local/sbin/zabbix_server'zbx_backtrace+0x3e [0x593e5e]
       60850:20200818:181413.355 17: /opt/local/sbin/zabbix_server'zbx_log_fatal_info+0x29d [0x59420d]
       60850:20200818:181413.355 16: /opt/local/sbin/zabbix_server'fatal_signal_handler+0x1e [0x5946be]
       60850:20200818:181413.355 15: /lib/amd64/libc.so.1'__sighndlr+0x6 [0xfffffc7fef110676]
       60850:20200818:181413.355 14: /lib/amd64/libc.so.1'call_user_handler+0x1db [0xfffffc7fef102fcb]
       60850:20200818:181413.355 13: /opt/local/sbin/zabbix_server'duk_heap_strtable_intern+0x49 [0x4dba39]
       60850:20200818:181413.355 12: /opt/local/sbin/zabbix_server'duk_heap_strtable_intern_checked+0x15 [0x4dc545]
       60850:20200818:181413.355 11: /opt/local/sbin/zabbix_server'duk_push_lstring+0x2c [0x4dc59c]
       60850:20200818:181413.355 10: /opt/local/sbin/zabbix_server'duk__load_func+0x2ab [0x4ef75b]
       60850:20200818:181413.355 9: /opt/local/sbin/zabbix_server'duk_load_function+0x43 [0x4efa93]
       60850:20200818:181413.355 8: /opt/local/sbin/zabbix_server'zbx_es_execute+0x18f [0x4cb73f]
       60850:20200818:181413.355 7: /opt/local/sbin/zabbix_server'zbx_item_preproc+0xb34 [0x4ca5c4]
       60850:20200818:181413.355 6: /opt/local/sbin/zabbix_server'preprocessing_worker_thread+0x605 [0x4c5e25]
       60850:20200818:181413.355 5: /opt/local/sbin/zabbix_server'zbx_thread_start+0x2a [0x59e53a]
       60850:20200818:181413.355 4: /opt/local/sbin/zabbix_server'MAIN_ZABBIX_ENTRY+0x73c [0x47de0c]
       60850:20200818:181413.355 3: /opt/local/sbin/zabbix_server'daemon_start+0x1b2 [0x593c12]
       60850:20200818:181413.355 2: /opt/local/sbin/zabbix_server'main+0x426 [0x47e5c6]
       60850:20200818:181413.355 1: /opt/local/sbin/zabbix_server'_start_crt+0x83 [0x47d103]
       60850:20200818:181413.355 0: /opt/local/sbin/zabbix_server'_start+0x18 [0x47d068]

       

      Expected:
      Working and stable Zabbix server

       

      FWIW, if an access to NetBSD 9.0 and/or SmartOS is needed, I can provide it.

       

      Thanks.

       

            arimdjonoks Artjoms Rimdjonoks
            jurajlutter Juraj Lutter
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: